[Gambas-devel] net-0.2.1

Daniel Campos daniel.campos at ...103...
Sun Jan 25 22:48:22 CET 2004


     1. El dom, 25-01-2004 a las 20:40, Benoit Minisini escribió:
> On Sunday 25 January 2004 18:23, Daniel Campos wrote:
> > This is net component, version 0.2.1
> >
> 
> The advanced component don't compile on my Mandrake 9.2:
> 
> ..
> /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
> -I../../../.. -I../../../../src/share  -I/usr/include/curl/    -g -O2 -pipe 
> -Wall -g -O0 -c CAdvancedCode.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share 
> -I/usr/include/curl/ -g -O2 -pipe -Wall -g -O0 -Wp,-MD,.deps/CAdvancedCode.pp 
> -c CAdvancedCode.c  -fPIC -DPIC -o CAdvancedCode.lo
> CAdvancedCode.c:137: error: `CURLE_LDAP_INVALID_URL' undeclared here (not in a 
> function)
> CAdvancedCode.c:137: error: initializer element is not constant
> CAdvancedCode.c:137: error: (near initialization for 
> `CAdvancedCodeDesc[92].val2')
> CAdvancedCode.c:137: error: initializer element is not constant
> CAdvancedCode.c:137: error: (near initialization for `CAdvancedCodeDesc[92]')
> CAdvancedCode.c:138: error: `CURLE_FILESIZE_EXCEEDED' undeclared here (not in 
> a function)
> CAdvancedCode.c:138: error: initializer element is not constant
> CAdvancedCode.c:138: error: (near initialization for 
> `CAdvancedCodeDesc[93].val2')
> CAdvancedCode.c:138: error: initializer element is not constant
> CAdvancedCode.c:138: error: (near initialization for `CAdvancedCodeDesc[93]')
> CAdvancedCode.c:141: error: initializer element is not constant
> CAdvancedCode.c:141: error: (near initialization for `CAdvancedCodeDesc[94]')
> 
> Maybe it is a matter of libcurl version ?
> 
> Regards,


You are (probably) using an old version from curl library, you need
the last version (7.10.8).
A few days ago, I installed Fedora Core 1 to test it and I found
the same problem, as Curl people have made a lot of improvements
if recent time, so, you should download it from curl site:

http://curl.haxx.se

Regards,

Daniel Campos





More information about the Devel mailing list