[SOLVED] Issue while cross compiling kernel on fedara 14 host
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Issue while cross compiling kernel on fedara 14 host
I am cross compiling a linux kernel for the mips platform. My host is a fedora 14 system. I have installed the tool chain and everything. When i try to build the kernel i get the following error message.
HOSTCC -static scripts/basic/fixdep
scripts/basic/fixdep.c: In function ‘traps’:
scripts/basic/fixdep.c:377:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
scripts/basic/fixdep.c:379:4: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
If i set up the toolchain on a fedora 13 machine with the exact same procedure, the cross compilation works fine. I can't figure out how this can be fixed. I am currently considering downgrading to fedora 13 due to this.
I had earlier seen the exact same issue while cross compiling some software packages. I thought that there we issues in the build scripts of the packages. But now it is getting clearer that there is something to do with the packages installed with fedora 14.