[Gambas-devel] net-0.2.1

Benoit Minisini gambas at ...1...
Sun Jan 25 20:59:27 CET 2004


On Sunday 25 January 2004 20:40, Benoit Minisini wrote:
> 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,

I removed the two unknown symbols, and recompile. Then I tested the HTTPGet 
example, but it freezes.

Here is my gdb session:

GNU gdb 5.3-25mdk (Mandrake Linux)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-mandrake-linux-gnu"...
(gdb) set args -p
(gdb) run
Starting program: /usr/bin/gbx -p

(Then I hit CTRL+C...)

Program received signal SIGINT, Interrupt.
0x401ef2d5 in curl_multi_info_read () from /usr/lib/libcurl.so.2
(gdb) bt
#0  0x401ef2d5 in curl_multi_info_read () from /usr/lib/libcurl.so.2
#1  0x0816a6a8 in ?? ()
#2  0x40399a9e in CWatch::read(int) (this=0x8167a58, fd=9) at CWatch.cpp:103
#3  0x4039924d in CWatch::qt_invoke(int, QUObject*) (this=0x8167a58, _id=2, 
_o=0xbffff1c0) at moc_CWatch.cpp:90
#4  0x40726c58 in QObject::activate_signal(QConnectionList*, QUObject*) () 
from /usr/lib/qt3/lib/libqt-mt.so.3
(gdb) 

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the Devel mailing list