> Hello to all. In last revisions I can't anymore compile gambas in my > ubuntu 10.04 32-bit (gcc 4.4.3). > I'm using svn rev 3071 and I did ./reconf; configure and make clean. > The last lines of make output: > > gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/opt/gambas3/bin\"" > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os > -I../share -D_REENTRANT -MT gbx3-gbx_c_process.o -MD -MP -MF > .deps/gbx3-gbx_c_process.Tpo -c -o gbx3-gbx_c_process.o `test -f > 'gbx_c_process.c' || echo './'`gbx_c_process.c > gbx_c_process.c: In function ‘run_process’: > gbx_c_process.c:542: warning: ignoring return value of ‘chdir’, > declared with attribute warn_unused_result > gbx_c_process.c: In function ‘callback_child’: > gbx_c_process.c:573: warning: ignoring return value of ‘read’, > declared with attribute warn_unused_result > gbx_c_process.c: In function ‘signal_child’: > gbx_c_process.c:619: warning: ignoring return value of ‘write’, > declared with attribute warn_unused_result > mv -f .deps/gbx3-gbx_c_process.Tpo .deps/gbx3-gbx_c_process.Po > gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/opt/gambas3/bin\"" > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os > -I../share -D_REENTRANT -MT gbx3-gbx_c_subcollection.o -MD -MP -MF > .deps/gbx3-gbx_c_subcollection.Tpo -c -o gbx3-gbx_c_subcollection.o > `test -f 'gbx_c_subcollection.c' || echo './'`gbx_c_subcollection.c > mv -f .deps/gbx3-gbx_c_subcollection.Tpo .deps/gbx3-gbx_c_subcollection.Po > gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/opt/gambas3/bin\"" > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os > -I../share -D_REENTRANT -MT gbx3-gbx_c_string.o -MD -MP -MF > .deps/gbx3-gbx_c_string.Tpo -c -o gbx3-gbx_c_string.o `test -f > 'gbx_c_string.c' || echo './'`gbx_c_string.c > mv -f .deps/gbx3-gbx_c_string.Tpo .deps/gbx3-gbx_c_string.Po > gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/opt/gambas3/bin\"" > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os > -I../share -D_REENTRANT -MT gbx3-gbx_component.o -MD -MP -MF > .deps/gbx3-gbx_component.Tpo -c -o gbx3-gbx_component.o `test -f > 'gbx_component.c' || echo './'`gbx_component.c > mv -f .deps/gbx3-gbx_component.Tpo .deps/gbx3-gbx_component.Po > gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/opt/gambas3/bin\"" > -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os > -I../share -D_REENTRANT -MT gbx3-gbx_extern.o -MD -MP -MF > .deps/gbx3-gbx_extern.Tpo -c -o gbx3-gbx_extern.o `test -f > 'gbx_extern.c' || echo './'`gbx_extern.c > gbx_extern.c: In function ‘EXTERN_call’: > gbx_extern.c:655: warning: implicit declaration of function ‘THROW_ILLEGAL’ > gbx_extern.c: At top level: > gbx_extern.c:666: error: expected ‘)’ before ‘*’ token > make[4]: ** [gbx3-gbx_extern.o] Erro 1 > make[4]: Saindo do diretório `/home/tenchi/projects/gambas3/main/gbx' > make[3]: ** [all-recursive] Erro 1 > make[3]: Saindo do diretório `/home/tenchi/projects/gambas3/main' > make[2]: ** [all] Erro 2 > make[2]: Saindo do diretório `/home/tenchi/projects/gambas3/main' > make[1]: ** [all-recursive] Erro 1 > make[1]: Saindo do diretório `/home/tenchi/projects/gambas3' > make: ** [all] Erro 2 > ten...@jurai:~/projects/gambas3 >
Fixed in revision #3072. But you should install the libffi development packages, otherwise you won't be able to use extern functions. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user