Subject: trying to use gcc-3.0.4 to compile dreamcast kernel
To: None <port-dreamcast@netbsd.org, port-sh3@netbsd.org>
From: Christian Groessler <chris@groessler.org>
List: port-dreamcast
Date: 03/15/2002 23:45:51
Hi,

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


regards,
chris