[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Kernel 2.4.3/4 compile problem on SPARC



Hello!

I'm trying to cross compile the 2.4.4 kernel for a SPARC from an i386, and the
compile fails with:

make[2]: Entering directory `/home/simon/filer/linux/mm'
sparc-linux-gcc -D__KERNEL__ -I/home/simon/filer/linux/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -m32 -pipe
-mno-fpu -fcall-used-g5 -fcall-used-g7    -c -o memory.o memory.c
memory.c:183: macro `pmd_alloc' used with too many (3) args
memory.c:204: macro `pte_alloc' used with too many (3) args
...
memory.c:1265: warning: passing arg 1 of `___f_pte_alloc' from incompatible
pointer type
memory.c:1265: warning: passing arg 2 of `___f_pte_alloc' makes integer from
pointer without a cast
...
memory.c: At top level:
memory.c:1316: conflicting types for `___f_pte_alloc'
/home/simon/filer/linux/include/asm/pgalloc.h:125: previous declaration of
`___f_pte_alloc'



andd some more warnings of the same type. 2.4.3 has the same problem, but 2.2.19
compiles OK. Any ideas?

-- 
// Simon

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/