[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Magicmail-0.8.4-2 Compilation Problem
- To: magicmail-users@linuxmagic.com
- Subject: Magicmail-0.8.4-2 Compilation Problem
- From: Peter Cain <p.cain@phasefale.com.au>
- Date: Mon, 20 Feb 2006 12:04:04 +1100
- Delivered-to: mailing list magicmail-users@linuxmagic.com
- Mailing-list: contact magicmail-users-help@linuxmagic.com; run by ezmlm
- User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Hi,
I'm having a problem compiling version 0.8.4-2 on a Ubuntu 5.10 (Debian)
system. I see the following error:
make[1]: Entering directory `/home/pete/magicmail-0.8.4-2/magic-smtpd'
gcc -g -Wall -W -O2 -fPIC -DOPENSOURCE -DRELEASE_VERSION -I../
-DUSE_TLS -I../lmlibs -c -o magic-smtpd.o magic-smtpd.c
magic-smtpd.c:178: error: static declaration of âsmtp_from_addrâ follows
non-static declaration
magic-smtpd.h:42: error: previous declaration of âsmtp_from_addrâ was here
make[1]: *** [magic-smtpd.o] Error 1
make[1]: Leaving directory `/home/pete/magicmail-0.8.4-2/magic-smtpd'
make: *** [all] Error 2
This doesn't seem like a dependency problem to me and aside from hacking
to the source I can't think of a way to fix this.
$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr
--with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared
--with-system-zlib --libexecdir=/usr/lib --enable-nls
--without-included-gettext --enable-threads=posix --program-suffix=-4.0
--enable-__cxa_atexit --enable-libstdcxx-allocator=mt
--enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm
--enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre
--enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Does anyone out there have suggestion on what might be going wrong here?
Thanks
--
Peter Cain
Senior Programmer
Phasefale Pty Ltd