> From: FreeBSD Noob <[EMAIL PROTECTED]>
> Date: Mon, 25 Sep 2006 18:52:45 +0100
> Sender: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED]                       Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

Attachment: pgp4VeLhalm63.pgp
Description: PGP signature

Attachment: pgp058tDjUjHQ.pgp
Description: PGP signature

Reply via email to