manu@... kirjutas: >> Emmanuel suggested (haven't tested yet): >> > Add #include<arpa_last/nameser.h> in dnsrbl.c > So how does it works? > Turned out, that I had /usr/include/arpa and /usr/include/arpa_last, I remember, that some compilations needed older stuff (arpa_last is actually newer) so now I activated the newer again, and so this #include <arpa_last/nameser.h> was useless, however with new test options: ./configure --with-user=postfix --without-db --without-drac-db --with-libbind=/usr/lib --with-conffile=/etc/greylist/greylist.conf --with-dumpfile=/var/spool/greylist/greylist.db --bindir=/usr/local/sbin --disable-dnsrbl --disable-drac --disable-mx --disable-spamassassin --enable-postfix Give new errors: gcc -g -O2 -Wall -Ino/include -DHAVE_DATA_CALLBACK -D_XOPEN_SOURCE=500 -DUSE_DNSRBL -DUSE_MX -DUSE_POSTFIX -DCONFFILE=\"/etc/greylist/greylist.conf\" -DDUMPFILE=\"/var/spool/greylist/greylist.db\" -DDRACDB=\"no\" -D_BSD_SOURCE -I. -I. -c -o ratelimit.o ratelimit.c gcc -o milter-greylist milter-greylist.o pending.o sync.o dnsrbl.o list.o macro.o conf_yacc.o dump_yacc.o conf.o store.o dump.o spf.o acl.o urlcheck.o stat.o clock.o geoip.o fd_pool.o prop.o ldapcheck.o dkimcheck.o p0f.o spamd.o mx.o ratelimit.o -Lno/lib -Wl,--rpath=no/lib -lpthread -lresolv -lnsl -lmilter dnsrbl.o: In function `dnsrbl_check_source': /home/soft/milter-greylist-4.3.9/dnsrbl.c:205: undefined reference to `__ns_initparse' /home/soft/milter-greylist-4.3.9/dnsrbl.c:211: undefined reference to `__ns_parserr' mx.o: In function `mx_check': /home/soft/milter-greylist-4.3.9/mx.c:167: undefined reference to `__ns_initparse' /home/soft/milter-greylist-4.3.9/mx.c:173: undefined reference to `__ns_parserr' /home/soft/milter-greylist-4.3.9/mx.c:182: undefined reference to `__ns_name_uncompress' /home/soft/milter-greylist-4.3.9/mx.c:210: undefined reference to `__ns_initparse' /home/soft/milter-greylist-4.3.9/mx.c:216: undefined reference to `__ns_parserr' collect2: ld returned 1 exit status make: *** [milter-greylist] Error 1 -- Mart
Message
Re: [milter-greylist] 4.3.9 build problems.
2011-08-28 by Mart Pirita
Attachments
- No local attachments were found for this message.