[okl4-developer] OKL4_3.0 build error - init_script.cc warnning raised to errors.

Robert Wetzel robert.wetzel at opensynergy.com
Wed Dec 10 05:59:19 EST 2008


Patrick Sun wrote:
>      I’m trying to build OK Linux using OKL4, however, OKL4 refuse to 
> build due to compiling errors. Can anybody give some advice?

You need two different compilers: One for the kernel (the toolchain is
specified via "pistachio.TOOLCHAIN=...") and one for the userland stuff,
given by the usual "TOOLCHAIN=..." argument. Just recently there was
some discussion about that topic.

Anyway, even with an otherwise matching toolchain (in terms of ABI and
such), compiling the kernel with a gcc4, even more so gcc 4.2 (ignoring
gcc 4.3) will bring up a number of problems/errors. Easiest way out
is to use the 3.4.4 "NICTA" gcc toolchain to compile the kernel. It's
referenced somewhere in the OKLabs Wiki.

Good luck,

Robert



More information about the Developer mailing list