Hi thomas you are right, i try to compile crosstool chain outside scratchbox. and i also try to build inside scratchbox. it success to build crosstool and sb-toolchain-extras. but finally when i setup new target with sb-menu. scratchbox prompt out "Could not copy C-library into target" and i see that there is no library inside /lib.
But i finally find out a non-eabi toolchain from r3 resposity. Thx Mike,Lee On Thu, May 8, 2008 at 5:22 PM, Thomas Petazzoni < [EMAIL PROTECTED]> wrote: > Le Wed, 7 May 2008 14:58:16 +0800, > "Mike Lee" <[EMAIL PROTECTED]> a écrit : > > > After i compile the crosstool and scratchbox-toolchain-extras, i can > > not use gcc and have this error > > > /scratchbox/compilers/gcc-3.4.5-glibc-2.3.2/bin/sbox-arm-unknown-linux-gnu-gcc: > > /scratchbox/host_shared/lib/libc.so.6: version `GLIBC_2.4' not found > > (required by > > > /scratchbox/compilers/gcc-3.4.5-glibc-2.3.2/bin/sbox-arm-unknown-linux-gnu-gcc) > > > > I have tried to remove /lib/libc-2.3.2.so, but i still get that error > > msg. Do you have any idea on this? > > I suspect that you compiled your toolchain *outside* of Scratchbox and > that you are later trying to integrate inside Scratchbox using > scratchbox-toolchain-extras. It cannot work because the toolchain built > outside of Scratchbox is built against your host'libc (probably very > recent), but once you try to run your toolchain inside Scratchbox, it > has to run with Scratchbox's libc (which is older). > > The easiest way is to compile your toolchain inside Scratchbox (i.e run > crosstool inside Scratchbox), so that your toolchain is compiled > against Scratchbox's glibc. > > See: > > http://lists.scratchbox.org/pipermail/scratchbox-users/2006-November/000781.html > > http://lists.scratchbox.org/pipermail/scratchbox-users/2006-November/000782.html > > http://lists.scratchbox.org/pipermail/scratchbox-users/2008-March/001196.html > > Sincerly, > > Thomas > -- > Thomas Petazzoni, Free Electrons > Free Embedded Linux Training Materials > on http://free-electrons.com/training > (More than 1500 pages!) > > _______________________________________________ > Scratchbox-users mailing list > Scratchbox-users@lists.scratchbox.org > http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users > > -- ----------- Mike Lee
_______________________________________________ Scratchbox-users mailing list Scratchbox-users@lists.scratchbox.org http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users