[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling Raspbian under QEMU



On 9/24/2013 5:58 PM, peter green wrote:
Jerry Stuckle wrote:
Hi, all,

I've got raspbian (Linux 3.6.8) running under QEMU on Debian under a
Virtual Box (don't ask! :) ).

I'm trying to compile a new raspbian kernel (3.6.9), but having some
problems (this is the first time I've tried to compile a kernel).

I did the 'make mrproper' followed by 'make config', loading the
existing configuration.  That all worked fine.  However, when I try to
do just 'make' to compile the kernel, I eventually get the message:

arm-linux-gnueabihf-ld: not found

Indeed, this isn't on my system.

Am I missing a package, or did I do something wrong (or both?)
Unlike the gcc packages the binutils package doesn't seem to include
files name <triplet>-<tool> in the native version.

My guess would be that whatever kernel configuration you are using is
set up for cross-compilation rather than native compilation and you need
to remove some kind of cross tool prefix setting from it (I don't
remember the exact name offhand) to make it suitable for native
compilation.



Peter,

Thanks for your response.

I suppose that is possible. However this is the "official" raspbian release from www.raspberrypi.org/downloads (2013-09-10-wheezy-raspbian.zip), so I would have expected it to be a native compilation.

However, I've dug into this a little more, and found something else interesting. uname -a show release level 3.6.8, but lib/modules has 3.6.11+. I found this out from a boot message about a missing module (/lib/modules/3.6.8/modules.dep.bin) that I had missed before.

I'm going to see if I can find another version of raspbian to try.

Thanks again,

Jerry


Reply to: