curl-library
Re: Link error in Sun5.6, why should gcc lib must needed?
Date: Thu, 16 Dec 2004 18:13:32 +0800
----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: "libcurl development" <curl-library_at_cool.haxx.se>
Sent: Thursday, December 16, 2004 4:55 PM
Subject: Re: Link error in Sun5.6, why should gcc lib must needed?
> On Thu, 16 Dec 2004, hzhijun wrote:
>
> > curl's configure will always use cc and ignore CC.
>
> No.
>
> > Does curl support CC compiling?
>
> Yes. This is even mentioned clearly in docs/INSTALL.
>
thanks, Daniel, I can specified CC compiler.
one more question, I can choose CC as complier, but why CC can't compile the curl source file?
Below is the part of make information:
CC -DHAVE_CONFIG_H -I../include -I../lib -I../lib -I/home/hezy/FREE_LIB/ssl/include/openssl -I/home/hezy/FREE_LIB/ssl/inclu
de -g -c file.c -o file.o
"urldata.h", line 875: Error: Identifier expected instead of "private".
"urldata.h", line 875: Error: Identifier expected instead of "private".
"urldata.h", line 875: Error: Use ";" to terminate declarations.
"urldata.h", line 875: Error: Use ";" to terminate declarations.
"urldata.h", line 875: Error: No ":" found following "private".
"urldata.h", line 875: Error: "}" expected instead of ";".
"urldata.h", line 928: Error: A declaration was expected instead of "}".
"file.c", line 159: Error: upload is not a member of UserDefined.
"file.c", line 294: Error: upload is not a member of UserDefined.
"file.c", line 310: Error: include_header is not a member of UserDefined.
10 Error(s) detected.
make[2]: *** [file.lo] Error 1
make[2]: Leaving directory `/home/hzj/curl-7.12.2/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/hzj/curl-7.12.2/lib'
make: *** [all-recursive] Error 1
Received on 2004-12-16