This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


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

Re: Missing inet_aton - Unsupported IP_HDRINCL


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


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