Re: cross compile for arm problem

Micah Dowty <[email protected]> Wed, 30 Apr 2003 11:28:45 -0600
Newsgroups gmane.comp.video.picogui.devel
Message-ID <[email protected]>
On Wed, Apr 30, 2003 at 12:56:52PM +0200, Peter Hermsdorf wrote:
> ok, the empty --prefix option in my configure statement caused the 
> linker error.
> 
> now i have
> 
> arm-linux-gcc 
> -I/home/peter/buildroot-neu/buildroot-oz/output/staging/include/ 
> -I/usr/include/freetype2 -O3 -fomit-frame-pointer -Wl,-rpath 
> /home/peter/buildroot-neu/buildroot-oz/output/rootfs/usr/lib -o pgserver 
> pgmain.o  
> -L/home/peter/buildroot-neu/buildroot-oz/output/staging/target/lib 
> ./.libs/libpgserver.a -lm -lm -lm -lz -lpng -lm /usr/lib/libfreetype.so 
> /usr/lib/libjpeg.so
> /usr/lib/libfreetype.so: could not read symbols: Invalid operation
> 
> ..... i don`t know how to suppress the -lm /usr/lib/libfreetype.so 
> /usr/lib/libjpeg.so ... haven`t found it in the makefile.
> however, when entering the above command (manually) without -lm 
> /usr/lib/libfreetype.so /usr/lib/libjpeg.so then the linker complains 
> about undefined references, ala
> 
> ./.libs/libpgserver.a(font_freetype.): In function `freetype_engine_init':
> font_freetype.(.text+0x10): undefined reference to `FT_Init_FreeType'
> font_freetype.(.text+0x80): undefined reference to `FTC_Manager_New'
> 
> but that seems not be an picogui specific issue. i would guess it has 
> something to do with freetype version mismatch stuff .... dunno...
> what a pain...... :)......

If it was only missing FTC_Manager_New that could mean your freetype is
too old, (pg requires 2.1.3) but not finding FT_Init_FreeType is rather strange.

--Micah

-- 
Only you can prevent creeping featurism!


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf