Subject: Re: trying to use gcc-3.0.4 to compile dreamcast kernel
To: Christian Groessler <chris@groessler.org>
From: Marcus Comstedt <marcus@mc.pp.se>
List: port-sh3
Date: 03/16/2002 02:50:29
Christian Groessler <chris@groessler.org> writes:

> I get in "make depend":
> 
> --------------
> ../../../../arch/dreamcast/dev/g2/gapspci_dma.c  ../../../../arch/dreamcast/dev/g2/gapspci_pci.c  swapnetbsd.c
> In file included from ../../../../arch/sh3/sh3/db_interface.c:51:
> sh3/cache_sh3.h:157:8: extra tokens at end of #endif directive
> In file included from ../../../../arch/sh3/sh3/cache.c:45:
> sh3/cache_sh3.h:157:8: extra tokens at end of #endif directive
> mkdep: compile failed.
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src/sys/arch/dreamcast/compile/DREAMS.LANA
> --------------
> 
> sys/arch/sh3/include/cache_sh3.h contains such lines like
> 
> #endif _KERNEL

That line should say

#endif /* _KERNEL */

If you have commit access, it would be great if you could correct
these.


  // Marcus