[Gambas-user] Compiling Gambas 1.9.26

Leonardo Miliani leonardo at ...1237...
Sun Mar 19 16:25:54 CET 2006


I would return on Gambas 1.9.26 and compiling problems.
I've read that it could depend on gcc: for gambas 1.9.26 we must use gcc 
 >=4.x but I have Suse 9.3 which has by default gcc v. 3.3
When I launch configure it tells me that it cannot compile module 
gb.db.firebird and when I launch make it stops after a few seconds:
-----------------------------------------
make  all-recursive
make[1]: Entering directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26'
Making all in main
make[2]: Entering directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main'
make  all-recursive
make[3]: Entering directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main'
Making all in libltdl
make[4]: Entering directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/libltdl'
make  all-am
make[5]: Entering directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/libltdl'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I.     -g -O2 -c -o ltdl.lo ltdl.c
mkdir .libs
  gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o 
.libs/ltdl.o
  gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC --mode=link gcc  -g -O2   -o libltdlc.la 
ltdl.lo -ldl
ar cru .libs/libltdlc.a .libs/ltdl.o
ranlib .libs/libltdlc.a
creating libltdlc.la
(cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la)
make[5]: Leaving directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/libltdl'
make[4]: Leaving directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/libltdl'
Making all in gbx
make[4]: Entering directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/gbx'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. 
-I. -I.. -I../share   -I/usr/local/include/  -I../libltdl   -DGBX_INFO 
-pipe -Wall -fno-strict-aliasing -Wno-unused-value -fvisibility=hidden 
-g -Os -O0  -MT gb_la-gbx_c_class.lo -MD -MP -MF 
".deps/gb_la-gbx_c_class.Tpo" -c -o gb_la-gbx_c_class.lo `test -f 
'gbx_c_class.c' || echo './'`gbx_c_class.c; \
then mv -f ".deps/gb_la-gbx_c_class.Tpo" ".deps/gb_la-gbx_c_class.Plo"; 
else rm -f ".deps/gb_la-gbx_c_class.Tpo"; exit 1; fi
mkdir .libs
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../share -I/usr/local/include/ 
-I../libltdl -DGBX_INFO -pipe -Wall -fno-strict-aliasing 
-Wno-unused-value -fvisibility=hidden -g -Os -O0 -MT 
gb_la-gbx_c_class.lo -MD -MP -MF .deps/gb_la-gbx_c_class.Tpo -c 
gbx_c_class.c  -fPIC -DPIC -o .libs/gb_la-gbx_c_class.o
cc1: error: unrecognized option `-fvisibility=hidden'
make[4]: *** [gb_la-gbx_c_class.lo] Error 1
make[4]: Leaving directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main/gbx'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/leo/Documenti/Software/Programmazione/Gambas2b/1.9.26b/gambas2-1.9.26'
make: *** [all] Error 2
-------------------------

So, I tried the "escamotage" that I read in this mailing list: delete 
lines 194&195 of file acinclude.m4 but I didn't solve: I got same 
problems listed abowe...
Could someone help me? :-(


-- 
Ciao.
Leo

Visita il mio sito personale: www.leonardomiliani.com
e-mail: leonardo at ...1237...




More information about the User mailing list