[Liboil] Error Compiling on ARM with GCC 2.3.6
Davi Trindade
davitrindade at gmail.com
Thu Mar 13 11:03:44 PDT 2008
Hello everyone,
As I said in the title, I'm getting an error compiling liboil 0.3.13
on ARM using glibc 2.3.6 and gcc 3.4.5.
This is the output:
make all-recursive
make[1]: Entering directory
`/home/dtsantos/Desktop/LEVAR/swfdec_dep/liboil-0.3.13'
Making all in liboil
make[2]: Entering directory
`/home/dtsantos/Desktop/LEVAR/swfdec_dep/liboil-0.3.13/liboil'
Making all in c
make[3]: Entering directory
`/home/dtsantos/Desktop/LEVAR/swfdec_dep/liboil-0.3.13/liboil/c'
if /bin/bash ../../libtool --tag=CC --mode=compile arm-linux-gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -Wall -mfpu=vfp -mfloat-abi=softfp
-D_BSD_SOURCE -D_GNU_SOURCE -I../.. -DOIL_ENABLE_UNSTABLE_API -g -O2
-MT lib_c_la-ag_clamp.lo -MD -MP -MF ".deps/lib_c_la-ag_clamp.Tpo" -c
-o lib_c_la-ag_clamp.lo `test -f 'ag_clamp.c' || echo './'`ag_clamp.c;
\
then mv -f ".deps/lib_c_la-ag_clamp.Tpo"
".deps/lib_c_la-ag_clamp.Plo"; else rm -f
".deps/lib_c_la-ag_clamp.Tpo"; exit 1; fi
arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -mfpu=vfp
-mfloat-abi=softfp -D_BSD_SOURCE -D_GNU_SOURCE -I../..
-DOIL_ENABLE_UNSTABLE_API -g -O2 -MT lib_c_la-ag_clamp.lo -MD -MP -MF
.deps/lib_c_la-ag_clamp.Tpo -c ag_clamp.c -fPIC -DPIC -o
.libs/lib_c_la-ag_clamp.o
cc1: error: invalid option `fpu=vfp'
cc1: error: invalid option `float-abi=softfp'
make[3]: *** [lib_c_la-ag_clamp.lo] Error 1
make[3]: Leaving directory
`/home/dtsantos/Desktop/LEVAR/swfdec_dep/liboil-0.3.13/liboil/c'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/dtsantos/Desktop/LEVAR/swfdec_dep/liboil-0.3.13/liboil'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/dtsantos/Desktop/LEVAR/swfdec_dep/liboil-0.3.13'
make: *** [all] Error 2
Anyone knows what's the problem? Why the two flags are not acepted by
the compiler?
Thanks in advance,
--
Davi
More information about the Liboil
mailing list