Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hello all,
I am having difficulty in setting up a cross compile environment, I appear to have got as far as compiling the kernel with the ./build_kernel script, but it keeps failing with the following errors:
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
CC scripts/mod/empty.o
cc1: error: invalid option `little-endian'
cc1: error: invalid option `apcs'
cc1: error: invalid option `no-sched-prolog'
cc1: error: invalid option `abi=apcs-gnu'
scripts/mod/empty.c:1: error: bad value (xscale) for -mtune= switch
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
Does anyone have a clue what I may have done wrong?
Many thanks
Prak
Offline
Looks like it's using the wrong compiler. build_kernel should pass sth like CROSS_COMPILE=... to 'make' (e.g. arm-linux-, but depending on the toolchain).
Offline
OK, time to fuss up!
Numpty boy Prak had not actually got as far as compiling the kernel, because he hadn't installed bzip2 and most of the building tool chain sources are in .bz2 files, so he hadn't even got that far.
Things seem to be going swimmingly now I have thr right tools installed, odd that.
Sorry and thanks for posting Fonz.
Offline
To save time, instead of compiling gcc 3.4 as mentioned in the howto cross-compile wiki, you can just install the compat-gcc-34 & compat-gcc-34-c++ packages if they're available on your distro and set CC to gcc34 - saves a bit of time and it works fine..
Offline