[Gambas-user] Trouble With Compiling
Laurent Carlier
lordheavy at ...512...
Sat Aug 13 23:10:36 CEST 2005
Evan Sangaline a écrit :
> I am new to the Linux operating system, so please forgive me if this
> question is simplistic. I first tried to install Gambas (on a fresh
> install of Fedora Core 4) using yum install gambas. This appeared to
> work fine but when I run Gambas and try to create a form I get the
> following error.
>
> Cannot open file.
>
> Component missing
> FForm.CreateControl.833
>
> I tried to compile Gambas myself but encountered the following problem
> during make after a flawless configure.
>
> then mv -f ".deps/gbx_class_load.Tpo" ".deps/gbx_class_load.Plo"; else
> rm -f ".deps/gbx_class_load.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share -I../../libltdl
> -g -O2 -pipe -Wall -fno-strict-aliasing -g -Os -MT gbx_class_load.lo
> -MD -MP -MF .deps/gbx_class_load.Tpo -c gbx_class_load.c -fPIC -DPIC
> -o .libs/gbx_class_load.o
> gbx_class_load.c: In function 'CLASS_load_without_init':
> gbx_class_load.c:297: warning: pointer targets in passing argument 1
> of 'SWAP_long' differ in signedness
> gbx_class_load.c:298: warning: pointer targets in passing argument 1
> of 'SWAP_long' differ in signedness
> gbx_class_load.c:299: warning: pointer targets in passing argument 1
> of 'SWAP_long' differ in signedness
> gbx_class_load.c:362: warning: pointer targets in passing argument 4
> of 'get_section' differ in signedness
> gbx_class_load.c:455: error: invalid lvalue in assignment
> gbx_class_load.c:458: error: invalid lvalue in assignment
> gbx_class_load.c:461: error: invalid lvalue in assignment
> gbx_class_load.c:467: error: invalid lvalue in assignment
> gbx_class_load.c:474: error: invalid lvalue in assignment
> gbx_class_load.c:477: error: invalid lvalue in assignment
> make[3]: *** [gbx_class_load.lo] Error 1
> make[3]: Leaving directory `/home/evan/gambas-1.0.4/src/exec'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/evan/gambas-1.0.4/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/evan/gambas-1.0.4'
> make: *** [all] Error 2
>
> I'm in way over my head and don't know how to go about working this
> out. Thank you kindly if you can shed any light on this for me.
>
> Evan
>
You should try to install gambas 1.0.9 as previous versions can't be
compile with gcc 4.x .
Regards,
--
Laurent Carlier
jabber : LordHeavy at ...943...
More information about the User
mailing list