Saludos a todos los integrantes del foro, quisiera que me ayudaran en un problemita que tengo al compilar netcat, actualemtne uso suse 9.3 y he querido hacer uso de esta herramienta pero al momento de compilar me sale un error..
tengo un libro que me trajo un cd con muchas herramientas hackers y me indica como debo compilarlo, descomprimo y me ubico en la carpeta nc que se crea y luego pongo "make linux" y pasa esto:
make linux
make -e nc XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/home/stuart-litte/nc'
cc -O -s -DGAPING_SECURITY_HOLE -DTELNET -DLINUX -static -o nc netcat.c
/tmp/ccwKvYDP.o(.text+0x426): En la función `gethostpoop':
netcat.c: warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccwKvYDP.o(.text+0x366):netcat.c: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccwKvYDP.o(.text+0x637): En la función `getportpoop':
netcat.c: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccwKvYDP.o(.text+0x5a3):netcat.c: warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccwKvYDP.o(.text+0x1696): En la función `main':
netcat.c: undefined reference to `res_init'
collect2: ld returned 1 exit status
make[1]: *** [nc] Error 1
make[1]: Leaving directory `/home/stuart-litte/nc'
make: *** [linux] Error 2
no se si es que me hace falta alguna libreria me gustaria que me ayudaran en esto se les agradece de antemano..










Autor


En línea




