[maemo-developers] Problems compiling HelloWorld for gtk+

From: acano at dsic.upv.es acano at dsic.upv.es
Date: Sat Jan 23 21:16:57 EET 2010
Hi Everyone,

I write you because I am having problems when compiling the program  
holamundo for gtk that is shown in the documentacion.

Here is the error I obtain:

[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] >

Please, can someone help me.

Thanks and Regards,

A. Cano


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the maemo-developers mailing list