Problems compiling modrdb on Debian AMD64 system.

I found an old post from 2007 that seems simular to my problem. (Problems compiling whoisserver Wed, 12 Sep 2007 02:18:11) No replys what i could find tho. Hints to resolve this issue is greatly helpfull. /Christian if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql -DBIG_JOINS=1 -I/usr/include/libxml2 -g -O2 -I/usr/include/openssl -I/usr/local/include/openssl -I/usr/include/c-client/ -I/root/modrdb/src/../src/modules/rpsl -I/root/modrdb/src/.././src/include -I/root/modrdb/src/../src/include -g -O2 -I/usr/include/openssl -I/usr/local/include/openssl -MT inet_ntop.o -MD -MP -MF ".deps/inet_ntop.Tpo" -c -o inet_ntop.o `test -f 'modules/ip/inet_ntop.c' || echo './'`modules/ip/inet_ntop.c; \ then mv -f ".deps/inet_ntop.Tpo" ".deps/inet_ntop.Po"; else rm -f ".deps/inet_ntop.Tpo"; exit 1; fi In file included from modules/ip/inet_ntop.c:39: modules/ip/inet6def.h:42: error: conflicting types for âinet_ntopâ /usr/include/arpa/inet.h:67: error: previous declaration of âinet_ntopâ was here modules/ip/inet_ntop.c:59: error: conflicting types for âinet_ntopâ /usr/include/arpa/inet.h:67: error: previous declaration of âinet_ntopâ was here modules/ip/inet_ntop.c: In function âinet_ntopâ: modules/ip/inet_ntop.c:63: error: argument âsizeâ doesnât match prototype /usr/include/arpa/inet.h:67: error: prototype declaration make[3]: *** [inet_ntop.o] Error 1 make[3]: Leaving directory `/root/modrdb/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/modrdb/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/modrdb' make: *** [all] Error 2

Dear Christian, Please download the latest tarball from the FTP site: ftp://ftp.ripe.net/ripe/dbase/software/whoisserver-latest.tar.gz Regards, Agoston Horvath Database Group RIPE NCC Christian wrote:
I found an old post from 2007 that seems simular to my problem. (Problems compiling whoisserver Wed, 12 Sep 2007 02:18:11) No replys what i could find tho. Hints to resolve this issue is greatly helpfull.
/Christian
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/mysql -DBIG_JOINS=1 -I/usr/include/libxml2 -g -O2 -I/usr/include/openssl -I/usr/local/include/openssl -I/usr/include/c-client/ -I/root/modrdb/src/../src/modules/rpsl -I/root/modrdb/src/.././src/include -I/root/modrdb/src/../src/include -g -O2 -I/usr/include/openssl -I/usr/local/include/openssl -MT inet_ntop.o -MD -MP -MF ".deps/inet_ntop.Tpo" -c -o inet_ntop.o `test -f 'modules/ip/inet_ntop.c' || echo './'`modules/ip/inet_ntop.c; \ then mv -f ".deps/inet_ntop.Tpo" ".deps/inet_ntop.Po"; else rm -f ".deps/inet_ntop.Tpo"; exit 1; fi In file included from modules/ip/inet_ntop.c:39: modules/ip/inet6def.h:42: error: conflicting types for âinet_ntopâ /usr/include/arpa/inet.h:67: error: previous declaration of âinet_ntopâ was here modules/ip/inet_ntop.c:59: error: conflicting types for âinet_ntopâ /usr/include/arpa/inet.h:67: error: previous declaration of âinet_ntopâ was here modules/ip/inet_ntop.c: In function âinet_ntopâ: modules/ip/inet_ntop.c:63: error: argument âsizeâ doesnât match prototype /usr/include/arpa/inet.h:67: error: prototype declaration make[3]: *** [inet_ntop.o] Error 1 make[3]: Leaving directory `/root/modrdb/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/modrdb/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/modrdb' make: *** [all] Error 2
participants (2)
-
Agoston Horvath
-
Christian