lkml.org 
[lkml]   [2002]   [Jan]   [31]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateThu, 31 Jan 2002 09:32:00 -0800 (PST)
FromPatrick Mochel <>
SubjectRe: 2.5.3 does not compile on sparc64

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/

\
 
 \ /
  Last update: 2005-03-22 12:16    [W:0.356 / U:0.060 seconds]
©2003-2008 Jasper Spaans