cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: can not generate libcurl.lib on AIX 4.1.3

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 13 Jan 2005 13:22:07 +0100 (CET)

On Thu, 13 Jan 2005 delphine.menjikoff_at_orsyp.com wrote:

> I use the xlc compiler to compile libcurl
>
> And I have the same errors:

> source='file.c' object='file.lo' libtool=yes DEPDIR=.deps
> depmode=aix /bin/sh ../depcomp /bin/sh ../libtool --tag=CC
> --mode=compile /usr/bin/xlc -DHAVE_CONFIG_H -I../include -I../lib
> -I../lib -Aa -c -o file.lo file.c
>
> /usr/bin/xlc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -Aa -c -M
> file.c -o file.o
>
> "hostip.h", line 214.39: 1506-275 (S) Unexpected text num ignored.

Ok, Tor Arntsen's builds only run on more recent AIX version by they all work
fine (except for a few which has other problems not related to this). But the
guys at ucla.edu (http://aixpdslib.seas.ucla.edu/packages/curl.html) must've
been able to build it since they offer binaries of curl 7.12.3 on AIX 4.1...

The problem seem to be the 'in_addr_t' typedef. Can you check if that is
defined in lib/config.h after you ran configure?

Can you also check what your system's inet_addr() function returns?

If your system _has_ a in_addr_t typedef'ed somewhere, can you figure out in
which header file?

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-01-13