-
Junior Member
registered user
Compiling netcat
Seem to have a few problems here anyone understand whats going on here
Code:
root@Zion:/home/Liquidant/netcat# make linux
make -e nc XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/home/Liquidant/netcat'
cc -O -s -DLINUX -static -o nc netcat.c
/tmp/ccOYBP7A.o(.text+0x48e): In function `gethostpoop':
: warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccOYBP7A.o(.text+0x3d3): In function `gethostpoop':
: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccOYBP7A.o(.text+0x6d0): In function `getportpoop':
: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccOYBP7A.o(.text+0x61f): In function `getportpoop':
: warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccOYBP7A.o(.text+0x16d6): In function `main':
: undefined reference to `res_init'
collect2: ld returned 1 exit status
make[1]: *** [nc] Error 1
make[1]: Leaving directory `/home/Liquidant/netcat'
make: *** [linux] Error 2
i can see there's something a miss but can't tell what
any ideas
-
Senior Member
registered user
Dunno what's wrong either but is there some reason you don't simply apt-get it from Debian?
Code:
apt-cache policy netcat
netcat:
/snip/
Candidate: 1.10-23
-
Junior Member
registered user
Looks like your missing a library
Similar Threads
-
By kurt_meier in forum General Support
Replies: 10
Last Post: 09-02-2005, 06:46 PM
-
By Jameson in forum General Support
Replies: 6
Last Post: 06-23-2005, 07:50 PM
-
By Kowood in forum MS Windows & New to Linux
Replies: 1
Last Post: 04-17-2005, 10:44 AM
-
By Yuanlong in forum General Support
Replies: 15
Last Post: 08-03-2004, 11:01 AM
-
By in forum Tips and Tricks
Replies: 3
Last Post: 09-06-2003, 11:09 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Vintage 1998 eMachines Keyboard eKB-5190(A) With USB Adapter -Tested Working
$29.99
Vintage Apple Macintosh Powerbook 165 M4440 plus Apple AC Adapter M5651 read
$130.00
VIntage Apple Macintosh LC III Computer - As Is Powers On
$49.99
Vintage • IBM • Ink Empty Box Only • 1982 • Collectible • Piece Of History
$29.95
Vintage Microsoft Compatible Mouse Serial Port 2.0A - Part No. 52695
$11.99
Vintage 1996 APPLE INTERNET CONNECTION KIT Disc For 7.5 Version 1.1
$5.99
Vintage Microsoft Intellimouse 1.2A Mechanical Ball Wheel Mouse 0886MJ
$24.94
(2) Vintage Data General External 360k 5.25” Floppy Disk Model 2233
$200.88
Vintage Mouse 3-Button Serial/PS/2 SEALED NOS BEIGE-Digital Research DRMOUSEW
$45.00
Vintage Kaypro II Portable Computer With Keyboard - Untested - Nice Condition
$150.00