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
  •  


Altair 8800 CPU Board Working *TESTED* reproduction picture

Altair 8800 CPU Board Working *TESTED* reproduction

$790.00



Factory New MITS Altair 680 Enclosures picture

Factory New MITS Altair 680 Enclosures

$600.00



MITS Altair 8800 CPU Board Reproduction: New, Built and Tested picture

MITS Altair 8800 CPU Board Reproduction: New, Built and Tested

$295.00



MITS ALTAIR 8800  Original Vintage Microcomputer  S-100   Buy It Now $5999 picture

MITS ALTAIR 8800 Original Vintage Microcomputer S-100 Buy It Now $5999

$5999.00



MITS ALTAIR 8800  Original Vintage Microcomputer picture

MITS ALTAIR 8800 Original Vintage Microcomputer

$6000.00



S-100 backplane motherboard bare PCB 9 slot (for Altair/IMSAI) picture

S-100 backplane motherboard bare PCB 9 slot (for Altair/IMSAI)

$30.00



Vintage NorthStar Horizon HRAM 64k Dynamic RAM Board, S-100 IMSAI Altair picture

Vintage NorthStar Horizon HRAM 64k Dynamic RAM Board, S-100 IMSAI Altair

$125.00



XITEX SCT-100 Video Terminal S-100 board Never Used + Manual  Imsai, or Altair picture

XITEX SCT-100 Video Terminal S-100 board Never Used + Manual Imsai, or Altair

$455.00



HyperWorks 2020 Suite for PC (Tool For Engineering Design, Simulation) 50Gb picture

HyperWorks 2020 Suite for PC (Tool For Engineering Design, Simulation) 50Gb

$62.87



Vintage Computer Notes Newsletter Altair MITS Jul 1976 Vol.2 Issue 2  picture

Vintage Computer Notes Newsletter Altair MITS Jul 1976 Vol.2 Issue 2

$99.99