linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.5 kernel on Sparc32
@ 2001-05-29 23:04 ` John
  2001-06-14 17:00   ` David S. Miller
  0 siblings, 1 reply; 3+ messages in thread
From: John @ 2001-05-29 23:04 UTC (permalink / raw)
  To: linux-kernel

Sorry if this is a repeat.  Can't find anything on it. My guess is that
I don't know where to look.  I am trying to build the 2.4.5 kernel on a
Sparc LX.  I get numerous error messages when trying to build the
kernel:


> make[1]: Entering directory `/usr/src/linux-2.4.5/mm'
> make all_targets
> make[2]: Entering directory `/usr/src/linux-2.4.5/mm'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/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:725: macro `pte_alloc' used with too many (3) args
> memory.c:750: macro `pmd_alloc' used with too many (3) args
> memory.c:805: macro `pte_alloc' used with too many (3) args
> memory.c:832: macro `pmd_alloc' used with too many (3) args
> memory.c:1339: macro `pmd_alloc' used with too many (3) args
> memory.c:1342: macro `pte_alloc' used with too many (3) args
> memory.c:1392: macro `pte_alloc' used with too many (3) args
> memory.c: In function `copy_page_range':
> memory.c:183: warning: passing arg 1 of `___f_pmd_alloc' from incompatible pointer type
> memory.c:183: warning: passing arg 2 of `___f_pmd_alloc' makes integer from pointer without a cast
> memory.c:204: warning: passing arg 1 of `___f_pte_alloc' from incompatible pointer type
> memory.c:204: warning: passing arg 2 of `___f_pte_alloc' makes integer from pointer without a cast
> memory.c: In function `zeromap_pmd_range':
> memory.c:725: warning: passing arg 1 of `___f_pte_alloc' from incompatible pointer type
> memory.c:725: warning: passing arg 2 of `___f_pte_alloc' makes integer from pointer without a cast
> memory.c: In function `zeromap_page_range':
> memory.c:750: warning: passing arg 1 of `___f_pmd_alloc' from incompatible pointer type
> memory.c:750: warning: passing arg 2 of `___f_pmd_alloc' makes integer from pointer without a cast
> memory.c: In function `remap_pmd_range':
> memory.c:805: warning: passing arg 1 of `___f_pte_alloc' from incompatible pointer type
> memory.c:805: warning: passing arg 2 of `___f_pte_alloc' makes integer from pointer without a cast
> memory.c: In function `remap_page_range':
> memory.c:832: warning: passing arg 1 of `___f_pmd_alloc' from incompatible pointer type
> memory.c:832: warning: passing arg 2 of `___f_pmd_alloc' makes integer from pointer without a cast
> memory.c: In function `handle_mm_fault':
> memory.c:1339: warning: passing arg 1 of `___f_pmd_alloc' from incompatible pointer type
> memory.c:1339: warning: passing arg 2 of `___f_pmd_alloc' makes integer from pointer without a cast
> memory.c:1342: warning: passing arg 1 of `___f_pte_alloc' from incompatible pointer type
> memory.c:1342: warning: passing arg 2 of `___f_pte_alloc' makes integer from pointer without a cast
> memory.c: In function `__pmd_alloc':
> memory.c:1364: warning: implicit declaration of function `pmd_alloc_one_fast'
> memory.c:1364: warning: assignment makes pointer from integer without a cast
> memory.c:1367: warning: implicit declaration of function `pmd_alloc_one'
> memory.c:1367: warning: assignment makes pointer from integer without a cast
> memory.c:1381: warning: implicit declaration of function `pgd_populate'
> memory.c: At top level:
> memory.c:1393: conflicting types for `___f_pte_alloc'
> /usr/src/linux-2.4.5/include/asm/pgalloc.h:125: previous declaration of `___f_pte_alloc'
> memory.c: In function `___f_pte_alloc':
> memory.c:1398: warning: implicit declaration of function `pte_alloc_one_fast'
> memory.c:1398: `address' undeclared (first use in this function)
> memory.c:1398: (Each undeclared identifier is reported only once
> memory.c:1398: for each function it appears in.)
> memory.c:1398: warning: assignment makes pointer from integer without a cast
> memory.c:1401: warning: implicit declaration of function `pte_alloc_one'
> memory.c:1401: warning: assignment makes pointer from integer without a cast
> memory.c:1415: warning: implicit declaration of function `pmd_populate'
> make[2]: *** [memory.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.5/mm'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.5/mm'
> make: *** [_dir_mm] Error 2
>

-- tia


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.5 kernel on Sparc32
  2001-05-29 23:04 ` John
@ 2001-06-14 17:00   ` David S. Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David S. Miller @ 2001-06-14 17:00 UTC (permalink / raw)
  To: Aaron Sethman; +Cc: John, linux-kernel


Aaron Sethman writes:
 > I've seen the exact same problem when trying to compile for sparc.  I
 > might try and fix it myself, as it doesn't seemed to be fixed in the vger
 > cvs tree, or any other patch for that matter.

The problem is that we lack a maintainer for the 32-bit Sparc
port, and the situation is unlikely change until someone steps
up to take over maintaining the thing.

Later,
David S. Miller
davem@redhat.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.5 kernel on Sparc32
  2001-05-29 23:04 ` John
