From owner-freebsd-stable@FreeBSD.ORG Mon Sep 25 17:53:42 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDBC916A417 for ; Mon, 25 Sep 2006 17:53:42 +0000 (UTC) (envelope-from e-4a48424b4b-2473-e@happy-fish.co.uk) Received: from mail.happy-fish.org.uk (mail.happy-fish.org.uk [81.174.128.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DCA643D8A for ; Mon, 25 Sep 2006 17:53:35 +0000 (GMT) (envelope-from e-4a48424b4b-2473-e@happy-fish.co.uk) From: FreeBSD Noob To: freebsd-stable@happy-fish.org.uk Message-ID: Newsgroups: freebsd-stable Path: anonymous Date: Mon, 25 Sep 2006 18:52:45 +0100 X-Newsreader: Forte Agent 2.0/32.640 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Hops: 1 Cc: Subject: Upgrading to 6.2 stable - failed to compile kernel 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: Mon, 25 Sep 2006 17:53:42 -0000 Hi, As a total newbie, I am pushing my (lack of) knowledge to the limit as a way of learning more about FreeBSD... I had v6.1 release installed and a custom kernel. After the binary upgrade to v6.2, I tried to recreate the PPS kernel from updated sources, but got: | ../../../dev/mii/ip1000phy.c | ../../../dev/mii/ip1000phy.c: In function `ip1000phy_probe': | ../../../dev/mii/ip1000phy.c:91: error: `MII_OUI_ICPLUS' undeclared (first use in this function) | ../../../dev/mii/ip1000phy.c:91: error: (Each undeclared identifier is reported only once | ../../../dev/mii/ip1000phy.c:91: error: for each function it appears in.) | ../../../dev/mii/ip1000phy.c:92: error: `MII_MODEL_ICPLUS_IP1000A' undeclared (first use in this function) | ../../../dev/mii/ip1000phy.c:93: error: `MII_STR_ICPLUS_IP1000A' undeclared (first use in this function) | *** Error code 1 | | Stop in /usr/src/sys/i386/compile/MINIMUM_PPS. Using this method: | config MINIMUM_PPS | cd ../compile/MINIMUM_PPS | make cleandepend | make depend | make | make install MINIMUM_PPS had compiled OK on 6.1 and this is the only way I have tried to create a custom kernel so far. I had run cvsup to register the existing 6.1 release, and then again to update to the latest 6.2 stable. I can post the supfiles, if it would help - it's also the first time I've used cvsup... As an experiment, I have just started a buildworld to see if that will fix the problem. That is likely to take a while on my AMD5x86 machine so, while i am waiting, I thought I would ask if anyone can see where I went wrong. Cheers