LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-14-2007, 11:14 PM   #1
sakthivelbatusai
LQ Newbie
 
Registered: Aug 2006
Posts: 4

Rep: Reputation: 0
Error & warnings in installing Libnet-1.1.x & Libnet-config not found error.


I am doing virtual router project in Red Hat Linux Kernel-2.6
I installed the libnet-1.1.x library from packetfactory.net site and tried to installed using the "./configure, make, make install " sequence and received the following,

[root@localhost ~]# cd Libnet-latest
[root@localhost Libnet-latest]# ./configure
creating cache ./config.cache
beginning autoconfiguration process for libnet-1.1.0...
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for sys/sockio.h... no
checking machine endianess... lil
checking if unaligned accesses fail... no
checking whether gcc needs -traditional... no
checking for strerror... yes
checking link-layer packet interface type... found linux primitives
checking for packet socet (PF_SOCKET)... yes
scanning available packet construction modules: 802.1q 802.2 802.3 arp cdp data dhcp dns ethernet icmp igmp ip ipsec isl ntp ospf rip snmp stp tcp udp vrrp
checking for net/ethernet.h... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating man/Makefile
creating src/Makefile
creating include/Makefile
creating include/libnet/Makefile
creating sample/Makefile
creating version.h
creating include/libnet.h
creating libnet-config
creating include/config.h
Please note this is libnet 1.1.x. Any code written for 1.0.x will NOT work without porting. Read the MIGRATION document for more info.
[root@localhost Libnet-latest]# make
Making all in include
make[1]: Entering directory `/root/Libnet-latest/include'
make all-recursive
make[2]: Entering directory `/root/Libnet-latest/include'
Making all in libnet
make[3]: Entering directory `/root/Libnet-latest/include/libnet'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/Libnet-latest/include/libnet'
make[3]: Entering directory `/root/Libnet-latest/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/Libnet-latest/include'
make[2]: Leaving directory `/root/Libnet-latest/include'
make[1]: Leaving directory `/root/Libnet-latest/include'
Making all in src
make[1]: Entering directory `/root/Libnet-latest/src'
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_asn1.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_802.1q.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_802.2.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_802.3.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_arp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_cdp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_data.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_dhcp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_dns.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_ethernet.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_icmp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_igmp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_ip.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_ipsec.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_isl.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_ntp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_ospf.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_rip.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_snmp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_stp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_tcp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_udp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_build_vrrp.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_advanced.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_checksum.c
libnet_checksum.c: In function ‘libnet_do_checksum’:
libnet_checksum.c:172: warning: dereferencing type-punned pointer will break strict-aliasing rules
libnet_checksum.c:190: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_crc.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_error.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_if_addr.c
libnet_if_addr.c: In function ‘libnet_select_device’:
libnet_if_addr.c:286: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
libnet_if_addr.c:286: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
libnet_if_addr.c:286: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
libnet_if_addr.c:286: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
libnet_if_addr.c:286: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
libnet_if_addr.c:286: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
libnet_if_addr.c:286: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
libnet_if_addr.c:286: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
libnet_if_addr.c:294: warning: pointer targets in assignment differ in signedness
libnet_if_addr.c:311: warning: pointer targets in assignment differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_init.c
libnet_init.c: In function ‘libnet_init’:
libnet_init.c:78: warning: pointer targets in assignment differ in signedness
libnet_init.c:93: warning: pointer targets in assignment differ in signedness
libnet_init.c:109: warning: pointer targets in assignment differ in signedness
libnet_init.c: In function ‘libnet_getdevice’:
libnet_init.c:210: warning: pointer targets in return differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_internal.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_pblock.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_port_list.c
libnet_port_list.c: In function ‘libnet_plist_chain_dump_string’:
libnet_port_list.c:257: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
libnet_port_list.c:261: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
libnet_port_list.c:266: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
libnet_port_list.c:269: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
libnet_port_list.c:269: warning: pointer targets in passing argument 1 of ‘__strdup’ differ in signedness
libnet_port_list.c:269: warning: pointer targets in return differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_prand.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_raw.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_resolve.c
libnet_resolve.c: In function ‘libnet_addr2name4’:
libnet_resolve.c:68: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
libnet_resolve.c:72: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness
libnet_resolve.c: In function ‘libnet_addr2name4_r’:
libnet_resolve.c:96: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
libnet_resolve.c:100: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness
libnet_resolve.c: In function ‘libnet_name2addr4’:
libnet_resolve.c:115: warning: pointer targets in passing argument 1 of ‘inet_addr’ differ in signedness
libnet_resolve.c:117: warning: pointer targets in passing argument 1 of ‘gethostbyname’ differ in signedness
libnet_resolve.c: In function ‘libnet_addr2name6_r’:
libnet_resolve.c:201: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
libnet_resolve.c:205: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness
libnet_resolve.c: In function ‘libnet_name2addr6’:
libnet_resolve.c:221: warning: pointer targets in passing argument 1 of ‘gethostbyname2’ differ in signedness
libnet_resolve.c:243: warning: pointer targets in passing argument 1 of ‘sscanf’ differ in signedness
libnet_resolve.c: In function ‘libnet_get_ipaddr4’:
libnet_resolve.c:305: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_version.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_write.c
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c libnet_link_linux.c
libnet_link_linux.c: In function ‘libnet_open_link’:
libnet_link_linux.c:87: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness
libnet_link_linux.c: In function ‘libnet_write_link’:
libnet_link_linux.c:181: warning: pointer targets in passing argument 2 of ‘get_iface_index’ differ in signedness
libnet_link_linux.c: In function ‘libnet_get_hwaddr’:
libnet_link_linux.c:242: warning: pointer targets in passing argument 2 of ‘__builtin_strncpy’ differ in signedness
rm -f libnet.a
ar cru libnet.a libnet_asn1.o libnet_build_802.1q.o libnet_build_802.2.o libnet_build_802.3.o libnet_build_arp.o libnet_build_cdp.o libnet_build_data.o libnet_build_dhcp.o libnet_build_dns.o libnet_build_ethernet.o libnet_build_icmp.o libnet_build_igmp.o libnet_build_ip.o libnet_build_ipsec.o libnet_build_isl.o libnet_build_ntp.o libnet_build_ospf.o libnet_build_rip.o libnet_build_snmp.o libnet_build_stp.o libnet_build_tcp.o libnet_build_udp.o libnet_build_vrrp.o libnet_advanced.o libnet_checksum.o libnet_crc.o libnet_error.o libnet_if_addr.o libnet_init.o libnet_internal.o libnet_pblock.o libnet_port_list.o libnet_prand.o libnet_raw.o libnet_resolve.o libnet_version.o libnet_write.o libnet_link_linux.o
ranlib libnet.a
make[1]: Leaving directory `/root/Libnet-latest/src'
Making all in man
make[1]: Entering directory `/root/Libnet-latest/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Libnet-latest/man'
Making all in sample
make[1]: Entering directory `/root/Libnet-latest/sample'
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c arp.c
gcc -g -O2 -Wall -o arp arp.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c cdp.c
cdp.c: In function ‘main’:
cdp.c:66: warning: pointer targets in assignment differ in signedness
cdp.c:67: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -g -O2 -Wall -o cdp cdp.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c dhcp_discover.c
gcc -g -O2 -Wall -o dhcp_discover dhcp_discover.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c get_addr.c
gcc -g -O2 -Wall -o get_addr get_addr.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c icmp_timestamp.c
icmp_timestamp.c: In function ‘main’:
icmp_timestamp.c:70: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
icmp_timestamp.c:77: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
gcc -g -O2 -Wall -o icmp_timestamp icmp_timestamp.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c icmp_unreach.c
icmp_unreach.c: In function ‘main’:
icmp_unreach.c:72: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
icmp_unreach.c:79: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
gcc -g -O2 -Wall -o icmp_unreach icmp_unreach.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c ieee.c
gcc -g -O2 -Wall -o ieee ieee.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c isl.c
gcc -g -O2 -Wall -o isl isl.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c ntp.c
ntp.c: In function ‘main’:
ntp.c:75: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
gcc -g -O2 -Wall -o ntp ntp.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c ospf_hello.c
ospf_hello.c: In function ‘main’:
ospf_hello.c:60: warning: pointer targets in assignment differ in signedness
ospf_hello.c:61: warning: pointer targets in assignment differ in signedness
ospf_hello.c:62: warning: pointer targets in assignment differ in signedness
gcc -g -O2 -Wall -o ospf_hello ospf_hello.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c ospf_lsa.c
ospf_lsa.c: In function ‘main’:
ospf_lsa.c:77: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
ospf_lsa.c:78: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
gcc -g -O2 -Wall -o ospf_lsa ospf_lsa.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c ping_of_death.c
ping_of_death.c: In function ‘main’:
ping_of_death.c:72: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
gcc -g -O2 -Wall -o ping_of_death ping_of_death.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c stp.c
gcc -g -O2 -Wall -o stp stp.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c synflood.c
synflood.c: In function ‘main’:
synflood.c:88: warning: pointer targets in assignment differ in signedness
synflood.c:94: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
synflood.c:95: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
gcc -g -O2 -Wall -o synflood synflood.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c tcp1.c
tcp1.c: In function ‘main’:
tcp1.c:84: warning: pointer targets in assignment differ in signedness
tcp1.c:89: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
tcp1.c:90: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
tcp1.c:97: warning: pointer targets in assignment differ in signedness
tcp1.c:102: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
tcp1.c:103: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
tcp1.c:128: warning: pointer targets in passing argument 1 of ‘libnet_build_tcp_options’ differ in signedness
tcp1.c:148: warning: pointer targets in passing argument 10 of ‘libnet_build_tcp’ differ in signedness
gcc -g -O2 -Wall -o tcp1 tcp1.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c tcp2.c
tcp2.c: In function ‘main’:
tcp2.c:84: warning: pointer targets in assignment differ in signedness
tcp2.c:89: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
tcp2.c:90: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
tcp2.c:102: warning: pointer targets in assignment differ in signedness
tcp2.c:107: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
tcp2.c:108: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
tcp2.c:135: warning: pointer targets in passing argument 10 of ‘libnet_build_tcp’ differ in signedness
gcc -g -O2 -Wall -o tcp2 tcp2.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c udp1.c
udp1.c: In function ‘main’:
udp1.c:89: warning: pointer targets in assignment differ in signedness
udp1.c:94: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
udp1.c:95: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
udp1.c:102: warning: pointer targets in assignment differ in signedness
udp1.c:107: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
udp1.c:108: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
udp1.c:139: warning: pointer targets in passing argument 5 of ‘libnet_build_udp’ differ in signedness
gcc -g -O2 -Wall -o udp1 udp1.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c udp2.c
udp2.c: In function ‘main’:
udp2.c:79: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
udp2.c:86: warning: pointer targets in passing argument 2 of ‘libnet_name2addr4’ differ in signedness
udp2.c:140: warning: pointer targets in passing argument 5 of ‘libnet_build_udp’ differ in signedness
udp2.c:206: warning: ‘e.tv_sec’ is used uninitialized in this function
udp2.c:206: warning: ‘e.tv_usec’ is used uninitialized in this function
gcc -g -O2 -Wall -o udp2 udp2.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c synflood6.c
synflood6.c: In function ‘main’:
synflood6.c:85: warning: pointer targets in assignment differ in signedness
synflood6.c:91: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
synflood6.c:92: warning: pointer targets in passing argument 2 of ‘libnet_name2addr6’ differ in signedness
synflood6.c:114: warning: pointer targets in passing argument 2 of ‘libnet_name2addr6’ differ in signedness
synflood6.c:129: warning: pointer targets in passing argument 3 of ‘libnet_addr2name6_r’ differ in signedness
synflood6.c:130: warning: pointer targets in passing argument 3 of ‘libnet_addr2name6_r’ differ in signedness
gcc -g -O2 -Wall -o synflood6 synflood6.o ../src/libnet.a
gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -Wall -c icmp6_echoreq.c
icmp6_echoreq.c: In function ‘main’:
icmp6_echoreq.c:81: warning: pointer targets in assignment differ in signedness
icmp6_echoreq.c:87: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness
icmp6_echoreq.c:88: warning: pointer targets in passing argument 2 of ‘libnet_name2addr6’ differ in signedness
icmp6_echoreq.c:119: warning: pointer targets in passing argument 3 of ‘libnet_addr2name6_r’ differ in signedness
icmp6_echoreq.c:120: warning: pointer targets in passing argument 3 of ‘libnet_addr2name6_r’ differ in signedness
icmp6_echoreq.c:129: warning: pointer targets in passing argument 6 of ‘libnet_build_icmpv4_echo’ differ in signedness
gcc -g -O2 -Wall -o icmp6_echoreq icmp6_echoreq.o ../src/libnet.a
make[1]: Leaving directory `/root/Libnet-latest/sample'
make[1]: Entering directory `/root/Libnet-latest'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/root/Libnet-latest'
[root@localhost Libnet-latest]# make install
Making install in include
make[1]: Entering directory `/root/Libnet-latest/include'
Making install in libnet
make[2]: Entering directory `/root/Libnet-latest/include/libnet'
make[3]: Entering directory `/root/Libnet-latest/include/libnet'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../../mkinstalldirs /usr/include/libnet
mkdir /usr/include/libnet
/usr/bin/install -c -m 644 libnet-asn1.h /usr/include/libnet/libnet-asn1.h
/usr/bin/install -c -m 644 libnet-functions.h /usr/include/libnet/libnet-functions.h
/usr/bin/install -c -m 644 libnet-headers.h /usr/include/libnet/libnet-headers.h
/usr/bin/install -c -m 644 libnet-macros.h /usr/include/libnet/libnet-macros.h
/usr/bin/install -c -m 644 libnet-structures.h /usr/include/libnet/libnet-structures.h
make[3]: Leaving directory `/root/Libnet-latest/include/libnet'
make[2]: Leaving directory `/root/Libnet-latest/include/libnet'
make[2]: Entering directory `/root/Libnet-latest/include'
make[3]: Entering directory `/root/Libnet-latest/include'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/include
/usr/bin/install -c -m 644 libnet.h /usr/include/libnet.h
make[3]: Leaving directory `/root/Libnet-latest/include'
make[2]: Leaving directory `/root/Libnet-latest/include'
make[1]: Leaving directory `/root/Libnet-latest/include'
Making install in src
make[1]: Entering directory `/root/Libnet-latest/src'
make[2]: Entering directory `/root/Libnet-latest/src'
/bin/sh ../mkinstalldirs /usr/lib
/usr/bin/install -c -m 644 libnet.a /usr/lib/libnet.a
ranlib /usr/lib/libnet.a
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Libnet-latest/src'
make[1]: Leaving directory `/root/Libnet-latest/src'
Making install in man
make[1]: Entering directory `/root/Libnet-latest/man'
make[2]: Entering directory `/root/Libnet-latest/man'
make[2]: Nothing to be done for `install-exec-am'.
make install-man3
make[3]: Entering directory `/root/Libnet-latest/man'
/bin/sh ../mkinstalldirs /usr/man/man3
mkdir /usr/man
mkdir /usr/man/man3
/usr/bin/install -c -m 644 ./libnet.3 /usr/man/man3/libnet.3
make[3]: Leaving directory `/root/Libnet-latest/man'
make[2]: Leaving directory `/root/Libnet-latest/man'
make[1]: Leaving directory `/root/Libnet-latest/man'
Making install in sample
make[1]: Entering directory `/root/Libnet-latest/sample'
make[2]: Entering directory `/root/Libnet-latest/sample'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Libnet-latest/sample'
make[1]: Leaving directory `/root/Libnet-latest/sample'
make[1]: Entering directory `/root/Libnet-latest'
make[2]: Entering directory `/root/Libnet-latest'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/Libnet-latest'
make[1]: Leaving directory `/root/Libnet-latest'
[root@localhost Libnet-latest]#

---------------------------------
Ther seems to be problem with the installation and compiling the sample programs by make, make install.

After this installation , I used ** gcc -Wall `libnet-config --defines` libnet-example-x.c -o libnet-example-x `libnet-config --libs` ** for compiling the sample packet injection programs from packetfactory.net and I got
Error: libnet-config not found - two times.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Libnet Baix Linux - Software 2 09-29-2009 08:22 AM
libnet-ssleay-perl not installing? plainkeyman Ubuntu 1 09-13-2006 12:55 PM
Arping and Libnet returning error. Install problem? gregw040 Linux - Software 3 07-06-2006 09:14 AM
Trying to install ettercap: error with libnet:wrong version?? Baix Linux - Newbie 1 02-22-2005 04:34 PM
Libnet gr33ndata Programming 2 10-14-2003 02:24 PM


All times are GMT -5. The time now is 11:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration