On Mon, 21 Jan 2008, Harald Schneider wrote: > Hi, > > I tried to build XMail on this machine: > > Linux version 2.4.21-27.0.2.ELsmp ([EMAIL PROTECTED]) > (gcc version 3.2.3 20030502 (Red Hat Lin > ux 3.2.3-47)) #1 SMP Wed Jan 12 23:35:44 EST 2005 > > ... but the build process stops with > > make -f Makefile.lnx > g++ -o bin/XMail MainLinux.o SysDepLinux.o SysDepUnix.o SysDepCommon.o > BuffSock.o CTRLSvr.o DNS.o DNSCache.o Errors.o ExtAliases.o FINGSvr.o > MailConfig.o MailSvr.o Maildir.o MailDomains.o MD5.o MiscUtils.o > LMAILSvr.o AliasDomain.o POP3GwLink.o POP3Svr.o POP3Utils.o PSYNCSvr.o > ResLocks.o SList.o SMAILSvr.o TabIndex.o SMAILUtils.o SMTPSvr.o > SMTPUtils.o ShBlocks.o StrUtils.o MessQueue.o QueueUtils.o SvrUtils.o > UsrMailList.o UsrAuth.o UsrUtils.o Base64Enc.o Filter.o SSLBind.o > SSLConfig.o Hash.o Array.o -lssl -lcrypto -ldl -lpthread > SysDepUnix.o(.text+0xa88): In function `SysSendFile(int, char const*, > long long, long long, int)': > : multiple definition of `SysSendFile(int, char const*, long long, long > long, int)' > SysDepLinux.o(.text+0x10): first defined here > /usr/bin/ld: Warning: size of symbol `SysSendFile(int, char const*, long > long, long long, int)' changed from 548 in SysDepLinux.o to 9 in > SysDepUnix.o > collect2: ld returned 1 exit status > make: *** [bin/XMail] Error 1 > > Any hints ?
Someone fiddled with the source/makefile. In the Linux makefile we define SYS_HAS_SENDFILE, and when that's defined, SysSendFile() in SysDepunix.cpp does not get compiled. - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
