David Daney wrote:I am starting to understand this.
I am using gcc 3.3.1 to compile the linux_2_4 kernel obtained from cvs a couple of days ago.[snip]
-#endif /* !defined (_LANGUAGE_ASSEMBLY) */ +#endif /* !__ASSEMBLY__ */
#endif /* _ASM_MIPSREGS_H */
Why the change?
__ASSEMBLY__ is defined by the Linux build system in order to have a compiler independent test.
I am porting my BSP from 2.4.18 to the latest, and it seems I may have some Makefile incompatibility. So I withdraw my criticism of defined(__ASSEMBLY__).
I will fix my local mipsregs.h so that I can continue, but it seems like the sources in CVS should be changed to allow gcc 3.3.1 to work.
It works here (for my configs). Your linux tree seems to be broken.
Thiemo
David Daney