cURL / Mailing Lists / curl-library / Single Mail

curl-library

Libcurl Help required! (fwd)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 16 Apr 2002 07:34:51 +0200 (MET DST)

I'm forwarding your mail to the libcurl mailing list.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
---------- Forwarded message ----------
Date: Tue, 16 Apr 2002 09:47:22 +0530
From: Puneet Garg <Puneet_garg_at_infy.com>
To: daniel_at_haxx.se
Subject: Libcurl Help required!
Hi Daniel,
I'm trying to build libcurl latest release (15th apr) on Sun Solaris (5.8) using native compiler.
got following problems in make command:
ucbcc: Warning: Option -YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNWspro/WS6U
2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
"../../lib/formdata.c", line 181: major: argument mismatch
"../../lib/formdata.c", line 182: minor: argument mismatch
"../../lib/formdata.c", line 237: major: argument mismatch
"../../lib/formdata.c", line 237: minor: argument mismatch
"../../lib/formdata.c", line 242: major: argument mismatch
"../../lib/formdata.c", line 242: minor: argument mismatch
"../../lib/formdata.c", line 931: va_start: argument mismatch
"../../lib/formdata.c", line 970: va_start: argument mismatch
"../../lib/formdata.c", line 181: syntax error before or at: int
"../../lib/formdata.c", line 200: undefined symbol: contp
"../../lib/formdata.c", line 200: warning: improper pointer/integer combination: op "="
"../../lib/formdata.c", line 202: cannot dereference non-pointer type
"../../lib/formdata.c", line 205: undefined symbol: flags
"../../lib/formdata.c", line 208: undefined symbol: post
"../../lib/formdata.c", line 214: undefined symbol: sep
"../../lib/formdata.c", line 214: warning: improper pointer/integer combination: op "="
"../../lib/formdata.c", line 215: undefined symbol: sep2
"../../lib/formdata.c", line 215: warning: improper pointer/integer combination: op "="
"../../lib/formdata.c", line 226: cannot dereference non-pointer type
"../../lib/formdata.c", line 227: undefined symbol: type
"../../lib/formdata.c", line 227: warning: improper pointer/integer combination: op "="
"../../lib/formdata.c", line 231: cannot dereference non-pointer type
"../../lib/formdata.c", line 237: syntax error before or at: )
"../../lib/formdata.c", line 242: syntax error before or at: )
"../../lib/formdata.c", line 245: warning: improper pointer/integer combination: op "="
"../../lib/formdata.c", line 248: syntax error before or at: else
"../../lib/formdata.c", line 343: undefined symbol: sep
"../../lib/formdata.c", line 343: cannot dereference non-pointer type
"../../lib/formdata.c", line 346: undefined symbol: post
"../../lib/formdata.c", line 346: warning: improper pointer/integer combination: op "="
"../../lib/formdata.c", line 349: non-unique member requires struct/union pointer: name
"../../lib/formdata.c", line 349: left operand of "->" must be pointer to struct/union
"../../lib/formdata.c", line 350: cannot dereference non-pointer type
"../../lib/formdata.c", line 351: left operand of "->" must be pointer to struct/union
"../../lib/formdata.c", line 351: warning: improper pointer/integer combination: arg #2
"../../lib/formdata.c", line 352: non-unique member requires struct/union pointer: conten
tslength
"../../lib/formdata.c", line 352: left operand of "->" must be pointer to struct/union
"../../lib/formdata.c", line 353: non-unique member requires struct/union pointer: flags
"../../lib/formdata.c", line 353: left operand of "->" must be pointer to struct/union
"../../lib/formdata.c", line 356: left operand of "->" must be pointer to struct/union
"../../lib/formdata.c", line 356: warning: improper pointer/integer combination: arg #2
"../../lib/formdata.c", line 357: non-unique member requires struct/union pointer: conten
tslength
"../../lib/formdata.c", line 357: left operand of "->" must be pointer to struct/union
"../../lib/formdata.c", line 358: non-unique member requires struct/union pointer: flags
"../../lib/formdata.c", line 358: left operand of "->" must be pointer to struct/union
"../../lib/formdata.c", line 363: warning: improper pointer/integer combination: op "="
"../../lib/formdata.c", line 365: warning: improper pointer/integer combination: op "="
"../../lib/formdata.c", line 367: warning: improper pointer/integer combination: op "="
"../../lib/formdata.c", line 379: cannot recover from previous errors
*** Error code 1
make: Fatal error: Command failed for target `formdata.lo'
Current working directory /project1/ccd12565/vinay/libcurl16thapr/curl-7.9.6/OBJ/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /project1/ccd12565/vinay/libcurl16thapr/curl-7.9.6/OBJ/lib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Please suggest.
Is it possible to build libcurl on solaris native compiler (cc)?????
thanks & regards,
Puneet
Received on 2002-04-16