Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'make' netcat 1

Status
Not open for further replies.

peterve

IS-IT--Management
Mar 19, 2000
1,348
NL
OS: Redhat 7.1

I've downloaded the netcat utility,
placed in in /utils/netcat,

and when I run 'make linux', I get this output :

make -e nc XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory '/utils/netcat'
cc -0 -s -DLINUX -static -o nc netcat.c
/tmp/ccwy0ACq.o: In function 'main':
/tmp/ccwy0ACq.o(.text+0x159f): undefined reference to 'res_init'
collect2: Id returned 1 exit status
make[1]: *** [nc] Error1
make[1]: Leaving directory '/utils/netcat'
make: *** [Linux] Error 2

that's it.. so it doesn't work...
what did I do wrong ? ---------------------------------------------------------------------
I have not failed, I've just found 10,000 ways that don't work
---------------------------------------------------------------------
Peter Van Eeckhoutte
peter.ve@pandora.be
*:->* Did this post help? Click below to let me know !
 
Hi,

It should be OK if you just comment out the line with res_init() in netcat.c . However, why not grab the rpm from the old RH5.2 powertools collection --> ftp://rpmfind.net/linux/redhat/5.2/en/powertools/i386/netcat-1.10-1.i386.rpm .

Rgdz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top