delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/23/07:55:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: herein.hrz.tu-chemnitz.de: goal owned process doing -bs
Date: Mon, 23 Sep 2002 13:55:39 +0200 (MEST)
From: Alexander Gottwald <alexander DOT gottwald AT s1999 DOT tu-chemnitz DOT de>
To: cygwin-xfree AT cygwin DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: compiling netcat
In-Reply-To: <000201c262f6$ae0909e0$350aa8c0@W2KDP>
Message-ID: <Pine.LNX.4.44.0209231354070.28711-100000@herein.hrz.tu-chemnitz.de>
MIME-Version: 1.0
X-Spam-Score: -9.0 (---------)
X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *17tRoR-0005XQ-00*gcKBV0OmTZk*

On Mon, 23 Sep 2002, Mario Ohnewald wrote:

> Hello!
> I want to get netcat running in under cygwin.
> I guess you just have to compile it like in a normal UNIX enviorment.

wrong mailing list. Forwarded to cygwin AT cygwin DOT com
 
> 
> $ make linux
> make -e nc - --unix XFLAGS='-DLINUX' STATIC=-static
> make[1]: Entering directory `/home/install'
> cc -O -s          -DLINUX -static -o nc netcat.c
> /cygdrive/d/DOCUME~1/MOHNEW~1/LOCALS~1/Temp/ccyFaes1.o(.text+0x1c08):netcat.
> c: undefined reference to `res_init'
> Info: resolving _h_errno by linking to __imp__h_errno (auto-import)
> collect2: ld returned 1 exit status
> make[1]: *** [nc] Error 1
> make[1]: Leaving directory `/home/install'
> make: *** [linux] Error 2
> 
> Can someone give me a hint/tip?
> 
> Thanks, Mario
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019