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: Mon, 17 Jan 2005 19:30:38 +0100 (CET)

On Mon, 17 Jan 2005 delphine.menjikoff_at_orsyp.com wrote:

> The 'in_addr_t' is undefined. Curl/lib/config.h:
>
> /* type to use in place of in_addr_t if not defined */
> /* #undef in_addr_t */
>
> My system don't have a in_addr_t typedef defined somewhere.

How did you come to that conclusion? The configure script checks for the
presense of such a type, and if it finds one it adds the define to the
config.h file. If it finds such a type in one of the system headers it does
not add the define, like in your case.

Either you have such a type, or there's a bug in the configure script. I
suspect the first. But if so, it would indicate that we should include that
header in the curl source code to prevent the compiler error you get. Still,
you'd have to identify which header this is...

> I think that my OS is too old too compile and generate the libcurl.

I don't think so. You do however make it very hard for us to help you since
you don't include any details and just write short and slightly cryptic
explanations to your problems.

And again, how can others offer binaries for your OS version if curl can't be
built for it?

> I have the same problem in this OS to compile a little C source which use a
> dlopen()/dlclose functions defined in the dlfcn.h. My AIX system didn't
> found this include file....

Perhaps your system is installed without the required headers?

> I tried the libcurl.a http://aixpdslib.seas.ucla.edu/packages/curl.html
> without success
>
> -lz option is not recognize by my AIX OS (to resolve symbole inflate,
> inflateEnd...) when I build my executable with the libcurl.a static lib.

That's zlib. You can get it and install that too, if you want to.

> My OS is really too old I think...

I don't. I just requires a bit of work.

-- 
      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-17