Hobbit's netcat

Anthony Gabrielson agabrielson1-Wuw85uim5zDR7s880joybQ at public.gmane.org
Wed Nov 10 22:46:28 EST 2010


Hello,
    Does anyone have any advice on getting Hobbit's netcat to build (and run properly) on Ubuntu 10.10?  Anyway, it compiles but when I run with backpipes It sefaults.  

Here is the build output:
agabriel at ubuntu:~/netcat/netcat110$ make linux
make -e nc  XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/home/agabriel/netcat/netcat110'
cc -O -DGAPING_SECURITY_HOLE -DTELNET -s	  -DLINUX -static -o nc netcat.c 
netcat.c: In function ‘holler’:
netcat.c:194: warning: format not a string literal and no format arguments
netcat.c: In function ‘doexec’:
netcat.c:587: warning: incompatible implicit declaration of built-in function ‘execl’
/tmp/cc7FSk01.o: In function `gethostpoop':
netcat.c:(.text+0x13b8): warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
netcat.c:(.text+0x12df): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/cc7FSk01.o: In function `getportpoop':
netcat.c:(.text+0x3a6): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
netcat.c:(.text+0x31d): warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/home/agabriel/netcat/netcat110'

I've also tried dynamic linking - some of the warnings go away, but its still not working...

Thanks,
Anthony





More information about the Discuss mailing list