[dns-operations] Compiling ncap on Debian/Linux (Was: "NS .", the attack of the month?

Stephane Bortzmeyer bortzmeyer at nic.fr
Mon Jan 26 11:39:12 UTC 2009


On Mon, Jan 26, 2009 at 12:17:48PM +0100,
 Wolfgang Nagele <wnagele at ripe.net> wrote 
 a message of 53 lines which said:

> this is the patch i used to make it work:

I applied it to configure.ac instead, rebuilt everything and I get a
different error:

gcc -Wall -Werror -Wunused -Wshadow -Wcast-qual -Wpointer-arith -Wwrite-strings -Wnested-externs -Wmissing-noreturn -Wmissing-prototypes -Wbad-function-cast -Wbad-function-cast -Wformat-nonliteral -Wextra -Wswitch-enum -g -O2 -o .libs/ncaptool ncaptool.o ncaptool_mod.o dump_dns.o  ./.libs/libncap.so -lpcap -ldl -lrt 
./.libs/libncap.so: undefined reference to `__ns_initparse'
./.libs/libncap.so: undefined reference to `__ns_parserr'
collect2: ld returned 1 exit status
make[1]: *** [ncaptool] Error 1
make[1]: Leaving directory `/home/stephane/tmp/ncap-1.5.0'
make: *** [all] Error 2

> Btw. it is a specific problem on x86_64 environments.

Ah, OK, I tested only on 64bits machines (Debian and Gentoo, same
problem).



More information about the dns-operations mailing list