Compile Issue


michu

Still Fresh
Joined
Mar 6, 2006
Messages
60
Website
www.neophob.com
I try to compile pango, the problem is, when I start the make command, I get this error:

gp2x-gcc -mcpu=arm920t -Wall -o .libs/pango-querymodules querymodules.o ./.libs/libpangox-1.0.so /gp2x/_BOB/gpsdrive/pango-1.9.1/pango/.libs/libpango-1.0.so -L/usr/local/gp2xdev//lib -L/usr/local/gp2xdev/lib -L/usr/local/gp2xdev/X11R6/lib/ -lX11 ./.libs/libpango-1.0.so -lm /usr/local/gp2xdev//lib/libgobject-2.0.so /usr/local/gp2xdev//lib/libgmodule-2.0.so -ldl /usr/local/gp2xdev//lib/libglib-2.0.so -Wl,--rpath -Wl,/usr/local/gp2xdev//lib
/usr/local/gp2xdev/lib/gcc/gp2x/4.0.2/../../../../gp2x/lib/crt1.o: In function `_start':
../sysdeps/arm/elf/start.S:94: undefined reference to `__libc_csu_fini'
../sysdeps/arm/elf/start.S:94: undefined reference to `__libc_csu_init'
collect2: ld returned 1 exit status
make[4]: *** [pango-querymodules] Error 1


I used this command to configure:
CFLAGS=-I/usr/local/gp2xdev/include CFLAGS=-O3 CFLAGS=-ffast-math CFLAGS=-fomit-frame-pointer CFLAGS=-mcpu=arm920t DFLAGS=-L/usr/local/gp2xdev/lib CC=gp2x-gcc CXX=gp2x-g++ ./configure --prefix=/usr/local/gp2xdev/ --build=`uname -m` --host=gp2x --enable-shared --enable-static --x-includes=/usr/local/gp2xdev/X11R6/include/ --x-libraries=/usr/local/gp2xdev/X11R6/lib/

somewhere i read that this coulb be because we use the wrong compiler, so i should fix a env. variable...

btw: im using deb. linux and oopo's toolchain, which works normally fine for me. but i dont have a clue about this error!

cheers
 
Back
Top