Re: arm-linux-gcc compile error



Hi
thanks for ur reply
but we are not sure in which makefile to include those Flags
and shud we recomplie the gtk package after that inclusion.
as we are to recompile for the cross-compiler arm-linux-gcc

however i included those flags into the gtk1.2.10 makefile and recompiled it
we got these errors on using make:


/opt/EncoreSimputer-tools/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld:
gdkcc.lo: fil e format not recognized; treating as linker script

/opt/EncoreSimputer-tools/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld:
gdkcc.lo:2: s yntax error
collect2: ld returned 1 exit status
make[2]: *** [libgdk.la <http://libgdk.la>] Error 1
make[2]: Leaving directory `/opt/EncoreSimputer-tools/gtk1.2/gtk+-1.2.10
/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/EncoreSimputer-tools/gtk1.2/gtk+-1.2.10'
make: *** [all-recursive-am] Error 2

Thanks 
Vishnu

On 7/30/05, palm topen <palmtopen gmail com> wrote:

Add the following in your Makefile and add gtk lib path into your
PKG_CONFIG environment .

GTKCFLAGS = `pkg-config --cflags gtk+-2.0` -DGTK_ENABLE_BROKEN
GTKLDFLAGS += `pkg-config --libs gtk+-2.0`


On 7/29/05, Raghavendra <raghaven kumar gmail com> wrote:

Hi
we are developing a application for Simputer(basically Encore ones) .
the application works well under gcc
but
when arm-linux-gcc is used to compile this error comes


/opt/EncoreSimputer-tools/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld:
cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status


as it here shows a path here thre is no such ling path
while ld is in the directory
/opt/EncoreSimputer-tools/lib/gcc/arm-linux/bin/ld .
now we dont know whats the problem in here
and how to solve it.

PS: the arm-linux-gcc was provided by the Encore Simputers.

Thank You
Vishnu

_______________________________________________




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]