View Single Post
Old 06-03-2012, 12:05 PM   #26
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by elRicharD View Post
My env consists of the ubuntu package arm-linux-gnueabi How is the kernel headers thing done? Should I get them from kernel.org, unzip them and then use some parameter in ./configure to use those?

I have some experience in cross-compiling, I own a Dingoo A320 and compiled Dingux for it, but they have a readily available toolchain, I just got the compiler, not the libs. Where are those to be downloaded? I didn't think that could be an issue, and since libasound and mpg123 compiled just fine I didn't look further...

Thanks again!
Duh...
You got me.
Will have to do a bit of research on how to do this with only a cross toolchain.

Meanwhile, ever use scratchbox2?
Neither have I, but it seems to be the popular cross-compile engine these days, and:
apt-cache search scratchbox
Yup - it is there
sudo apt-get update
sudo apt-get install scratchbox2 (and maybe some of the related packages)

Although I would have to start off at ground zero researching how to use it.
Other devs here do use scratchbox2 - so we may get some help.

Your other question -
(after you either get a cross-environment or at least build up a chroot where things like the kernel headers for some other version can be installed)

There is a sticky here that lists links to the Amazon source bundles -
Grab yourself a copy matching your device.

We can worry about building it for the armv6l (and older kernel versions) after we get it working for your hardware.
knc1 is offline   Reply With Quote