From owner-freebsd-mips@FreeBSD.ORG Mon Jul 26 12:30:27 2010 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48ED31065670 for ; Mon, 26 Jul 2010 12:30:27 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id ECE678FC12 for ; Mon, 26 Jul 2010 12:30:26 +0000 (UTC) Received: by vws7 with SMTP id 7so2825982vws.13 for ; Mon, 26 Jul 2010 05:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/qbxN3ExhZHpPX2EpZbtj64rB+X7Uu1dmuqJuWeK2Tk=; b=n9sVScq1Jy2GVQMOYGLl2C93JlDjjH5OJ117APBlkMN41IzgKOcyezDf6og/igPzcc 6M+i07qejUQkeK+U7DnZuI4YYnQKrSCtQKmZF3bMmIOAJGzG9UfrQbJsXXIMl4s7oJbL pRogn4bXH4rxDtXuTDtGFRrpya94I76DJB2zk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=tpoIIebYkkgkGKaRs8jZJikqN25Khe7+0chinA1YX01z+jLG/LVm0RxtcOyMp5gRej A/zqElmYhWJpG2B40np+PGLfC8bpocS+5hineX2dj3KZ18R3S/ZT20Iey/oa8se99Kej djxgEDMM6GAJ3/GjtJ/oJRTQJ/83bHNDmcFcg= MIME-Version: 1.0 Received: by 10.220.48.90 with SMTP id q26mr4116159vcf.88.1280147425953; Mon, 26 Jul 2010 05:30:25 -0700 (PDT) Received: by 10.220.195.11 with HTTP; Mon, 26 Jul 2010 05:30:25 -0700 (PDT) In-Reply-To: <20100726130920.faeafa58.ray@dlink.ua> References: <201007250419.o6P4J50q033283@svn.freebsd.org> <4C4BC213.5060001@cs.rice.edu> <20100725.052629.160100930644600654.imp@bsdimp.com> <20100726130920.faeafa58.ray@dlink.ua> Date: Mon, 26 Jul 2010 18:00:25 +0530 Message-ID: From: "Jayachandran C." To: Alexandr Rybalko Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: alc@cs.rice.edu, mips@freebsd.org Subject: Re: svn commit: r210460 - head/sys/mips/include X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2010 12:30:27 -0000 On Mon, Jul 26, 2010 at 3:39 PM, Alexandr Rybalko 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.