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

Building a new kernel



I have finaly managed to get Debian M68K 3.1 onto my Amiga 3000 (Cyberstorm 
Mk1 '60, 128mb ram, 9gig scsi hd, cybervision, bfc multiface 3).

I'm trying to re-compile the kernel to use the mutiface3's serial port 
(running a nullmodem ppp connection at 19200 via the amiga's port is to slow, 
and 38400 gives many error's). [Do I need to re-compile the kernel for serial 
port support?, Haven't been able to find what ttyS device to use for the bfc)

This is my first install of debian (have used redhat 9 for my radio controll 
in the shed), so I'm unsure where things go. I have run apt-get 
update/upgrade on the system.

In making a new kernel, I've tryed the verion 2.4.27 and 2.4.34 sources. using 
thi smethod:

make menuconfig (set/unset options that I don't have in the machine. ie: other 
video cards, ide etc)
make dep
make bzImage

Lot's of waiting and some warnings like the one listed here. Then the build 
fails with this error (on both source tree's).


/usr/src/linux-2.4.34/include/asm/string.h: In function `__memset_page':
/usr/src/linux-2.4.34/include/asm/string.h:329: warning: use of cast 
expressions as lvalues is deprecated
/usr/src/linux-2.4.34/include/asm/string.h:330: warning: use of cast 
expressions as lvalues is deprecated
/usr/src/linux-2.4.34/include/asm/string.h:331: warning: use of cast 
expressions as lvalues is deprecated
/usr/src/linux-2.4.34/include/asm/string.h:332: warning: use of cast 
expressions as lvalues is deprecated
cp m68k_defs.head m68k_defs.h
grep '^#define' m68k_defs.s >> m68k_defs.h
rm m68k_defs.s
gcc -D__ASSEMBLY__ -D__KERNEL__ -I/usr/src/linux-2.4.34/include -traditional -c 
head.S -o head.o
In file included from head.S:259:
/usr/src/linux-2.4.34/include/linux/init.h:134: detected recursion whilst 
expanding macro "__inline__"
/usr/src/linux-2.4.34/include/linux/init.h:138: detected recursion whilst 
expanding macro "__inline__"
head.S:3171: warning: extra tokens at end of #endif directive
make[1]: *** [head.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/m68k/kernel'
make: *** [_dir_arch/m68k/kernel] Error 2
amiga3000:/usr/src/linux-2.4.34#      


-- 
Stephen - vk3heg
Ph: 0409149641



Reply to: