Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hobbit's netcat



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






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org