Discussion:
Unable to Install ISIC due to LIBNET problem
Senthil Nathan
2004-05-20 17:42:36 UTC
Permalink
Hi,

I have installed LIBNET and the try to install IP Stack Integrity Checker(ISIC). While trying to make I am facing following problem. Can someone help me on resolving this issues

Thanks
Senthil

[***@dp-200]# make
gcc -o isic isic.c -Wall -W -g -O2 `libnet-config --cflags` -DSTDC_HEADERS=1 -Din_addr_t=u_int32_t `libnet-config --defines` -DVERSION=\"0.05\" `libnet-config --libs`
In file included from /usr/include/libnet.h:80,
from isic.h:8,
from isic.c:1:
/usr/include/netinet/in.h:133: warning: redefinition of `u_int32_t'
/usr/include/sys/types.h:198: warning: `u_int32_t' previously declared here
isic.c: In function `main':
isic.c:87: warning: implicit declaration of function `libnet_name_resolve'
isic.c:161: warning: implicit declaration of function `libnet_open_raw_sock'
isic.c:251: warning: implicit declaration of function `libnet_write_ip'
/tmp/ccxQ1Mzk.o: In function `main':
/root/security/isic-0.05/isic.c:87: undefined reference to `libnet_name_resolve'
/root/security/isic-0.05/isic.c:99: undefined reference to `libnet_name_resolve'
/root/security/isic-0.05/isic.c:161: undefined reference to `libnet_open_raw_sock'
/root/security/isic-0.05/isic.c:251: undefined reference to `libnet_write_ip'
collect2: ld returned 1 exit status
make: *** [isic] Error 1
[***@dp-200]#

------------------------------------------------------

Loading...