cURL / Mailing Lists / curl-library / Single Mail

curl-library

can not generate libcurl.lib on AIX 4.1.3

From: <delphine.menjikoff_at_orsyp.com>
Date: Thu, 13 Jan 2005 12:18:26 +0100

Hi,

I use the xlc compiler to compile libcurl

And I have the same errors:

*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 /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.

"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 help please...

 

Delphine.

 

-------------------------

>Is 'cc' really a ANSI C compiler? If it is, are you sure there's no
particular

>command line option required for it to act like one?

 

 

>It's been a great while since I did any AIX myself so I don't recall
the

>details, but curl has built fine on AIX for ages using the xlc
compiler.

 

 

>(I actually once was an IBM employee!)

 

 
Received on 2005-01-13