@ 2001-06-14 17:01 Aaron Sethman
  2001-05-29 23:04 ` John
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Sethman @ 2001-06-14 17:01 UTC (permalink / raw)
  To: John; +Cc: linux-kernel

I've seen the exact same problem when trying to compile for sparc.  I
might try and fix it myself, as it doesn't seemed to be fixed in the vger
cvs tree, or any other patch for that matter.

Regards,

Aaron


On Tue, 29 May 2001, John wrote:

> Sorry if this is a repeat.  Can't find anything on it. My guess is that
> I don't know where to look.  I am trying to build the 2.4.5 kernel on a
> Sparc LX.  I get numerous error messages when trying to build the
> kernel:
>
>
> > make[1]: Entering directory `/usr/src/linux-2.4.5/mm'
> > make all_targets
> > make[2]: Entering directory `/usr/src/linux-2.4.5/mm'
> > gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/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:725: macro `pte_alloc' used with too many (3) args
> > memory.c:750: macro `pmd_alloc' used with too many (3) args
> > memory.c:805: macro `pte_alloc' used with too many (3) args
> > memory.c:832: macro `pmd_alloc' used with too many (3) args
> > memory.c:1339: macro `pmd_alloc' used with too many (3) args
> > memory.c:1342: macro `pte_alloc' used with too many (3) args
> > memory.c:1392: macro `pte_alloc' used with too many (3) args
> > memory.c: In function `copy_page_range':
> > memory.c:183: warning: passing arg 1 of `___f_pmd_alloc' from incompatible pointer type
> > memory.c:183: warning: passing arg 2 of `___f_pmd_alloc' makes integer from pointer without a cast
> > memory.c:204: warning: passing arg 1 of `___f_pte_alloc' from incompatible pointer type
> > memory.c:204: warning: passing arg 2 of `___f_pte_alloc' makes integer from pointer without a cast
> > memory.c: In function `zeromap_pmd_range':
> > memory.c:725: warning: passing arg 1 of `___f_pte_alloc' from incompatible pointer type
> > memory.c:725: warning: passing arg 2 of `___f_pte_alloc' makes integer from pointer without a cast
> > memory.c: In function `zeromap_page_range':
> > memory.c:750: warning: passing arg 1 of `___f_pmd_alloc' from incompatible pointer type
> > memory.c:750: warning: passing arg 2 of `___f_pmd_alloc' makes integer from pointer without a cast
> > memory.c: In function `remap_pmd_range':
> > memory.c:805: warning: passing arg 1 of `___f_pte_alloc' from incompatible pointer type
> > memory.c:805: warning: passing arg 2 of `___f_pte_alloc' makes integer from pointer without a cast
> > memory.c: In function `remap_page_range':
> > memory.c:832: warning: passing arg 1 of `___f_pmd_alloc' from incompatible pointer type
> > memory.c:832: warning: passing arg 2 of `___f_pmd_alloc' makes integer from pointer without a cast
> > memory.c: In function `handle_mm_fault':
> > memory.c:1339: warning: passing arg 1 of `___f_pmd_alloc' from incompatible pointer type
> > memory.c:1339: warning: passing arg 2 of `___f_pmd_alloc' makes integer from pointer without a cast
> > memory.c:1342: warning: passing arg 1 of `___f_pte_alloc' from incompatible pointer type
> > memory.c:1342: warning: passing arg 2 of `___f_pte_alloc' makes integer from pointer without a cast
> > memory.c: In function `__pmd_alloc':
> > memory.c:1364: warning: implicit declaration of function `pmd_alloc_one_fast'
> > memory.c:1364: warning: assignment makes pointer from integer without a cast
> > memory.c:1367: warning: implicit declaration of function `pmd_alloc_one'
> > memory.c:1367: warning: assignment makes pointer from integer without a cast
> > memory.c:1381: warning: implicit declaration of function `pgd_populate'
> > memory.c: At top level:
> > memory.c:1393: conflicting types for `___f_pte_alloc'
> > /usr/src/linux-2.4.5/include/asm/pgalloc.h:125: previous declaration of `___f_pte_alloc'
> > memory.c: In function `___f_pte_alloc':
> > memory.c:1398: warning: implicit declaration of function `pte_alloc_one_fast'
> > memory.c:1398: `address' undeclared (first use in this function)
> > memory.c:1398: (Each undeclared identifier is reported only once
> > memory.c:1398: for each function it appears in.)
> > memory.c:1398: warning: assignment makes pointer from integer without a cast
> > memory.c:1401: warning: implicit declaration of function `pte_alloc_one'
> > memory.c:1401: warning: assignment makes pointer from integer without a cast
> > memory.c:1415: warning: implicit declaration of function `pmd_populate'
> > make[2]: *** [memory.o] Error 1
> > make[2]: Leaving directory `/usr/src/linux-2.4.5/mm'
> > make[1]: *** [first_rule] Error 2
> > make[1]: Leaving directory `/usr/src/linux-2.4.5/mm'
> > make: *** [_dir_mm] Error 2
> >
>
> -- tia
>
> -
> 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/
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-14 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-14 17:01 2.4.5 kernel on Sparc32 Aaron Sethman
2001-05-29 23:04 ` John
2001-06-14 17:00   ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).