|
|
2009-11-28
, 09:43
|
|
Posts: 3 |
Thanked: 0 times |
Joined on Nov 2009
|
#2
|
|
|
2009-11-28
, 10:14
|
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#3
|
|
|
2009-11-28
, 11:06
|
|
Posts: 3 |
Thanked: 0 times |
Joined on Nov 2009
|
#4
|
|
|
2009-11-28
, 13:29
|
|
Posts: 8 |
Thanked: 0 times |
Joined on Nov 2009
|
#5
|
I am running under x86 environment using following command: gcc -Wall -g gtk_helloworld-1.c \
`pkg-config --cflags gtk+-2.0` -o gtk_helloworld-1 \
`pkg-config --libs gtk+-2.0`
I am getting error as: /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible //usr/lib/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0
/scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-linux-gnueabi/3.4.4/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
This working well under ARMEL environment but It's not working in x86.
So please help me.
Thank you