Results 1 to 3 of 3

Thread: Compiling netcat

  1. #1
    Junior Member registered user
    Join Date
    May 2004
    Posts
    14

    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

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    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

  3. #3
    Junior Member registered user
    Join Date
    May 2004
    Posts
    14
    Looks like your missing a library

Similar Threads

  1. compiling applications
    By kurt_meier in forum General Support
    Replies: 10
    Last Post: 09-02-2005, 06:46 PM
  2. Compiling?
    By Jameson in forum General Support
    Replies: 6
    Last Post: 06-23-2005, 07:50 PM
  3. Compiling
    By Kowood in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 04-17-2005, 10:44 AM
  4. Problem while compiling GTK+
    By Yuanlong in forum General Support
    Replies: 15
    Last Post: 08-03-2004, 11:01 AM
  5. 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
  •  


Samsung Galaxy Tab A8 10.5

Samsung Galaxy Tab A8 10.5" SM-X200 64GB Wifi Only Tablet Open Box

$139.99



Case For Samsung Galaxy Tab A9/ A9+ 5G/ A9 Plus Kids Shockproof Cover with Stand picture

Case For Samsung Galaxy Tab A9/ A9+ 5G/ A9 Plus Kids Shockproof Cover with Stand

$16.99



Samsung Galaxy Tab S9/S9+/S9 Ultra S Pen - Black - OEM Original picture

Samsung Galaxy Tab S9/S9+/S9 Ultra S Pen - Black - OEM Original

$29.99



Samsung Galaxy Tab S9+ 12.4-inch Slim EF-DX810 S9 FE+ BOOK COVER KEYBOARD picture

Samsung Galaxy Tab S9+ 12.4-inch Slim EF-DX810 S9 FE+ BOOK COVER KEYBOARD

$44.99



Samsung Galaxy Tab A 32GB, 10.1in, WiFi ONLY picture

Samsung Galaxy Tab A 32GB, 10.1in, WiFi ONLY

$77.77



Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$53.99



Samsung Galaxy 12.4 Inch Slim Keyboard For S7+ | S7 FE | S8+ | S8+ 5G EF-DT730 picture

Samsung Galaxy 12.4 Inch Slim Keyboard For S7+ | S7 FE | S8+ | S8+ 5G EF-DT730

$49.99



Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$38.00



OEM Samsung Galaxy Tab S9 Ultra 14.6

OEM Samsung Galaxy Tab S9 Ultra 14.6" Book Cover Keyboard, Black, EF-DX915UBEGUJ

$164.99



Samsung Galaxy Tab A 32GB, 10.1in, unlocked picture

Samsung Galaxy Tab A 32GB, 10.1in, unlocked

$88.88