Liamngls , gracias pero ya lo había descargado de hay y sucede lo siguiente :
A la hora de compilar , arroja esto :
./configure
creating cache ./config.cache
Beginning autoconfiguration process for libnet-1.0.2a...
checking host system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized
checking target system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized
checking build system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized
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 working const... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for ar... ar
checking for ln... ln
checking for strerror... yes
checking for pcap_open_live in -lpcap... yes
checking low-level packet interface type... found SOCK_PACKET
configure: warning: apparently your OS is not officially supported yet
configure: warning: this may not work
you'll have to edit the makefile by hand
please send diffs to [email protected]
checking for libnet_build_ip in -lnet... no
checking machine endianess... lil
checking if unaligned accesses fail... no
checking for sys/sockio.h... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating test/Makefile
creating test/TCP/Makefile
creating test/Ethernet/Makefile
creating test/UDP/Makefile
creating test/ICMP/Makefile
creating test/Random/Makefile
creating test/OSPF/Makefile
creating util/Makefile
creating util/Get-mac/Makefile
creating example/Makefile
creating libnet-config
creating include/config.h
####################
make
sed -e 's/.*/#define VERSION "&"/' ./VERSION > version.h
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_resolve.c -o src/libnet_resolve.o
In file included from src/libnet_resolve.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
src/libnet_resolve.c: In function ‘libnet_host_lookup’:
src/libnet_resolve.c:67: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
/usr/include/stdio.h:341: note: expected ‘char * __restrict__’ but argument is of type ‘u_char *’
src/libnet_resolve.c:71: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness
src/libnet_resolve.c:71: note: expected ‘char *’ but argument is of type ‘u_char *’
src/libnet_resolve.c: In function ‘libnet_host_lookup_r’:
src/libnet_resolve.c:95: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
/usr/include/stdio.h:341: note: expected ‘char * __restrict__’ but argument is of type ‘u_char *’
src/libnet_resolve.c:100: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness
src/libnet_resolve.c:100: note: expected ‘char *’ but argument is of type ‘u_char *’
src/libnet_resolve.c: In function ‘libnet_name_resolve’:
src/libnet_resolve.c:116: warning: pointer targets in passing argument 1 of ‘inet_addr’ differ in signedness
/usr/include/arpa/inet.h:35: note: expected ‘const char *’ but argument is of type ‘u_char *’
src/libnet_resolve.c:118: warning: pointer targets in passing argument 1 of ‘gethostbyname’ differ in signedness
/usr/include/netdb.h:143: note: expected ‘const char *’ but argument is of type ‘u_char *’
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_socket.c -o src/libnet_socket.o
In file included from src/libnet_socket.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_checksum.c -o src/libnet_checksum.o
In file included from src/libnet_checksum.c:37:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_prand.c -o src/libnet_prand.o
In file included from src/libnet_prand.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_version.c -o src/libnet_version.o
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_write_ip.c -o src/libnet_write_ip.o
In file included from src/libnet_write_ip.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_insert_ipo.c -o src/libnet_insert_ipo.o
In file included from src/libnet_insert_ipo.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_insert_tcpo.c -o src/libnet_insert_tcpo.o
In file included from src/libnet_insert_tcpo.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_error.c -o src/libnet_error.o
In file included from src/libnet_error.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_link_sockpacket.c -o src/libnet_link_sockpacket.o
In file included from src/libnet_link_sockpacket.c:52:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_packet_mem.c -o src/libnet_packet_mem.o
In file included from src/libnet_packet_mem.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_ip.c -o src/libnet_build_ip.o
In file included from src/libnet_build_ip.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_tcp.c -o src/libnet_build_tcp.o
In file included from src/libnet_build_tcp.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_udp.c -o src/libnet_build_udp.o
In file included from src/libnet_build_udp.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_arp.c -o src/libnet_build_arp.o
In file included from src/libnet_build_arp.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_ethernet.c -o src/libnet_build_ethernet.o
In file included from src/libnet_build_ethernet.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_icmp.c -o src/libnet_build_icmp.o
In file included from src/libnet_build_icmp.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_igmp.c -o src/libnet_build_igmp.o
In file included from src/libnet_build_igmp.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_dns.c -o src/libnet_build_dns.o
In file included from src/libnet_build_dns.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_snmp.c -o src/libnet_build_snmp.o
In file included from src/libnet_build_snmp.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_rip.c -o src/libnet_build_rip.o
In file included from src/libnet_build_rip.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_ospf.c -o src/libnet_build_ospf.o
In file included from src/libnet_build_ospf.c:39:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_build_vrrp.c -o src/libnet_build_vrrp.o
In file included from src/libnet_build_vrrp.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_asn1.c -o src/libnet_asn1.o
In file included from src/libnet_asn1.c:59:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_hex_dump.c -o src/libnet_hex_dump.o
In file included from src/libnet_hex_dump.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_if_addr.c -o src/libnet_if_addr.o
In file included from src/libnet_if_addr.c:37:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
gcc -O2 -funroll-loops -fomit-frame-pointer -Wall -DHAVE_CONFIG_H -c src/libnet_port_list.c -o src/libnet_port_list.o
In file included from src/libnet_port_list.c:36:
src/../include/libnet.h:87:8: warning: missing terminating " character
src/../include/libnet.h:89:50: warning: missing terminating " character
src/libnet_port_list.c: In function ‘libnet_plist_chain_dump_string’:
src/libnet_port_list.c:259: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
/usr/include/stdio.h:341: note: expected ‘char * __restrict__’ but argument is of type ‘u_char *’
src/libnet_port_list.c:263: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
/usr/include/stdio.h:341: note: expected ‘char * __restrict__’ but argument is of type ‘u_char *’
src/libnet_port_list.c:268: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
/usr/include/stdio.h:341: note: expected ‘char * __restrict__’ but argument is of type ‘u_char *’
src/libnet_port_list.c:271: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
/usr/include/string.h:397: note: expected ‘const char *’ but argument is of type ‘u_char *’
src/libnet_port_list.c:271: warning: pointer targets in passing argument 1 of ‘__strdup’ differ in signedness
/usr/include/bits/string2.h:1303: note: expected ‘const char *’ but argument is of type ‘u_char *’
src/libnet_port_list.c:271: warning: pointer targets in return differ in signedness
ar -cr lib/libnet.a src/libnet_resolve.o src/libnet_socket.o src/libnet_checksum.o src/libnet_prand.o src/libnet_version.o src/libnet_write_ip.o src/libnet_insert_ipo.o src/libnet_insert_tcpo.o src/libnet_error.o src/libnet_link_sockpacket.o src/libnet_packet_mem.o src/libnet_build_ip.o src/libnet_build_tcp.o src/libnet_build_udp.o src/libnet_build_arp.o src/libnet_build_ethernet.o src/libnet_build_icmp.o src/libnet_build_igmp.o src/libnet_build_dns.o src/libnet_build_snmp.o src/libnet_build_rip.o src/libnet_build_ospf.o src/libnet_build_vrrp.o src/libnet_asn1.o src/libnet_hex_dump.o src/libnet_if_addr.o src/libnet_port_list.o
ranlib lib/libnet.a
###############################################################################################################
Y make install arroja esto :
ar -cr lib/libnet.a src/libnet_resolve.o src/libnet_socket.o src/libnet_checksum.o src/libnet_prand.o src/libnet_version.o src/libnet_write_ip.o src/libnet_insert_ipo.o src/libnet_insert_tcpo.o src/libnet_error.o src/libnet_link_sockpacket.o src/libnet_packet_mem.o src/libnet_build_ip.o src/libnet_build_tcp.o src/libnet_build_udp.o src/libnet_build_arp.o src/libnet_build_ethernet.o src/libnet_build_icmp.o src/libnet_build_igmp.o src/libnet_build_dns.o src/libnet_build_snmp.o src/libnet_build_rip.o src/libnet_build_ospf.o src/libnet_build_vrrp.o src/libnet_asn1.o src/libnet_hex_dump.o src/libnet_if_addr.o src/libnet_port_list.o
ranlib lib/libnet.a
./ensure-dir.sh /usr 755
./ensure-dir.sh /usr/lib/ 755
./ensure-dir.sh /usr/include/libnet 755
./ensure-dir.sh /usr/include/ 755
./ensure-dir.sh 755
chmod: missing operand after «755»
Pruebe `chmod --help' para más información.
./ensure-dir.sh /usr/bin/ 755
./install-sh lib/libnet.a /usr/lib/
rm -f /usr/lib/libpwrite.a
cd /usr/lib/; ln -f -s libnet.a libpwrite.a
./install-sh include/libnet.h /usr/include/
./install-sh include/libnet/libnet-headers.h /usr/include/libnet
./install-sh include/libnet/libnet-functions.h /usr/include/libnet
./install-sh include/libnet/libnet-structures.h /usr/include/libnet
./install-sh include/libnet/libnet-macros.h /usr/include/libnet
./install-sh include/libnet/libnet-asn1.h /usr/include/libnet
./install-sh include/libnet/libnet-ospf.h /usr/include/libnet
./install-sh doc/libnet.3
install: no destination specified
make: *** [install] Error 1
# make install
ar -cr lib/libnet.a src/libnet_resolve.o src/libnet_socket.o src/libnet_checksum.o src/libnet_prand.o src/libnet_version.o src/libnet_write_ip.o src/libnet_insert_ipo.o src/libnet_insert_tcpo.o src/libnet_error.o src/libnet_link_sockpacket.o src/libnet_packet_mem.o src/libnet_build_ip.o src/libnet_build_tcp.o src/libnet_build_udp.o src/libnet_build_arp.o src/libnet_build_ethernet.o src/libnet_build_icmp.o src/libnet_build_igmp.o src/libnet_build_dns.o src/libnet_build_snmp.o src/libnet_build_rip.o src/libnet_build_ospf.o src/libnet_build_vrrp.o src/libnet_asn1.o src/libnet_hex_dump.o src/libnet_if_addr.o src/libnet_port_list.o
ranlib lib/libnet.a
./ensure-dir.sh /usr 755
./ensure-dir.sh /usr/lib/ 755
./ensure-dir.sh /usr/include/libnet 755
./ensure-dir.sh /usr/include/ 755
./ensure-dir.sh 755
./ensure-dir.sh /usr/bin/ 755
./install-sh lib/libnet.a /usr/lib/
rm -f /usr/lib/libpwrite.a
cd /usr/lib/; ln -f -s libnet.a libpwrite.a
./install-sh include/libnet.h /usr/include/
./install-sh include/libnet/libnet-headers.h /usr/include/libnet
./install-sh include/libnet/libnet-functions.h /usr/include/libnet
./install-sh include/libnet/libnet-structures.h /usr/include/libnet
./install-sh include/libnet/libnet-macros.h /usr/include/libnet
./install-sh include/libnet/libnet-asn1.h /usr/include/libnet
./install-sh include/libnet/libnet-ospf.h /usr/include/libnet
./install-sh doc/libnet.3
install: no destination specified
make: *** [install] Error 1
############################################
¿Qué sucede y por qué no puedo luego compilar nemesis , me dá el mismo error de arriba del primer post?.