[Gambas-user] net component

Klaus Schumacher schumacher-k at ...20...
Tue Oct 19 19:45:42 CEST 2004


Hi,
I wanted to go to gambas 0.99 but it doesn't compile with the net 
component (which I've never used before).
I've added the error messages from the make (the configure runs without 
problems).


Has anybody any idea ??

Klaus


With the curl version from SuSe 8.2 (curl 7.10.2)
-------------------------------------------------


> make[5]: Entering directory `/home/klaus/gambas-0.99/src/lib/net/curl'
> /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share  -I/usr/include/curl/    -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c gbcurl.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -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  -I/usr/include/curl/    -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c main.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c main.c  -fPIC -DPIC -o main.lo
> /bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share  -I/usr/include/curl/    -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c CCurl.c
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share -I/usr/include/curl/ -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -c CCurl.c  -fPIC -DPIC -o CCurl.lo
> CCurl.c: In function `CCURL_stream_lof':
> CCurl.c:86: error: `CURLINFO_PRIVATE' undeclared (first use in this function)
> CCurl.c:86: error: (Each undeclared identifier is reported only once
> CCurl.c:86: error: for each function it appears in.)
> CCurl.c:86: warning: passing arg 1 of `curl_easy_getinfo' makes pointer from integer without a cast
> CCurl.c: In function `CCURL_stream_eof':
> CCurl.c:97: error: `CURLINFO_PRIVATE' undeclared (first use in this function)
> CCurl.c:97: warning: passing arg 1 of `curl_easy_getinfo' makes pointer from integer without a cast
> CCurl.c: In function `CCURL_stream_read':
> CCurl.c:108: error: `CURLINFO_PRIVATE' undeclared (first use in this function)
> CCurl.c:108: warning: passing arg 1 of `curl_easy_getinfo' makes pointer from integer without a cast
> CCurl.c: In function `CCURL_Manage_ErrCode':
> CCurl.c:170: warning: passing arg 1 of `fclose' from incompatible pointer type
> CCurl.c: In function `CCURL_stop':
> CCurl.c:195: warning: passing arg 1 of `fclose' from incompatible pointer type
> CCurl.c: In function `CCURL_post_curl':
> CCurl.c:239: error: `CURLINFO_PRIVATE' undeclared (first use in this function)
> CCurl.c: In function `CCURL_new':
> CCurl.c:381: warning: assignment from incompatible pointer type
> CCurl.c: In function `CCURL_free':
> CCurl.c:390: warning: passing arg 1 of `fclose' from incompatible pointer type
> make[5]: *** [CCurl.lo] Fehler 1
> make[5]: Leaving directory `/home/klaus/gambas-0.99/src/lib/net/curl'
> make[4]: *** [all-recursive] Fehler 1
> make[4]: Leaving directory `/home/klaus/gambas-0.99/src/lib/net'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory `/home/klaus/gambas-0.99/src/lib'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/home/klaus/gambas-0.99/src'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/klaus/gambas-0.99'
> make: *** [all-recursive-am] Fehler 2


With a newer curl version I've downloaded (curl-7.11.2-2suse82.i686.rpm)
------------------------------------------------------------------------

> gcc -shared  gbcurl.lo main.lo CCurl.lo CHttpClient.lo CFtpClient.lo CNet.lo CProxy.lo  -lc -L/usr/lib /usr/lib/libcurl.so -lssl -lcrypto -ldl -lz -lcares  -Wl,-soname -Wl,lib.gb.net.curl.so.0 -o .libs/lib.gb.net.curl.so.0.0.0
> /usr/lib/gcc-lib/i486-suse-linux/3.3/../../../../i486-suse-linux/bin/ld: cannot find -lcares
> collect2: ld returned 1 exit status
> make[5]: *** [lib.gb.net.curl.la] Fehler 1
> make[5]: Leaving directory `/home/klaus/gambas-0.99/src/lib/net/curl'
> make[4]: *** [all-recursive] Fehler 1
> make[4]: Leaving directory `/home/klaus/gambas-0.99/src/lib/net'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory `/home/klaus/gambas-0.99/src/lib'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Leaving directory `/home/klaus/gambas-0.99/src'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/klaus/gambas-0.99'
> make: *** [all-recursive-am] Fehler 2







More information about the User mailing list