cURL / Mailing Lists / curl-library / Single Mail

curl-library

installation problem on solaris

From: Vishal_garg <Vishal_garg_at_infy.com>
Date: Fri, 12 Apr 2002 17:08:47 +0530

Hi,
I am trying to install libcurl on a solaris machine and that doesn't have GNU compiler.So I will be using native solaris compiler.
You have mentioned 3 installation steps i.e
1../configure
2.make
3.make install

The first steps goes through successfully,but when I run 'make' it gives many error and warnings.Some of the error messages are following:
/*****************************************************************************************/
make all-recursive
Making all in docs
Making all in examples
done
Making all in lib
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I../../lib -I.. -I../src -I../../include -g -c -o
 file.lo `test -f ../../lib/file.c || echo '../../lib/'`../../lib/file.c
rm -f .libs/file.lo
cc -DHAVE_CONFIG_H -I. -I../../lib -I.. -I../src -I../../include -g -c ../../lib/file.c -KPIC -DPIC
ucbcc: Warning: Option -YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNWspro/WS6U2/bin:/usr/ccs/lib:/us
r/lib passed to ld, if ld is invoked, ignored otherwise
"../../include/curl/curl.h", line 190: invalid token: ##
"../../include/curl/curl.h", line 190: syntax error before or at: NOTHING
"../../include/curl/curl.h", line 190: warning: old-style declaration or incorrect type for: NOTHING
"../../include/curl/curl.h", line 190: invalid token: ##
"../../include/curl/curl.h", line 190: undefined symbol: CURLOPTTYPE_
"../../include/curl/curl.h", line 190: non-constant initializer: op "NAME"
"../../include/curl/curl.h", line 190: syntax error before or at: LONG
"../../include/curl/curl.h", line 190: warning: old-style declaration or incorrect type for: LONG
"../../include/curl/curl.h", line 193: invalid token: ##
"../../include/curl/curl.h", line 193: warning: old-style declaration or incorrect type for: CURLOPT_
"../../include/curl/curl.h", line 193: identifier redeclared: CURLOPT_
        current : int
        previous: enum {} : "../../include/curl/curl.h", line 190
"../../include/curl/curl.h", line 193: invalid token: ##
"../../include/curl/curl.h", line 193: warning: old-style declaration or incorrect type for: CURLOPTTYPE_
"../../include/curl/curl.h", line 193: identifier redeclared: CURLOPTTYPE_
        current : int
        previous: int : "../../include/curl/curl.h", line 190
/**********************************************************************************************************************/

Please provide some help on this issue.

Regards,
Vishal.
Received on 2002-04-12