Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jul 2010 18:00:25 +0530
From:      "Jayachandran C." <c.jayachandran@gmail.com>
To:        Alexandr Rybalko <ray@dlink.ua>
Cc:        alc@cs.rice.edu, mips@freebsd.org
Subject:   Re: svn commit: r210460 - head/sys/mips/include
Message-ID:  <AANLkTikrrtDwDDExxCLz6=mSExwgkyFQ_Z5PKUU=sp5t@mail.gmail.com>
In-Reply-To: <20100726130920.faeafa58.ray@dlink.ua>
References:  <201007250419.o6P4J50q033283@svn.freebsd.org> <4C4BC213.5060001@cs.rice.edu> <AANLkTik%2BBV6u6fNVX8Ntb-G1yF=vEDh6VqB7Xcb5VtD-@mail.gmail.com> <20100725.052629.160100930644600654.imp@bsdimp.com> <20100726130920.faeafa58.ray@dlink.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 26, 2010 at 3:39 PM, Alexandr Rybalko <ray@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=3Dmips32 -std=3Dc99 =A0-Wall =
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno=
-pointer-sign -fformat-extensions -nostdinc =A0-I.
> -I/usr/1/MIPS_FreeBSD/HEAD/head/sys -I/usr/1/MIPS_FreeBSD/HEAD/head/sys/c=
ontrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> -include opt_global.h -fno-common -finline-limit=3D768 --param inline-uni=
t-growth=3D1000 --param large-function-growth=3D100000 =A0-EL
> -fno-pic -mno-abicalls -G0 -EL -march=3Dmips32 -msoft-float -ffreestandin=
g
> -Werror =A0/usr/1/MIPS_FreeBSD/HEAD/head/sys/mips/mips/pmap.c cc1: warnin=
gs 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/p=
map.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 on=
e 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=3Dmarkup)

JC.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikrrtDwDDExxCLz6=mSExwgkyFQ_Z5PKUU=sp5t>