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

Re: Kernel 2.4.3/4 compile problem on SPARC



On Tue, May 15, 2001 at 06:41:52PM +0200, simon.kagstrom.864@student.lu.se wrote:
> 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?

See http://www.tux.org/lkml/#s6-6 .

Another important thing: the Sparc32 port is currently unmaintained
(Dave Miller doesn't have time), so you'd better stay with 2.2.19.
Sparc64 is maintained.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
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/