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
  •  


Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5

Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive

$29.99



WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F picture

WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F

$25.00



WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN picture

WD 2TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0020BBK-WESN

$49.99



Western Digital 4TB WD Purple Surveillance HDD, Internal Hard Drive - WD43PURZ picture

Western Digital 4TB WD Purple Surveillance HDD, Internal Hard Drive - WD43PURZ

$96.99



HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5

HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601

$89.99



HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5

HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD

$69.99



2TB 3.5

2TB 3.5" HDD Sata Mixed Brands hard drive Tested Formatted

$18.99



2 PACK  Seagate ST1000LM035 Mobile HDD 1TB 2.5

2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive

$26.89



WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN picture

WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN

$209.99



Seagate Exos X22 ST22000NM001E 22TB 512E SATA 6Gb/s 3.5

Seagate Exos X22 ST22000NM001E 22TB 512E SATA 6Gb/s 3.5" Enterprise Hard Drive

$311.99