[Jamvm-general] FTBFS on IA32 using GCC version < 4.5
Brought to you by:
rlougher
From: Xerxes R. <xe...@za...> - 2011-08-08 12:46:02
|
Hi, When building JamVM on IA32 older gcc version (GCC < 4.5) then JamVM fails to build from source with the following error: make[5]: Entering directory `/home/xerxes/jamvm/src/os/linux/i386' /bin/bash ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../src -I../../../../src -g -O2 -MT dll_md.lo -MD -MP -MF .deps/dll_md.Tpo -c -o dll_md.lo dll_md.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../src -I../../../../src -I../../../../src -g -O2 -MT dll_md.lo -MD -MP -MF .deps/dll_md.Tpo -c dll_md.c -fPIC -DPIC -o .libs/dll_md.o dll_md.c: In function 'callJNIMethod': dll_md.c:68: error: expected string literal before ')' token make[5]: *** [dll_md.lo] Error 1 The attached fix and makes JamVM build from source again by removing the empty clobber list part of the ASM statement. Cheers Xerxes |