This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Missing inet_aton - Unsupported IP_HDRINCL
- To: "Hugh" <metrostar at sinectis dot com dot ar>
- Subject: Re: Missing inet_aton - Unsupported IP_HDRINCL
- From: "Ehud Karni" <ehud at unix dot simonwiesel dot co dot il>
- Date: Sat, 25 Nov 2000 00:04:05 +0200
- CC: cygwin at sources dot redhat dot com
- Organization: Simon & Wiesel Insurance agency
- References: <008201c055b9$c8db4d60$04e2f4d8@yeeha>
- Reply-to: ehud at unix dot simonwiesel dot co dot il
On Thu, 23 Nov 2000 23:56:35 -0200, Hugh Voras <metrostar@sinectis.com.ar> wrote:
>
> cygwin\usr\include\arpa\inet.h
> #ifndef __INSIDE_CYGWIN_NET__
> unsigned long inet_addr (const char *);
> int inet_aton (const char *, struct in_addr *); <<<======== HERE
> unsigned long inet_lnaof (struct in_addr);
[ snip ]
> but the object code is not in the respective lib ...then (heh) when i try to
> compile that i get an undefined ref error msg:
> /cygdrive/c/WIN95/TEMP/ccBKKgud.o(.text+0x442):injection.c: undefined
> referenceto `inet_aton'
I use in my sources `inet_addr' which is an older (obsolete) function
to achieve the same goal of converting dot notation to binary IP.
It works with Cygwin 1.1.6 and it worked in all versions I used before
starting from B20.
Ehud.
--
@@@@@@ @@@ @@@@@@ @ @ Ehud Karni Simon & Wiesel Insurance agency
@ @ @ @@ @ Tel: +972-3-6212-757 Fax: +972-3-6292-544
@ @ @ @ @ @@ (USA) Fax and voice mail: 1-815-5509341
@ @ @ @ @ @ Better Safe Than Sorry
http://www.simonwiesel.co.il mailto:ehud@unix.simonwiesel.co.il
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com