| Author |
Message |
KerneL *nix forums beginner
Joined: 28 Jan 2005
Posts: 37
|
Posted: Thu Mar 10, 2005 11:12 am Post subject:
netcat make problem
|
|
|
I whant to compile netcat short nc but on every distro(linux) i get this err:
| Quote: |
make linux
make -e nc XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/root/.ssh/netcat'
cc -O -s -DLINUX -static -o nc netcat.c
/tmp/ccvgw4cn.o(.text+0x14f5): In function `main':
: undefined reference to `res_init'
collect2: ld returned 1 exit status
make[1]: *** [nc] Error 1
|
On other system works fine like freebsd...etc
Why i get this err? |
|
| Back to top |
|
 |
KerneL *nix forums beginner
Joined: 28 Jan 2005
Posts: 37
|
Posted: Thu Mar 10, 2005 11:17 am Post subject:
re:netcat make problem
|
|
|
|
Btw netcat is here: |
|
| Back to top |
|
 |
mihai *nix forums addict
Joined: 27 Jan 2005
Posts: 71
|
Posted: Thu Mar 10, 2005 11:38 am Post subject:
re:netcat make problem
|
|
|
|
The version you're using is an outdated version of netcat, if you look in the Changelog you'll see that it was released in 1996, you might want to try using http://netcat.sourceforge.net/ . |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|