[Gambas-user] Error compiling the SVN version

Leonardo Miliani leonardo at ...1237...
Mon Feb 4 23:09:11 CET 2008


Today I've downloaded the last SVN version of Gambas and tried to
compile it on the _same_ machine where I compiled with no errors Gambas 2.0.
Reconf-all didn't give any error messagge, and the same was for ./configure.
But when I gave the make command, the compilation stopped with these errors:

-----------------------------------
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../share    -I../libltdl
-DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value
-fvisibility=hidden -g -Os  -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; \
        then mv -f ".deps/gbx3-gbx_c_string.Tpo"
".deps/gbx3-gbx_c_string.Po"; else rm -f ".deps/gbx3-gbx_c_string.Tpo";
exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../share    -I../libltdl
-DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value
-fvisibility=hidden -g -Os  -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; \
        then mv -f ".deps/gbx3-gbx_component.Tpo"
".deps/gbx3-gbx_component.Po"; else rm -f
".deps/gbx3-gbx_component.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../share    -I../libltdl
-DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value
-fvisibility=hidden -g -Os  -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; \
        then mv -f ".deps/gbx3-gbx_extern.Tpo"
".deps/gbx3-gbx_extern.Po"; else rm -f ".deps/gbx3-gbx_extern.Tpo"; exit
1; fi
gbx_extern.c:30:17: error: ffi.h: Nessun file o directory
gbx_extern.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
gbx_extern.c: In function 'EXTERN_call':
gbx_extern.c:244: error: 'ffi_cif' undeclared (first use in this function)
gbx_extern.c:244: error: (Each undeclared identifier is reported only once
gbx_extern.c:244: error: for each function it appears in.)
gbx_extern.c:244: error: expected ';' before 'cif'
gbx_extern.c:245: error: 'ffi_type' undeclared (first use in this function)
gbx_extern.c:245: error: 'types' undeclared (first use in this function)
gbx_extern.c:246: error: 'rtype' undeclared (first use in this function)
gbx_extern.c:282: error: '_to_ffi_type' undeclared (first use in this
function)
gbx_extern.c:338: warning: implicit declaration of function 'ffi_prep_cif'
gbx_extern.c:338: error: 'cif' undeclared (first use in this function)
gbx_extern.c:338: error: 'FFI_DEFAULT_ABI' undeclared (first use in this
function)
gbx_extern.c:338: error: 'FFI_OK' undeclared (first use in this function)
gbx_extern.c:341: warning: implicit declaration of function 'ffi_call'
make[4]: *** [gbx3-gbx_extern.o] Error 1
make[4]: Leaving directory
`/home/leo/Documenti/Software/Programmazione/Gambas2b/trunk/main/gbx'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/leo/Documenti/Software/Programmazione/Gambas2b/trunk/main'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/leo/Documenti/Software/Programmazione/Gambas2b/trunk/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/leo/Documenti/Software/Programmazione/Gambas2b/trunk'
make: *** [all] Error 2
----------------------------------------------------------

-- 
Ciao.
Leo.

Web: www.leonardomiliani.com
E-mail: leonardo at ...1237...

Co-fondatore di Gambas-it.org: www.gambas-it.org
(il sito italiano dedicato alla comunità di Gambas)

Scegli software opensource - Choose opensource software




More information about the User mailing list