Re: Problem in compiling kernel

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

 



On Tue, Jun 28, 2011 at 2:07 PM, Ponkumaran Annadurai
<aspkumaran@xxxxxxxxx> wrote:
>
>
> On Tue, Jun 28, 2011 at 1:13 PM, Daniel Baluta <daniel.baluta@xxxxxxxxx>
> 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
cross-compiler
prefix in CROSS_COMPILE

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=
mips64-octeon-linux-gnu-.

Hope that things are now more clear.

thanks,
Daniel

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux