Hello,
after setting up the crosscompiler from out of the binary dist, i am now
trying to crosscompile a kernel on an indigo2 impact (irix 6.2).
first i am having the problem that "make depend", "make" all want to use cc as
the compiler, even when i have HOSTCC=mips-linux-gc -and-
CROSS_COMPILE=mips-linux- ..
when i try to to some compilations by hand, like (in the kernel source root):
> mips-linux-gcc -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
i get the following errors:
In file included from /usr/local/mips-linux/include/linux/fcntl.h:4,
from /usr/local/mips-linux/include/fcntlbits.h:24,
from /usr/local/mips-linux/include/fcntl.h:33,
from /usr/local/mips-linux/include/sys/fcntl.h:1,
from scripts/mkdep.c:9:
/usr/local/mips-linux/include/asm/fcntl.h:55: parse error before
`__kernel_off_t'
/usr/local/mips-linux/include/asm/fcntl.h:55: warning: no semicolon at end of
struct or union
/usr/local/mips-linux/include/asm/fcntl.h:56: warning: data definition has no
type or storage class
/usr/local/mips-linux/include/asm/fcntl.h:58: parse error before `l_pid'
/usr/local/mips-linux/include/asm/fcntl.h:58: warning: data definition has no
type or storage class
/usr/local/mips-linux/include/asm/fcntl.h:60: parse error before `}'
/usr/local/mips-linux/include/asm/fcntl.h:60: warning: data definition has no
type or storage class
any help would be appreciated ...
oliver
|