List Info

Thread: errors in cross compiling demo application




errors in cross compiling demo application
country flaguser name
India
2007-10-08 03:33:02

hai all,

I am trying to cross compile gtk+-directfb-2.0.9 for ARM92 board using toolchain arm-linux, I  have set all variables like CC,LD,AS,AR,RANLIB,STRIP correctly.
including variables like LD_LIBRARY_PATH,PKG_CONFIG_PATH,LD_RUN_PATH and also all the flags like BASE_DEPENDENCIES_CFLAGS,BASE_DEPENDENCIES_LIBS,GLIB_CFLAGS,GLIB_LIBS,PANGO_CFLAGS,PANGO_LIBS


below is my configure

./configure  --host=arm-linux --build=i686-linux --prefix=$PREFIX --enable-static=yes --without-x --with-gdktarget=directfb --without-libtiff --without-libjpeg --disable-glibtest --disable-modules --disable-largefile
i have some how cross compiled gtk,, but when i cross compile a simple hello world program,,
this is what i get,, can anyone help??

/opt/gtkdfb-arm/lib/libfontconfig.la: file not recognized: File format not recognized
collect2: ld returned 1 exit status
______________________________________________________________________
Re: errors in cross compiling demo application
country flaguser name
United Kingdom
2007-10-08 04:09:02
On Mon, 2007-10-08 at 14:03 +0530, Shilpa Singh wrote:
> 
> hai all, 
> 
> I am trying to cross compile gtk+-directfb-2.0.9 for
ARM92 board using
> toolchain arm-linux, I  have set all variables like
> CC,LD,AS,AR,RANLIB,STRIP correctly. 
> including variables like
LD_LIBRARY_PATH,PKG_CONFIG_PATH,LD_RUN_PATH
> and also all the flags like
>
BASE_DEPENDENCIES_CFLAGS,BASE_DEPENDENCIES_LIBS,GLIB_CFLAGS,
GLIB_LIBS,PANGO_CFLAGS,PANGO_LIBS 
> 
> 
> below is my configure 
> 
> ./configure  --host=arm-linux --build=i686-linux
--prefix=$PREFIX
> --enable-static=yes --without-x
--with-gdktarget=directfb
> --without-libtiff --without-libjpeg --disable-glibtest
> --disable-modules --disable-largefile 
> i have some how cross compiled gtk,, but when i cross
compile a simple
> hello world program,, 
> this is what i get,, can anyone help?? 
> 
> /opt/gtkdfb-arm/lib/libfontconfig.la: file not
recognized: File format
> not recognized 
> collect2: ld returned 1 exit status 

In most cases this is due to the wrong linker being called.
Can you
verify that the correct linker (for cross-compiling) is
being invoked,
and not the system linker (/usr/bin/ld)?

Simos


_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )