[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.
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.