netcat on fedora?

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

 



I'm trying to install netcat on FC1 and I'm falling flat when I try to
run the makefile.  I run "make linux" (as root) as instructed in the
makefile.  This corresponds to the following rule:

make -e $(ALL) $(MFLAGS) XFLAGS='-DLINUX' STATIC=-static CC=gcc

The output I get is reprinted at the bottom of this post.  I would
really like to get netcat running, but I've run into the wall of my
knowledge of linux at this point.  It -appears- from the output below
that I need "the glibc version for linking", but I don't even know what
that is.  I have glibc installed from yum.  I searched Google but
couldn't find anything helpful to me.

Also, precisely what I'm trying to install is: Netcat 1.10 for Unix,
version 03.20.96.  If there is any other useful info I can give, please
let me know.  Thanks in advance!

The output from the makefile:

[root@localhost netcat]# make linux
make -e nc  XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/tmp/netcat'
cc -O -s          -DLINUX -static -o nc netcat.c
/tmp/cczmKLVc.o(.text+0x41e): In function `gethostpoop':
: warning: Using 'gethostbyaddr' in statically linked applications
requires at runtime the shared libraries from the glibc version used
for linking
/tmp/cczmKLVc.o(.text+0x368): In function `gethostpoop':
: warning: Using 'gethostbyname' in statically linked applications
requires at runtime the shared libraries from the glibc version used
for linking
/tmp/cczmKLVc.o(.text+0x61c): In function `getportpoop':
: warning: Using 'getservbyname' in statically linked applications
requires at runtime the shared libraries from the glibc version used
for linking
/tmp/cczmKLVc.o(.text+0x58f): In function `getportpoop':
: warning: Using 'getservbyport' in statically linked applications
requires at runtime the shared libraries from the glibc version used
for linking
/tmp/cczmKLVc.o(.text+0x150c): In function `main':
: undefined reference to `res_init'
collect2: ld returned 1 exit status
make[1]: *** [nc] Error 1
make[1]: Leaving directory `/tmp/netcat'
make: *** [linux] Error 2


Carl McCabe
=====================
cmccabe.freeshell.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux