freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] "libtool: error: 'ftsystem.lo' is not a valid libtool object"


From: address@hidden
Subject: [ft-devel] "libtool: error: 'ftsystem.lo' is not a valid libtool object" when compiling for Android
Date: Tue, 4 Aug 2015 23:11:04 +0200

Hi, i'm trying to compile freetype for Android (arm-linux-androideabi-gcc), because is needed for an app i'm trying to port (it says undefined reference) (the app is the darkplaces engine)

When i try to compile freetype 2.6, after executing the ./configure script, at a certain point it shows this error:

libtool:   error: '/home/kezio/freetype-2.6/objs/ftsystem.lo' is not a valid libtool object

I tried with different sdk, this is with crystax but it doesn't work with the default ndk too.
if i make with the normal gcc it doesn't give errrors, if i use the android arm one it wont compile.

I found on Google similar problems, refering to this as a bug, but the answers werent adequate for this case...
I don't know what to do.

Here's the complete output when trying to make again:

$ make CC="/home/kezio/Scrivania/Progetti/Android-DEV/crystax-ndk-10.2.1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/kezio/Scrivania/Progetti/Android-DEV/crystax-ndk-10.2.1/platforms/android-21/arch-arm"

./builds/unix/libtool --mode=link /home/kezio/Scrivania/Progetti/Android-DEV/crystax-ndk-10.2.1/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/home/kezio/Scrivania/Progetti/Android-DEV/crystax-ndk-10.2.1/platforms/android-21/arch-arm -o /home/kezio/freetype-2.6/objs/libfreetype.la  /home/kezio/freetype-2.6/objs/ftsystem.lo /home/kezio/freetype-2.6/objs/ftdebug.lo /home/kezio/freetype-2.6/objs/ftinit.lo /home/kezio/freetype-2.6/objs/ftbase.lo /home/kezio/freetype-2.6/objs/ftbbox.lo /home/kezio/freetype-2.6/objs/ftbdf.lo /home/kezio/freetype-2.6/objs/ftbitmap.lo /home/kezio/freetype-2.6/objs/ftcid.lo /home/kezio/freetype-2.6/objs/ftfntfmt.lo /home/kezio/freetype-2.6/objs/ftfstype.lo /home/kezio/freetype-2.6/objs/ftgasp.lo /home/kezio/freetype-2.6/objs/ftglyph.lo /home/kezio/freetype-2.6/objs/ftgxval.lo /home/kezio/freetype-2.6/objs/ftlcdfil.lo /home/kezio/freetype-2.6/objs/ftmm.lo /home/kezio/freetype-2.6/objs/ftotval.lo /home/kezio/freetype-2.6/objs/ftpatent.lo /home/kezio/freetype-2.6/objs/ftpfr.lo /home/kezio/freetype-2.6/objs/ftstroke.lo /home/kezio/freetype-2.6/objs/ftsynth.lo /home/kezio/freetype-2.6/objs/fttype1.lo /home/kezio/freetype-2.6/objs/ftwinfnt.lo /home/kezio/freetype-2.6/objs/truetype.lo /home/kezio/freetype-2.6/objs/type1.lo /home/kezio/freetype-2.6/objs/cff.lo /home/kezio/freetype-2.6/objs/type1cid.lo /home/kezio/freetype-2.6/objs/pfr.lo /home/kezio/freetype-2.6/objs/type42.lo /home/kezio/freetype-2.6/objs/winfnt.lo /home/kezio/freetype-2.6/objs/pcf.lo /home/kezio/freetype-2.6/objs/bdf.lo /home/kezio/freetype-2.6/objs/sfnt.lo /home/kezio/freetype-2.6/objs/autofit.lo /home/kezio/freetype-2.6/objs/pshinter.lo /home/kezio/freetype-2.6/objs/raster.lo /home/kezio/freetype-2.6/objs/smooth.lo /home/kezio/freetype-2.6/objs/ftcache.lo /home/kezio/freetype-2.6/objs/ftgzip.lo /home/kezio/freetype-2.6/objs/ftlzw.lo /home/kezio/freetype-2.6/objs/ftbzip2.lo /home/kezio/freetype-2.6/objs/psaux.lo /home/kezio/freetype-2.6/objs/psnames.lo -rpath /usr/local/lib -version-info 18:0:12 -L/usr/lib/x86_64-linux-gnu -lz  -lpng12  -no-undefined

libtool:   error: '/home/kezio/freetype-2.6/objs/ftsystem.lo' is not a valid libtool object
libtool:   error: '/home/kezio/freetype-2.6/objs/ftsystem.lo' is not a valid libtool object
config.mk:55: recipe for target '/home/kezio/freetype-2.6/objs/libfreetype.la' failed

make: *** [/home/kezio/freetype-2.6/objs/libfreetype.la] Error 1


Am i doing something wrong? Can i get this to compile?
Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]