Tom Rini wrote: > On Wed, Jan 03, 2001 at 01:53:46PM -0800, Peter Abrahamsen wrote: > > > Now, 2.4.0-prerelease doesn't compile due to some errors in assembly. > > Unfortunately, gpm isn't working, but the error is in asm/mmu.h:10 > > Unrecognized opcode: 'typedef', which comes when it's compiling head.S. Do I > > need to upgrade something? > > No, just move typedef ... to below the line #ifdef __ASSEMBLY__ and it > should be better.
s/ifdef/ifndef/ > If you want 2.4.0-prerelease to actually work right on > ppc, grab ac5 (ftp.xx.kernel.org:/pub/linux/kernel/people/alan/) which > has a PPC merge in it. But even that doesn't work: gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -c -o ide-cd.o ide-cd.c In file included from /usr/src/linux/include/linux/delay.h:12, from ide-cd.c:300: /usr/src/linux/include/asm/delay.h: In function `__const_udelay': /usr/src/linux/include/asm/delay.h:29: `HZ' undeclared (first use in this function) /usr/src/linux/include/asm/delay.h:29: (Each undeclared identifier is reported only once /usr/src/linux/include/asm/delay.h:29: for each function it appears in.) make[4]: *** [ide-cd.o] Error 1 make[4]: Leaving directory `/usr/src/linux/drivers/ide' Investigating... -Adam P. Welcome to the best software in the world today cafe!