Cross compilation error in X11R6.7.0
Mughilan Ramajayam
mughirp at yahoo.com
Sun Apr 1 20:19:16 PDT 2007
Hi Shyjumon,
It sounds like you need to install new locale. I haven't faced such, so would suggest googling or posting the same again here in Xorg, changing the Subject line. I hope you could get help from other Xorg members too. Few good resources could pop-up.
Regarding the display, you need to figure out whether you have installed the appropriate display driver or a framebuffer driver (in case, you use a framebuffer device). And also set the display environment variable.
Regards,
Mughilan
"Shyjumon N." <shyjumon.n at ttec.soc-soft.com> wrote: RE: Cross compilation error in X11R6.7.0 Hi Mughilan Ramajayam, JM Ibanez and group,
Thanks for the support ..
I have cross compiled gtk libraries with Tinyx back end for arm board and able to
cross compile my application with the same.
But when i am running the application on board i am getting the following error... please read the following.. any clues why the application is crashing...
[root at localhost hello]# file TESTAPP_XHTL
TESTAPP_XHTL: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
The error message in the board.... when the application is crashing is as follows...
(TESTAPP_XHTL:68): Gdk-WARNING **: locale not supported by Xlib
(TESTAPP_XHTL:68): Gdk-WARNING **: cannot set locale modifiers
(TESTAPP_XHTL:68): Gtk-WARNING **: cannot open display:
Thanks for the help.
With regds,
Shyjumon N
Mobile: +91-9945006965
-----Original Message-----
From: Mughilan Ramajayam [mailto:mughirp at yahoo.com]
Sent: Wed 3/28/2007 7:51 AM
To: Shyjumon N.
Cc: jm at orangeandbronze.com; mughirp at yahoo.com; xorg at lists.freedesktop.org
Subject: Re: Cross compilation error in X11R6.7.0
Two FP models cannot be mixed. Please check your toolchain.
- Mughilan.R
JM Ibanez <jm at orangeandbronze.com> wrote: "Shyjumon N." writes:
> Dear Mughilan Ramajayam,
> Thanks for your help.
> I have ft2build.h in my include path and also i have installed freetype.
> Let me show you my error while that i am getting while cross compiling fontconfig.
> Please read the following. Something related to hardwarefp and softwarefp i am not sure about this things.
> arm-linux-gcc -shared .libs/fcatomic.o .libs/fcblanks.o .libs/fccache.o .libs/fccfg.o .libs/fccharset.o .libs/fcdbg.o .libs/fcdefault.o .libs/fcdir.o .libs/
> fcfreetype.o .libs/fcfs.o .libs/fcinit.o .libs/fclang.o .libs/fclist.o .libs/fcmatch.o .libs/fcmatrix.o .libs/fcname.o .libs/fcpat.o .libs/fcstr.o .libs/fcxml.o
> .libs/ftglue.o -L/opt/tinyx-gtk/lib /opt/tinyx-gtk/lib/libfreetype.a -lz -Wl,-soname -Wl,libfontconfig.so.1 -o .libs/libfontconfig.so.1.0.4
> /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/crtendS.o
> uses FPA instructions, whereas .libs/libfontconfig.so.1.0.4 does not
> /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/crtendS.o
> uses hardware FP, whereas .libs/libfontconfig.so.1.0.4 uses software FP
> File format not recognized: failed to merge target specific data of file /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/crtendS.o
> /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../..
> /arm-linux/lib/crtn.o uses FPA instructions, whereas .libs/libfontconfig.so.1.0.4 does not
> /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: ERROR: /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../..
> /arm-linux/lib/crtn.o uses hardware FP, whereas .libs/libfontconfig.so.1.0.4 uses software FP
> File format not recognized: failed to merge target specific data of file /root/crslib/arm/3.3.1/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/lib/crtn.o
> collect2: ld returned 1 exit status
> gmake[2]: *** [libfontconfig.la] Error 1
> gmake[2]: Leaving directory `/root/softwares/tinyx_gtk+res/fontconfig-2.3.93/src'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/root/softwares/tinyx_gtk+res/fontconfig-2.3.93'
> gmake: *** [all] Error 2
FP --> floating point maybe?
One side of the code is using floating-point assembly instructions,
while another side is using software emulation or an incompatible
floating-point instructions set.
--
JM Ibanez
Senior Software Engineer
Orange & Bronze Software Labs, Ltd. Co.
jm at orangeandbronze.com
http://software.orangeandbronze.com/
---------------------------------
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
---------------------------------
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20070401/d22d5166/attachment.html>
More information about the xorg
mailing list