Hello !
Perhaps you know, I have problems to compile DirectFB
for my IMX/ARM
In my investigation to know why, I have found a
problem during the autoconfiguration of directFB
I precise I use eldk_arm as cross compiler (without
problem for other compilation)
This is the log of my ./configure :
# ./configure --host=arm-linux
checking for ld used by arm-linux-gcc...
/opt/eldk_arm/usr/arm-linux/bin/ld
checking if the linker
(/opt/eldk_arm/usr/arm-linux/bin/ld) is GNU ld... no
checking whether the arm-linux-gcc linker
(/opt/eldk_arm/usr/arm-linux/bin/ld) supports shared
libraries... no
checking how to hardcode library paths into
programs... unsupported
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking if the linker
(/opt/eldk_arm/usr/arm-linux/bin/ld) is GNU ld... no
checking whether the arm-linux-g++ linker
(/opt/eldk_arm/usr/arm-linux/bin/ld) supports shared
libraries... yes
checking whether the arm-linux-g++ linker
(/opt/eldk_arm/usr/arm-linux/bin/ld) supports shared
libraries... yes
checking how to hardcode library paths into
programs... unsupported
So, that is the make
# make
...
ld -o libdirectfb_fbdev.o -r
.libs/libdirectfb_fbdev.a.tmp/*.o
ld: .libs/libdirectfb_fbdev.a.tmp/agp.o :
Relocalisation in generic ELF format (EM : 40)
.libs/libdirectfb_fbdev.a.tmp/agp.o: can't read
symbols: File in a bad state
...
I dont understand why eldk_arm LD is not recognized
as a GNU ld ? and why he dont support shared
libraries in a first time, and he support them in a
second time ?
Its not very important for me to have shared library.
Static library are good.
Do you know what cross_compiler i can use ? Perhaps
the ./configure is not totally up to date ?
chris
Chris
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users