3.8 kernel source: /usr/src/sys/arch/amd64/amd64/machdep.c

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

3.8 kernel source: /usr/src/sys/arch/amd64/amd64/machdep.c

P-O Yliniemi
bug / problem at line 185:

/usr/src/sys/arch/amd64/amd64/machdep.c:185: error: `NUF' undeclared
here (not in a function)
*** Error code 1

Stop in /usr/src/sys/arch/amd64/compile/OPTIMIZED (line 1778 of Makefile).



when NBUF is defined in the kernel configuration file

Fix:
# diff -w /usr/src/sys/arch/amd64/amd64/machdep.c.old
/usr/src/sys/arch/amd64/amd64/machdep.c
185c185
< int   nbuf = NUF;
---
 > int   nbuf = NBUF;

/PeO

Reply | Threaded
Open this post in threaded view
|

Re: 3.8 kernel source: /usr/src/sys/arch/amd64/amd64/machdep.c

Tobias Weingartner-2
On Thursday, March 9, P-O Yliniemi wrote:
> bug / problem at line 185:
>
> /usr/src/sys/arch/amd64/amd64/machdep.c:185: error: `NUF' undeclared
> here (not in a function)
> *** Error code 1
>
> Stop in /usr/src/sys/arch/amd64/compile/OPTIMIZED (line 1778 of Makefile).

-----------------------------------------^^^^^^^^^^

You broke it, we dont fix, you fix.  But thanks for the typo.

--Toby.