[maemo-developers] 1st compile fails - newbie

From: Danny Milosavljevic danny.milo at scratchpost.org
Date: Sat Aug 16 13:10:03 EEST 2008
Hi,

On Sat, 16 Aug 2008 00:21:19 +0200, symedia wrote:
> [sbox-DIABLO_X86: ~] > gcc -Wall -g helloworld.c -o helloworld
> [...]
> skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6
> /scratchbox/compilers/cs2005q3.2-glibc2.5-arm/bin/../lib/gcc/arm-none-
                                            ^^^

are you trying to compile for ARM or for X86? 
If you are trying to compile for ARM, your libraries are the wrong ones 
(X86).
If you are trying to compile for X86, your compiler is the wrong one 
(ARM).

cheers,
  Danny




More information about the maemo-developers mailing list