Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/