[Gambas-user] report CURL compile

ron ronstk at ...239...
Tue Feb 10 20:23:44 CET 2004


Hallo Daniel,

I got at the moment in curl still a problem.
I try make in the directory and got next as result.

The strange part is the CNet.c:11: errors.
If for some reason `CURLE_HTTP_RETURNED_ERROR' is in a file not included any 
way then  `CNetDesc[33].val2') is still a strange error.
I scanned the whole net directory and the http_returned is not fond there.

Compiler is GNU C  3.3 20030226 (prerelease) (SuSE Linux)

gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe 
-Wall -g -O0 -c gbcurl.c  -fPIC -DPIC -o gbcurl.lo
gbcurl.c:44:2: warning: #warning 
#######################################################################
gbcurl.c:45:2: warning: #warning COMPILING WITHOUT AUTHENTICATION SUPPORT - 
YOU MUST USE LIBCURL>=7.10.6
gbcurl.c:46:2: warning: #warning 
#######################################################################
/bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../../../.. -I../../../../src/share     -g -O2 -pipe -Wall -g -O0 -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe 
-Wall -g -O0 -c main.c  -fPIC -DPIC -o main.lo
/bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../../../.. -I../../../../src/share     -g -O2 -pipe -Wall -g -O0 -c 
CHttpClient.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe 
-Wall -g -O0 -c CHttpClient.c  -fPIC -DPIC -o CHttpClient.lo
CHttpClient.c: In function `http_post':
CHttpClient.c:823: warning: comparison between signed and unsigned
/bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I../../../.. -I../../../../src/share     -g -O2 -pipe -Wall -g -O0 -c CNet.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -g -O2 -pipe 
-Wall -g -O0 -c CNet.c  -fPIC -DPIC -o CNet.lo
CNet.c:111: error: `CURLE_HTTP_RETURNED_ERROR' undeclared here (not in a 
function)
CNet.c:111: error: initializer element is not constant
CNet.c:111: error: (near initialization for `CNetDesc[33].val2')
CNet.c:111: error: initializer element is not constant
CNet.c:111: error: (near initialization for `CNetDesc[33]')
CNet.c:112: error: initializer element is not constant
CNet.c:112: error: (near initialization for `CNetDesc[34]')
CNet.c:113: error: initializer element is not constant
CNet.c:113: error: (near initialization for `CNetDesc[35]')


Ron





More information about the User mailing list