I succed to solve it by changing the computer targeting to arm.
Thank you very much for your useful help.
Best Regards,
A. CAno
Quoting Kees Jongenburger <kees.jongenbur...@gmail.com>:
On Sat, Jan 23, 2010 at 8:16 PM, <ac...@dsic.upv.es> wrote:
Hi Everyone,
Hi A,
I write you because I am having problems when compiling the program
holamundo for gtk that is shown in the documentacion.
[sbox-FREMANTLE_ARMEL: ~/proyectos/holamundo] > gcc -Wall -g gtk_holamundo.c
`pkg-config --cflags gtk+-2.0` -o gtk_holamundo `pkg-config --libs
gtk+-2.0`
/scratchbox/compilers/host-gcc/bin/ld: skipping incompatible
/usr/lib/libgtk-x11-2.0.so when searching for -lgtk-x11-2.0
/scratchbox/compilers/host-gcc/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status
[sbox-FREMANTLE_ARMEL: ~/proyectos/holamundo] >
It looks like your compiler and libs are not compatible with each other.
Because I see /scratchbox/compilers/host-gcc/bin/ld I would guess you
somehow are not using the compiler targeting
arm
can you send us the output of
gcc -dumpmachine
and a "file" on the so files (here is what it looks like for me)
[sbox-FREMANTLE_ARMEL: ~] > gcc -dumpmachine
arm-none-linux-gnueabi
[sbox-FREMANTLE_ARMEL: ~] > file /usr/lib/libgtk-x11-2.0.so
/usr/lib/libgtk-x11-2.0.so: symbolic link to `libgtk-x11-2.0.so.0.1400.7'
[sbox-FREMANTLE_ARMEL: ~] > file /usr/lib/libgtk-x11-2.0.so.0.1400.7
/usr/lib/libgtk-x11-2.0.so.0.1400.7: ELF 32-bit LSB shared object,
ARM, version 1 (SYSV), stripped
Greetings
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers