<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>RE: Cross compilation error in X11R6.7.0</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi Mughilan Ramajayam, JM Ibanez and group,<BR>
  Thanks for the support ..<BR>
I have cross compiled gtk libraries with Tinyx back end for arm board and able to<BR>
 cross compile my application with the same.<BR>
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...<BR>
<BR>
[root@localhost hello]# file TESTAPP_XHTL<BR>
TESTAPP_XHTL: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped<BR>
<BR>
<BR>
The error message in the board.... when the application is crashing is as follows...<BR>
(TESTAPP_XHTL:68): Gdk-WARNING **: locale not supported by Xlib<BR>
<BR>
(TESTAPP_XHTL:68): Gdk-WARNING **: cannot set locale modifiers<BR>
<BR>
(TESTAPP_XHTL:68): Gtk-WARNING **: cannot open display:<BR>
<BR>
Thanks for the help.<BR>
<BR>
With regds,<BR>
<BR>
<BR>
<BR>
Shyjumon N<BR>
Mobile: +91-9945006965<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Mughilan Ramajayam [<A HREF="mailto:mughirp@yahoo.com">mailto:mughirp@yahoo.com</A>]<BR>
Sent: Wed 3/28/2007 7:51 AM<BR>
To: Shyjumon N.<BR>
Cc: jm@orangeandbronze.com; mughirp@yahoo.com; xorg@lists.freedesktop.org<BR>
Subject: Re: Cross compilation error in X11R6.7.0<BR>
<BR>
Two FP models cannot be mixed. Please check your toolchain.<BR>
<BR>
- Mughilan.R<BR>
<BR>
JM Ibanez <jm@orangeandbronze.com> wrote: "Shyjumon N."  writes:<BR>
<BR>
> Dear Mughilan Ramajayam,<BR>
>    Thanks for your help.<BR>
> I have ft2build.h in my include path and also i have installed freetype.<BR>
> Let me show you my error while that i am getting while cross compiling fontconfig.<BR>
> Please read the following. Something related to hardwarefp and softwarefp i am not sure about this things.<BR>
> 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/<BR>
> 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<BR>
> .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<BR>
> /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<BR>
> uses FPA instructions, whereas .libs/libfontconfig.so.1.0.4 does not<BR>
> /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<BR>
> uses hardware FP, whereas .libs/libfontconfig.so.1.0.4 uses software FP<BR>
> 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<BR>
> /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/../../../..<BR>
> /arm-linux/lib/crtn.o uses FPA instructions, whereas .libs/libfontconfig.so.1.0.4 does not<BR>
> /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/../../../..<BR>
> /arm-linux/lib/crtn.o uses hardware FP, whereas .libs/libfontconfig.so.1.0.4 uses software FP<BR>
> 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<BR>
> collect2: ld returned 1 exit status<BR>
> gmake[2]: *** [libfontconfig.la] Error 1<BR>
> gmake[2]: Leaving directory `/root/softwares/tinyx_gtk+res/fontconfig-2.3.93/src'<BR>
> gmake[1]: *** [all-recursive] Error 1<BR>
> gmake[1]: Leaving directory `/root/softwares/tinyx_gtk+res/fontconfig-2.3.93'<BR>
> gmake: *** [all] Error 2<BR>
<BR>
FP --> floating point maybe?<BR>
<BR>
One side of the code is using floating-point assembly instructions,<BR>
while another side is using software emulation or an incompatible<BR>
floating-point instructions set.<BR>
<BR>
<BR>
--<BR>
JM Ibanez<BR>
Senior Software Engineer<BR>
Orange & Bronze Software Labs, Ltd. Co.<BR>
<BR>
jm@orangeandbronze.com<BR>
<A HREF="http://software.orangeandbronze.com/">http://software.orangeandbronze.com/</A><BR>
<BR>
<BR>
<BR>
---------------------------------<BR>
Now that's room service! Choose from over 150,000 hotels<BR>
in 45,000 destinations on Yahoo! Travel to find your fit.<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>