Date: Mon, 25 Sep 2006 11:34:42 -0700 From: "Kevin Oberman" <oberman@es.net> To: stable@freebsd.org Subject: Re: Upgrading to 6.2 stable - failed to compile kernel Message-ID: <20060925183442.53F5C45058@ptavv.es.net> In-Reply-To: Your message of "Mon, 25 Sep 2006 18:52:45 BST." <HPPY46EA8A25@happy-fish.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_1159209282_57457P Content-Type: multipart/signed; boundary="==_Exmh_1159208513_57457P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1159208513_57457P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > From: FreeBSD Noob <E-4A48424B4B-2473-E@happy-fish.co.uk> > Date: Mon, 25 Sep 2006 18:52:45 +0100 > Sender: owner-freebsd-stable@freebsd.org > > 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. 1. Your mail address bounced my attempt at a private reply. 2. Building a kernel with config is not officially supported. It's at your risk and may not work in all cases. Build a kernel with: cd /usr/src make buildkernel 3. You need "device mii" if you have any network device that uses it and most do. 4. If you update sources, you need to build both world and kernel. (See /usr/src/UPDATING near the end.) If sources are not changes, just re-build the kernel. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1159208513_57457P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFFGB5Bkn3rs5h7N1ERAmoCAKCPIvnWP+cgQgewEk7wRQdW7V3++QCgm4XQ QFA54QXBlVrEJLWfa7X4Q9g= =nDpt -----END PGP SIGNATURE----- --==_Exmh_1159208513_57457P-- --==_Exmh_1159209282_57457P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFFGCFCkn3rs5h7N1ERAsjeAJ4/dBJy+KsXT7iI1W8YuFjQOpeYcACcCZ1R x1dZ5ZANo46JgljCt6ljZgI= =uXCr -----END PGP SIGNATURE----- --==_Exmh_1159209282_57457P--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060925183442.53F5C45058>