svn commit: r210460 - head/sys/mips/include

Jayachandran C. c.jayachandran at gmail.com
Mon Jul 26 12:30:27 UTC 2010


On Mon, Jul 26, 2010 at 3:39 PM, Alexandr Rybalko <ray at dlink.ua> wrote:
> On Sun, 25 Jul 2010 05:26:29 -0600 (MDT)
> Hi,
>
> Today I try to make MIPS kernel, and get this error:
>
> cc -c -O2 -pipe -fno-strict-aliasing -march=mips32 -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I.
> -I/usr/1/MIPS_FreeBSD/HEAD/head/sys -I/usr/1/MIPS_FreeBSD/HEAD/head/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> -include opt_global.h -fno-common -finline-limit=768 --param inline-unit-growth=1000 --param large-function-growth=100000  -EL
> -fno-pic -mno-abicalls -G0 -EL -march=mips32 -msoft-float -ffreestanding
> -Werror  /usr/1/MIPS_FreeBSD/HEAD/head/sys/mips/mips/pmap.c cc1: warnings being treated as
> errors /usr/1/MIPS_FreeBSD/HEAD/head/sys/mips/mips/pmap.c: In function
> 'pmap_grow_pte_page_cache': /usr/1/MIPS_FreeBSD/HEAD/head/sys/mips/mips/pmap.c:941: warning: implicit declaration of function
> 'vm_contig_grow_cache' /usr/1/MIPS_FreeBSD/HEAD/head/sys/mips/mips/pmap.c:941: warning: nested extern declaration of
> 'vm_contig_grow_cache' *** Error code 1
>
> Where is vm_contig_grow_cache(3, 0, MIPS_KSEG0_LARGEST_PHYS) defined?
>
> I found vm_contig_grow_cache in sys/vm/vm_contig.c, but they wont only one argument.

Are you building from HEAD? The head seems to have the correct version
(http://svn.freebsd.org/viewvc/base/head/sys/vm/vm_contig.c?view=markup)

JC.


More information about the freebsd-mips mailing list