Re: /sys/modules/mii/nsgphy.c compilation errors

2009-09-24 Thread Scott Bennett
 On Tue, 22 Sep 2009 15:22:40 -0400 Lowell Gilbert
freebsd-questions-lo...@be-well.ilk.org wrote:
Scott Bennett benn...@cs.niu.edu writes:

  An update committed since Friday appears to have broken mii/nsgphy.c
 in the kernel.  When I try to build a kernel now, I get the following errors
 during the compilations of mii/nsgphy.c.

 /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 
 'MII_MODEL_NATSEMI_DP83865' undeclared here (not in a function)
 /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 
 'MII_STR_NATSEMI_DP83865' undeclared here (not in a function)
 *** Error code 1
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error

  Having run cvsup just a few minutes ago and then having tried again to
 build a kernel, I see that the errors persist.  Is this something that 
 someone
 is already fixing?  Or should I try to submit a PR?

You don't mention which branch you're on, but it sounds like it's

 Oops.  It's 7.2-STABLE.

probably a local issue for your installation.  I built and installed
from the latest RELENG_7 today, and there are new bug reports on
RELENG_8 since Friday.  Those failing identifiers *are* present in the
correct sources; it looks like your miidevs.h isn't being regenerated
properly.  You *are* remembering to do a buildworld before a
buildkernel, right?

 Actually, I did.  However, your note jogged a memory, so I went back to
the handbook and discovered that something I was doing was non-standard and
would have had the same effect.  It's how I've always done it, so it's rather
remarkable that it hasn't burned me before this.  So I tried doing it the
right way, and that quickly caused the file system to overflow. :-(  I moved
the file system to a larger partition, tried it again, and it worked just fine.
 Thanks very much for your note, which provided the clue that led me to
my error.


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: /sys/modules/mii/nsgphy.c compilation errors

2009-09-22 Thread Lowell Gilbert
Scott Bennett benn...@cs.niu.edu writes:

  An update committed since Friday appears to have broken mii/nsgphy.c
 in the kernel.  When I try to build a kernel now, I get the following errors
 during the compilations of mii/nsgphy.c.

 /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 
 'MII_MODEL_NATSEMI_DP83865' undeclared here (not in a function)
 /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 
 'MII_STR_NATSEMI_DP83865' undeclared here (not in a function)
 *** Error code 1
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error

  Having run cvsup just a few minutes ago and then having tried again to
 build a kernel, I see that the errors persist.  Is this something that someone
 is already fixing?  Or should I try to submit a PR?

You don't mention which branch you're on, but it sounds like it's
probably a local issue for your installation.  I built and installed
from the latest RELENG_7 today, and there are new bug reports on
RELENG_8 since Friday.  Those failing identifiers *are* present in the
correct sources; it looks like your miidevs.h isn't being regenerated
properly.  You *are* remembering to do a buildworld before a
buildkernel, right?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org