[maemo-developers] 1st compile fails - newbie

From: symedia at gmx.at symedia at gmx.at
Date: Sat Aug 16 01:21:19 EEST 2008
Hello list,

I am a newbie with maemo and have some start problems :-(

I  have installed the Diablo 4.1 schratchbox and SDK for both targets on my PC with SuSE 10.3.

Installation was successfull but the compiling of the 1st sample fails:

[sbox-DIABLO_X86: ~] > gcc -Wall -g helloworld.c -o helloworld

/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 /lib/libc.so.6 when searching for /lib/libc.so.6
/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 /lib/libc.so.6
collect2: ld returned 1 exit status

I tryed to debug:

[sbox-DIABLO_X86: ~] > pwd
/home/maemo

[sbox-DIABLO_X86: ~] > realpath  /lib/libc-2.5.so
/targets/DIABLO_X86/lib/libc-2.5.so

[[sbox-DIABLO_X86: ~] > ls -l /scratchbox/users/maemo/targets/DIABLO_X86/lib/libc.so.6
lrwxrwxrwx  1 maemo sbox 11 Aug 15 12:30 /scratchbox/users/maemo/targets/DIABLO_X86/lib/libc.so.6 -> libc-2.5.so


Can somebody tell me what could be wrong ?


Thank you very much

Zlatko, Vienna

-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

More information about the maemo-developers mailing list