Problem in compiling kernel

Daniel Baluta daniel.baluta at
Tue Jun 28 07:29:23 EDT 2011

On Tue, Jun 28, 2011 at 2:07 PM, Ponkumaran Annadurai
<aspkumaran at> wrote:
> On Tue, Jun 28, 2011 at 1:13 PM, Daniel Baluta <daniel.baluta at>
> wrote:
>> >> Have you tried to setup some sort of cross-compilation environment?
>> >> Could you check CROSS_COMPILE env variable?
>> >  Yes, I have given yes for that option during configuration
>> OK, then that's your problem. CROSS_COMPILE is a string
>> pointing to your cross compiler prefix.
>> thanks,
>> Daniel.
> Yes, It worked. Thank you sir. But I couldn't understand the reason. Can you
> explain this to me?

Please keep kernelnewbies to CC:, so that other can read about this problem
if they hit it.

The reason for which it didn't work is that you haven't set a valid

When you set a cross-compiler prefix, the value stored in CROSS_COMPILE is
concatenated with the name of each tool used to compile your kernel.

For example, objdump will be used as ${CROSS_COMPILE}objdump. You set
CROSS_COMPILE=Y, and the tool to be used is now named Yobjdump, which
obviously doesn't exist.

Valid values for CROSS_COMPILE look like this: CROSS_COMPILE=

Hope that things are now more clear.


More information about the Kernelnewbies mailing list