| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Date: | Sat, 25 Nov 2000 00:04:05 +0200 |
| Message-Id: | <200011242204.AAA11228@linux.> |
| From: | "Ehud Karni" <ehud AT unix DOT simonwiesel DOT co DOT il> |
| To: | "Hugh" <metrostar AT sinectis DOT com DOT ar> |
| Subject: | Re: Missing inet_aton - Unsupported IP_HDRINCL |
| CC: | cygwin AT sources DOT redhat DOT com |
| In-reply-to: | <008201c055b9$c8db4d60$04e2f4d8@yeeha> (message from Hugh on Thu, |
| 23 Nov 2000 23:56:35 -0200) | |
| Organization: | Simon & Wiesel Insurance agency |
| Reply-to: | ehud AT unix DOT simonwiesel DOT co DOT il |
| References: | <008201c055b9$c8db4d60$04e2f4d8 AT yeeha> |
| X-Mailer: | Emacs 20.7.1 rmail (send-msg 1.104) |
| MIME-Version: | 1.0 |
On Thu, 23 Nov 2000 23:56:35 -0200, Hugh Voras <metrostar AT sinectis DOT com DOT 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 AT unix DOT simonwiesel DOT co DOT il
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |