Problem installing netcat under linux

Net Llama! netllama
Mon May 17 11:49:50 PDT 2004


What version of netcat?

On 07/24/03 14:39, Swapana Ghosh wrote:

>  Hi
> 
>       I am trying to install *netcat* . As per the
> README i did 
> 
> $make linux   [ As i my servier is redhat 8.0 ]
> 
> But the following errors are coming::
> 
> make -e nc  XFLAGS='-DLINUX' STATIC=-static
> make[1]: Entering directory `/home/swapna/netcat'
> cc -O -s          -DLINUX -static -o nc netcat.c
> /tmp/cco40c3S.o: In function `main':
> /tmp/cco40c3S.o(.text+0x14fd): undefined reference to
> `res_init'
> collect2: ld returned 1 exit status
> make[1]: *** [nc] Error 1
> make[1]: Leaving directory `/home/swapna/netcat'
> make: *** [linux] Error 2


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   3:45pm  up 9 days, 18:29,  1 user,  load average: 0.43, 0.33, 0.16



More information about the Linux-users mailing list