Nmap Development mailing list archives

error nmap compile


From: ٍEX EX <email.fivemin () gmail com>
Date: Thu, 17 Oct 2013 17:06:34 +0330

hi, i give error when compile nmap version 6.40 on kubuntu 12.04

ncat 5.21 is installed on my system but not suport lua-exec
i want copilme nmap 6.40 but the ncat suport lua

i give this error:

gcc -o test/addrset -g -O2 -Wall  test/addrset.o ncat_core.o
sys_wrap.o util.o ncat_lua.o -ldl -ldl  ../nsock/src/libnsock.a
../nbase/libnbase.a  -lpcap -llua -lm
/usr/local/lib/liblua.a(loadlib.o): In function `ll_loadfunc':
loadlib.c:(.text+0x929): undefined reference to `dlsym'
loadlib.c:(.text+0x991): undefined reference to `dlopen'
loadlib.c:(.text+0xa29): undefined reference to `dlerror'
loadlib.c:(.text+0xa49): undefined reference to `dlerror'
/usr/local/lib/liblua.a(loadlib.o): In function `gctm':
loadlib.c:(.text+0xd28): undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [test/addrset] Error 1
make[1]: Leaving directory `/home/ali/Desktop/nmap-6.40/ncat'
make: *** [ncat_build] Error 2
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: