[Pdns-users] Compiling powermail error and .rpm error
Jeroen Wunnink
jeroen at easyhosting.nl
Wed May 21 14:42:52 UTC 2008
Another issue I'm running into (we're replacing an old powerdns
server) is when compiling powermail-1.7:
c++ -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/include/mysql
-DSYSCONFDIR=\"/usr/local/etc\" -DBINDIR=\"/usr/local/bin\"
-DLOCALSTATEDIR=\"/usr/local/var\" -D_GNU_SOURCE -Wall -pthread -O2
-c -o smtpsession.o `test -f smtpsession.cc || echo './'`smtpsession.cc
smtpsession.cc: In member function `bool
SmtpSession::eatDataLine(const std::string&, std::string&)':
smtpsession.cc:202: warning: comparison is always true due to limited
range of data type
smtpsession.cc:206: warning: comparison is always true due to limited
range of data type
smtpsession.cc: In member function `int
SmtpSession::determineKbUsage(const std::string&, size_t*, std::string&)':
smtpsession.cc:397: error: no matching function for call to
`max(unsigned int, long unsigned int)'
smtpsession.cc: In member function `bool SmtpSession::eatTo(const
std::string&, std::string&)':
smtpsession.cc:426: warning: comparison is always true due to limited
range of data type
smtpsession.cc: In member function `void SmtpSession::strip(std::string&)':
smtpsession.cc:483: warning: comparison is always true due to limited
range of data type
make[2]: *** [smtpsession.o] Error 1
make[2]: Leaving directory `/root/powermail-1.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/powermail-1.7'
make: *** [all] Error 2
The .rpm won't work either, it'll bark an error when trying to use
the userbase=mysqlsimplepdns
[root at www powermail]# /etc/init.d/powersmtp start
powersmtp: started
powersmtp: dynamic-link.h:62: elf_get_dynamic_info: Assertion `! "bad
dynamic tag"' failed.
/etc/init.d/powersmtp: line 11: 6087
Aborted $sbindir/powersmtp $1
Any ideas ?
Met vriendelijke groet,
Jeroen Wunnink,
EasyHosting B.V. Systeembeheerder
systeembeheer at easyhosting.nl
telefoon:+31 (035) 6285455 Postbus 48
fax: +31 (035) 6838242 3755 ZG Eemnes
http://www.easyhosting.nl
http://www.easycolocate.nl
More information about the Pdns-users
mailing list