From owner-freebsd-stable@FreeBSD.ORG Sun Feb 5 09:54:34 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF2A9106566B for ; Sun, 5 Feb 2012 09:54:34 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5BC818FC18 for ; Sun, 5 Feb 2012 09:54:33 +0000 (UTC) Received: by bkbzx1 with SMTP id zx1so5588569bkb.13 for ; Sun, 05 Feb 2012 01:54:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:x-comment-to:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=yN2m2sxWZgFf5ybNv1MvNnWE9Z/q65GK423SY017EG4=; b=nGuYWizMrWA/ClQi28u7TkxhAzWOo2BPHQywzVeBmbpZxBvxtPnAPDjSVY7awkT5mU ljjGLbhGhGsCuyn8EZlLsfLzO2CCD0L1uEa+GcNFQ0ZoDKlKa9Dq1Tq7DZSB0C5R1BV6 KM5B+IEwFd4WPmMg7GJn54m6J2R9MpgywIzNg= Received: by 10.205.127.141 with SMTP id ha13mr6700403bkc.28.1328435672997; Sun, 05 Feb 2012 01:54:32 -0800 (PST) Received: from localhost ([95.69.173.122]) by mx.google.com with ESMTPS id ew13sm34098385bkb.1.2012.02.05.01.54.30 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Feb 2012 01:54:31 -0800 (PST) From: Mikolaj Golub To: "Dewayne" References: X-Comment-To: Dewayne Sender: Mikolaj Golub Date: Sun, 05 Feb 2012 11:54:29 +0200 In-Reply-To: (Dewayne's message of "Sun, 5 Feb 2012 20:09:08 +1100") Message-ID: <861uq9a9m2.fsf@kopusha.home.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: andrey@zonov.org, freebsd-stable@freebsd.org Subject: Re: 9.0 Stable unable to buildworld, missing KERN_PROC_ENV in kvm_proc.c X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Feb 2012 09:54:34 -0000 On Sun, 5 Feb 2012 20:09:08 +1100 Dewayne wrote: D> Unfortunately 9.0 Stable fails to compile due to missing declaration of D> KERN_PROC_ENV in /usr/src/lib/libkvm/kvm_proc.c. csup'ed from today. D> Please refer to the following changes on 30-Jan-2012: D> http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libkvm/kvm_proc.c.diff?r1=1.106.2.1;r2=1.106.2.2;f=h D> Compile error reads: D> cc -O2 -pipe -pipe -O2 -g0 -DSTRIP_FBSDID -UDEBUGGING -march=prescott -mtune=prescott -DLIBC_SCCS -I/usr/src/lib/libkvm D> -DNDEBUG -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes D> -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /usr/src/lib/libkvm/kvm_proc.c D> /usr/src/lib/libkvm/kvm_proc.c: In function 'kvm_argv': D> /usr/src/lib/libkvm/kvm_proc.c:663: error: 'KERN_PROC_ENV' undeclared (first use in this function) D> /usr/src/lib/libkvm/kvm_proc.c:663: error: (Each undeclared identifier is reported only once D> /usr/src/lib/libkvm/kvm_proc.c:663: error: for each function it appears in.) D> Am I the last person using i386 architecture? ;) I'm half joking. The D> buildworld completes successfully for architecture=amd64. And there should not be problems with i386 too. The error does not look like architecture specific. Could you please recheck your sources and building procedure and give more details if the error still exists. KERN_PROC_ENV is declared in sys/sys/sysctl.h, and this was MFCed in r230754, before the MFC lib/libkvm (r230780) you are referring to. -- Mikolaj Golub