Subject: Can't compile kernel: mii.c
To: None <current-users@netbsd.org>
From: Adam Ciarcinski <adam@albedo.art.pl>
List: current-users
Date: 08/29/2005 12:34:17
Hello,

#   compile  GENERIC_LAPTOP/mii.o
cc -Os -pipe -mcpu=pentium4 -freorder-blocks -fomit-frame-pointer 
-ffreestanding -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith 
-Wmissing-prototypes -Wstrict-prototypes -Wreturn-type -Wswitch -Wshadow 
-Wcast-qual -Wwrite-strings -Wno-sign-compare -fno-zero-initialized-in-bss 
-Di386 -I. -I../../../../arch -I../../../.. -nostdinc -DLKM -DMAXUSERS=32 
-D_KERNEL -D_KERNEL_OPT -I../../../../dist/ipf -c 
../../../../dev/mii/mii.c
../../../../dev/mii/mii.c: In function `mii_attach':
../../../../dev/mii/mii.c:75: error: `MIICF_NLOCS' undeclared (first use 
in this function)
../../../../dev/mii/mii.c:75: error: (Each undeclared identifier is 
reported only once
../../../../dev/mii/mii.c:75: error: for each function it appears in.)
../../../../dev/mii/mii.c:75: warning: unused variable `locs'

Please, advice. :)
Kind regards,
Adam