Re: 2.5.3 does not compile on sparc64

Patrick Mochel (mochel@osdl.org)
Thu, 31 Jan 2002 09:32:00 -0800 (PST)


On Thu, 31 Jan 2002, Luigi Genoni wrote:

> Yes, but the error do persist also with this patch,
> probably my english was unclear.
> I changes the include, because otherway I was getting
> a no such file message, after the change I got this error
> message.
> I should add that gcc for sparc64 to compile a 64 bit kernel is just egcs
> 1.1.2, because gcc 2.95 and following have problems to compile at 64 bit
> of sparc.

Ah, I see.

So, you're getting this error:

core.c:179: parse error before `device_init_root'
core.c:180: warning: return-type defaults to `int'
core.c:185: parse error before `device_driver_init'
core.c:186: warning: return-type defaults to `int'

If you add

#include <linux/init.h>

does it compile?

-pat

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/