[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [magicmail-users] Magicmail-0.8.4-2 Compilation Problem



> 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?

Hello,

    I can't say for sure, but the problem may be with gcc4.  I have not
yet tried building it with gcc4.  I will see if I can find time to test
it out here sometime soon.  If I get the same or a similar error, I will
fix the issue and submit a patch to the list.  If I get it to compile
without modification, I will see what else I can do to help you find the
problem.

    Thanks,
      Josh

-- 
Josh Wilsdon <josh@wizard.ca> Programmer Analyst
Wizard IT Services - http://www.wizard.ca
Linux Support Specialist - http://linuxmagic.com
Unix Administration, Website Hosting, Network Services, Programming
(604) 589-0037 Beautiful British Columbia, Canada
LinuxMagic is a TradeMark of Wizard Tower TechnoServices Ltd.
--------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to which
they are addressed.  If you have received this email in error please
notify the system manager.  Please note that any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of the company.