cURL / Mailing Lists / curl-library / Single Mail

curl-library

[libcurl][AIX]Compilation failed on AIX

From: <delphine.menjikoff_at_orsyp.com>
Date: Tue, 4 Jan 2005 18:13:38 +0100

Hello,

I generated libcurl on NT, HP-UX and Sun with success (sometimes with
difficulties...) with CURL 7.12.3 version.

Now, I want to generate the static lib libcurl.a on AIX OS.

But the make stop at the beginning:

 

Making all in lib

        echo "/* This file is generated automatically */" >
../lib/ca-bundle.h

        echo '#undef CURL_CA_BUNDLE /* unknown */' >> ../lib/ca-bundle.h

        make all-am

        source='file.c' object='file.lo' libtool=yes DEPDIR=.deps
depmode=aix /bin/sh ../depcomp /bin/sh ../libtool --tag=CC
--mode=compile cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib
-g -c -o file.lo file.c

 cc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -g -c -M file.c -o
file.o

"hostip.h", line 214.39: 1506-275 (S) Unexpected text num ignored.

"hostip.h", line 214.44: 1506-276 (S) Syntax error: possible missing
identifier?

"hostip.h", line 214.16: 1506-282 (S) The type of the parameters must be
specified in a prototype.

"file.c", line 155.24: 1506-045 (S) Undeclared identifier O_RDONLY.

"file.c", line 277.3: 1506-007 (S) "struct stat" is undefined.

make: The error code from the last command is 1.

 

Stop.

make: The error code from the last command is 2.

 

Stop.

make: The error code from the last command is 1.

 

Stop.

 

Some ideas to help me will be appreciated.

 

Thanks for your help.

 

Delphine.
Received on 2005-01-04