[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another compiling 2.4.2 kernel

On Mon, 2 Apr 2001 matthew.hook@xxxxxxx.nz wrote:
> I've made some headway in compiling the 2.4 kernel for the ETRAX100LX, but
> I've encountered the following error during compile.  Can anyone shed any
> light on this? looks like a file is missing... how can I rectify this
> problem?

No it's your .config that's broken. You're trying to compile the PC serial
driver (drivers/char/serial.c) which does not work for the Etrax.

You should only enable drivers in the Drivers for built-in etrax
interfaces, no other place. 

With regards to the compiler internal error, that looks really bad but
it's not the same problem.

You might get other problems using the 2.4.2 release as well; it's a work
in progress and we at Axis can't guarantee yet that it compiles and works
flawlessly :) 


> /usr/local/cris/lib/gcc-lib/cris/2.96/gcc  -D__KERNEL__
> -I/home/matthewh/axis/li
> nux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
> -fno-strict-alias
> ing -march=v10 -fno-strict-aliasing -pipe -D__linux__    -c -o serial.o
> serial.c
> serial.c:177:23: asm/serial.h: No such file or directory
> In file included from serial.c:201:
> /home/matthewh/axis/linux/include/linux/delay.h:19:44: warning: trigraph
> ??/ ign
> ored
> serial.c:318: `RS_TABLE_SIZE' undeclared here (not in a function)
> gcc: Internal compiler error: program cc1 got fatal signal 11
> make[3]: *** [serial.o] Error 1
> make[3]: Leaving directory `/home/matthewh/axis/linux/drivers/char'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/home/matthewh/axis/linux/drivers/char'
> make[1]: *** [_subdir_char] Error 2
> make[1]: Leaving directory `/home/matthewh/axis/linux/drivers'
> make: *** [_dir_drivers] Error 2