Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-28-2004, 08:50 PM   #1
LQ Newbie
Registered: Jul 2002
Posts: 13

Rep: Reputation: 0
building netcat

i'm attempting to build netcat on a redhat 9.0 box. i downloaded the source file, gunzipped it, and untarred it. ran "make linux" (per the README), and i got the following output:

make -e nc XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/usr/local/netcat'
cc -O -s -DLINUX -static -o nc netcat.c
/tmp/ccKCEIJs.o(.text+0x14f5): In function `main':
: undefined reference to `res_init'
collect2: ld returned 1 exit status
make[1]: *** [nc] Error 1
make[1]: Leaving directory `/usr/local/netcat'
make: *** [linux] Error 2

any ideas?

thanks in advance for all you help!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
netcat question overbored Linux - Software 13 10-30-2004 04:26 PM
Netcat question igor8 Linux - Security 3 06-21-2004 12:55 PM
netcat install? Di0de Linux - Software 4 11-04-2003 10:52 AM
netcat compile antken Linux - General 1 10-10-2003 09:04 PM
netcat -e option Di0de Linux - Software 0 08-17-2003 12:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration