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

Compiling kernel.



Hi listers,

Thanks for all the advice of how to get my mac running linux. It's 
working nicely now. 

However, I would like to upgrade to a newer kernel (2.4.x). So I went
and grabed 2.4.20 from kernel.org and did a make menuconfig and a 
make-kpkg kernel_image . However when compiling (slowly =) ) I get the
following error: 

gcc -D__KERNEL__ -I/usr/local/src/linux-2.4.20/include -Wall
-Wstrict-prototypes
 -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe 
-fno-strength-reduce -ffixed-a2 -m68040   -nostdinc -iwithprefix
include -DKBUIL
D_BASENAME=misc  -c -o misc.o misc.c
misc.c: In function `adb_read_time':
misc.c:52: `ADBREQ_RAW' undeclared (first use in this function)
misc.c:52: (Each undeclared identifier is reported only once
misc.c:52: for each function it appears in.)
misc.c: In function `adb_write_time':
misc.c:71: `ADBREQ_RAW' undeclared (first use in this function)
misc.c: In function `adb_read_pram':
misc.c:86: `ADBREQ_RAW' undeclared (first use in this function)
misc.c: In function `adb_write_pram':
misc.c:101: `ADBREQ_RAW' undeclared (first use in this function)
misc.c: At top level:
misc.c:65: warning: `adb_write_time' defined but not used
misc.c:257: warning: `via_write_time' defined but not used
make[3]: *** [misc.o] Error 1
make[3]: Leaving directory `/usr/local/src/linux-2.4.20/arch/m68k/mac'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/local/src/linux-2.4.20/arch/m68k/mac'
make[1]: *** [_dir_arch/m68k/mac] Error 2
make[1]: Leaving directory `/usr/local/src/linux-2.4.20'
make: *** [stamp-build] Error 2

Unfortunately I don't think I can turn-off ADB support, since I do
need to use the keyboard occacionally. Is there something wrong with
2.4.20 that doesn't allow it to compile for 68k? 

Does anybody have working 2.4.x packages available that would work on
a mac m68040 that boots from IDE?

Thanks,
	Marijn.

-- 
Una vez terminado el juego, el rey y el peón vuelven a la misma caja.
Marijn Vriens <marijn@metronomo.cl> 
GPG/PGP: 6895 DF03 73E1 F671 C61D  45F4 5E83 8571 C529 5C15

Attachment: pgpeMgOJAMMND.pgp
Description: PGP signature


Reply to: