[Gambas-user] Compiling Gambas1.0.6 or 1.9.9 with Fedora4 and GCC4

Benoit Minisini gambas at ...1...
Fri Jun 24 12:15:38 CEST 2005


On Friday 24 June 2005 11:23, Gindele Hal. wrote:
> Hello.
>
> Has anyone had any luck getting this compile to work?
> Here is what I get when I try to do a make:
> CCurl.c:175: error: invalid lvalue in assignment
> CCurl.c:182: error: invalid lvalue in assignment
> CCurl.c:188: error: invalid lvalue in assignment
> CCurl.c: In function 'CCURL_stop':
> CCurl.c:204: warning: passing argument 1 of 'fclose'
> from incompatible pointer type
> CCurl.c:205: error: invalid lvalue in assignment
> CCurl.c:212: error: invalid lvalue in assignment
> CCurl.c:214: error: invalid lvalue in assignment
> CCurl.c: In function 'CCURL_URL':
> CCurl.c:407: error: invalid lvalue in assignment
> CCurl.c: In function 'CCURL_new':
> CCurl.c:425: error: invalid lvalue in assignment
> CCurl.c:426: error: invalid lvalue in assignment
> CCurl.c:427: error: invalid lvalue in assignment
> CCurl.c:433: warning: assignment from incompatible
> pointer type
> CCurl.c: In function 'CCURL_free':
> CCurl.c:442: warning: passing argument 1 of 'fclose'
> from incompatible
> pointer type
> make[4]: *** [CCurl.lo] Error 1
> make[4]: Leaving directory
> `/home/gindelhe/source/gambas2-1.9.9/gb.net.curl/src'make[3]:
> *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/gindelhe/source/gambas2-1.9.9/gb.net.curl'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/home/gindelhe/source/gambas2-1.9.9/gb.net.curl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/gindelhe/source/gambas2-1.9.9'
> make: *** [all] Error 2
>
> If no one could help I will do what the Author(s) say
> to do and email it to him.
>
> Thanks,
> Hal.
>

Which version of gcc do you use ? I think it is too recent :-)

As I use a Mandrake 10.2, I never use a recent gcc as on RedHat/Fedora, so I 
don't see these compilation problems immediately.

These errors come from C macros that newer version of gcc don't like anymore. 
They must be rewritten... Do you hear me Daniel ? ;-)

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




More information about the User mailing list