[Gambas-user] help with gb.qt4.

Stephen sbungay at ...3301...
Sat Feb 8 04:16:20 CET 2014


Gambas 3.5.2 is close to being successfully built but I have run into a 
snag with the gb.qt4 component.

./reconf-all works OK.

./configure results in the following

||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.jit
|| - gb.media
|| - gb.openal
||

no errors, but when then make fails with the following;

Making all in gb.qt4
make[2]: Entering directory `/home/User/Downloads/gambas3-3.5.2/gb.qt4'
make  all-recursive
make[3]: Entering directory `/home/User/Downloads/gambas3-3.5.2/gb.qt4'
Making all in src
make[4]: Entering directory `/home/User/Downloads/gambas3-3.5.2/gb.qt4/src'
Making all in .
make[5]: Entering directory `/home/User/Downloads/gambas3-3.5.2/gb.qt4/src'
   CXXLD  gb.qt4.la
/usr/bin/ld: .libs/gb_qt4_la-main_moc.o: relocation R_X86_64_32 against 
`.rodata' can not be used when making a shared object; recompile with -fPIC
.libs/gb_qt4_la-main_moc.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [gb.qt4.la] Error 1
make[5]: Leaving directory `/home/User/Downloads/gambas3-3.5.2/gb.qt4/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/User/Downloads/gambas3-3.5.2/gb.qt4/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/User/Downloads/gambas3-3.5.2/gb.qt4'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/User/Downloads/gambas3-3.5.2/gb.qt4'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/User/Downloads/gambas3-3.5.2'
make: *** [all] Error 2

   OK. I'm not a C or C++ programmer, the suggestion seems to be to 
recompile gb_qt4_la-main_moc.o with -fPIC, am I on the right track with 
this? If so how do I accomplish this task?

Steve.





More information about the User mailing list