This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: compiling netcat


ahh...damn!
thx!!

> -----Original Message-----
> From: cygwin-xfree-owner@cygwin.com
> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Alexander Gottwald
> Sent: Montag, 23. September 2002 13:56
> To: cygwin-xfree@cygwin.com
> Cc: cygwin@cygwin.com
> Subject: Re: compiling netcat
> 
> 
> 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@cygwin.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+0
> x1c08):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
> > 
> > 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]