[Scratchbox-users] problem with scratchbox
sfora dim
sfora.dim at gmail.com
Sun Jun 3 13:43:25 EEST 2007
hello,
My target is OMAP2430. I already have a working 3rd party pre compiled
toolchain for it.
In addition, I already have a working target filesystem, which were compiled
with my 3rd party toolchain. It is bootable and has libc inside.
I only want to use scratchbox to add small additions, like dbus.
If I use a scratchbox toolchain, like scratchbox-toolchain-arm-linux-2006q3-27,
and tell sb-menu to copy libc files to the target, I manage to compile
everything
cleanly. on top of this I copied some files from my precompiled filesystem
(like busybox and kernel modules). I kept the scratchbox /lib files
and not taken
the /lib from my precompiled filesystem.
But when I try to boot from this filesystem (with a kernel I compile using my
3rd party toolchain),
I get "Kernel panic - not syncing: Attempted to kill init!".
So I tried to tell sb-menu not to copy the libc files to the target.
Instead I just
copied the whole bunch from my precompiled filesystem, including the /lib and
everything. But now when I run "./configure" from within scratchbox, the
./configure script schouts the following:
"checking whether the C compiler works... configure: error: cannot run
C compiled
programs. If you want to cross compile, use '--host'.".
Do you have any idea what I should do ?
Do I have to to setup my 3rd party toolchain as a foreign scratchbox toolchain ?
thank you,
sfora
More information about the Scratchbox-users
mailing list