HARDWARE Y SISTEMAS OPERATIVOS, GNU/Linux, Windows, Mac > GNU/Linux, Unix, *BSD and Free Software, Android
Nemesis 1.4
Pengüin:
Liamngls , gracias pero ya lo había descargado de hay y sucede lo siguiente :
A la hora de compilar , arroja esto :
./configure
--- Código: ---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
--- Fin del código ---
####################
make
--- Código: ---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
--- Fin del código ---
###############################################################################################################
Y make install arroja esto :
--- Código: ---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
--- Fin del código ---
############################################
¿Qué sucede y por qué no puedo luego compilar nemesis , me dá el mismo error de arriba del primer post?. :mrgreen: :mrgreen:
pulchras:
Buenas
En este post habla de este mismo problema. A ver si te ayuda!
pulchras
Pengüin:
--- Cita de: pulchras en 21 de Julio de 2012, 11:22:50 pm ---Buenas
En este post habla de este mismo problema. A ver si te ayuda!
pulchras
--- Fin de la cita ---
No te entiendo , ¿Qué tienes el mismo problema que yo?. :mrgreen: :mrgreen:
pulchras:
Buenas
Ostia.... me olvidé de copiar el link... que empanao xD
es este:
http://seronline.de/?p=210
Un saludo!
pulchras
Pengüin:
--- Cita de: pulchras en 22 de Julio de 2012, 11:18:52 am ---Buenas
Ostia.... me olvidé de copiar el link... que empanao xD
es este:
http://seronline.de/?p=210
Un saludo!
pulchras
--- Fin de la cita ---
pulchras , gracias por el link e intentado compilarlo así y me arroja esto :
--- Citar ---./configure --with-libnet-includes=/usr/local/src/libnet-1.0.2a/include --with-libnet-libraries=/usr/local/src/libnet-1.0.2a/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking for gcc option to accept ANSI C... none needed
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for fabs in -lm... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking for hstrerror in -lresolv... yes
checking for libnet_build_ip in -lnet... yes
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for strings.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking libnet.h usability... no
checking libnet.h presence... no
checking for libnet.h... no
ERROR! Libnet header not found, go get it from
http://www.packetfactory.net/projects/libnet/
or use the --with-libnet-* options, if you have it installed
in unusual place
--- Fin de la cita ---
¿Qué hago para qué se instale?. :mrgreen: :mrgreen:
Navegación
[#] Página Siguiente
[*] Página Anterior
Ir a la versión completa