Kernel Build Error in mii-dependings

From: Jens Rehsack <rehsack_at_liwing.de>
Date: Mon, 28 Jun 2004 15:49:11 +0000
Hi all,

with applying the patch to get ipfilter running again and re-supping
today's sources, I got a new error:

...
if [ -f .olddep ]; then mv .olddep .depend; fi
rm -f .newdep
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES |  MKDEP_CPP="cc -E" 
CC="cc" xargs mkdep -a -f .newdep -O -pipe -mmmx -msse -msse2 
-mfpmath=sse -march=pentium4 -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99  -nostdinc -I-  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica 
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter 
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath 
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm 
-D_KERNEL -include opt_global.h -fno-common -finline-limit=30000 
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
/usr/src/sys/dev/mii/amphy.c:54:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/bmtphy.c:91:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/brgphy.c:55:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/dcphy.c:61:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/e1000phy.c:60:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/exphy.c:88:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/inphy.c:50:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/nsphy.c:90:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/nsgphy.c:71:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/pnphy.c:59:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/pnaphy.c:60:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/rgephy.c:55:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/rlphy.c:53:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/ruephy.c:49:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/tdkphy.c:61:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/tlphy.c:92:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/xmphy.c:54:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/lxtphy.c:91:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/qsphy.c:91:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/acphy.c:87:21: miidevs.h: No such file or directory
mkdep: compile failed
...cc -c -O -pipe -mmmx -msse -msse2 -mfpmath=sse -march=pentium4 -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq 
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf 
-I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd 
-I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common 
-finline-limit=30000  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Wno-error 
/usr/src/sys/dev/mii/amphy.c
/usr/src/sys/dev/mii/amphy.c:54:21: miidevs.h: No such file or directory
/usr/src/sys/dev/mii/amphy.c: In function `amphy_probe':
/usr/src/sys/dev/mii/amphy.c:93: error: `MII_OUI_xxAMD' undeclared 
(first use in this function)
/usr/src/sys/dev/mii/amphy.c:93: error: (Each undeclared identifier is 
reported only once
/usr/src/sys/dev/mii/amphy.c:93: error: for each function it appears in.)
/usr/src/sys/dev/mii/amphy.c:94: error: `MII_MODEL_xxAMD_79C873' 
undeclared (first use in this function)
/usr/src/sys/dev/mii/amphy.c:95: error: `MII_OUI_xxDAVICOM' undeclared 
(first use in this function)
/usr/src/sys/dev/mii/amphy.c:96: error: `MII_MODEL_xxDAVICOM_DM9101' 
undeclared (first use in this function)
/usr/src/sys/dev/mii/amphy.c:100: error: `MII_STR_xxAMD_79C873' 
undeclared (first use in this function)
/usr/src/sys/dev/mii/amphy.c:102: error: `MII_STR_xxDAVICOM_DM9101' 
undeclared (first use in this function)
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error


Hmm, if anyone can tell me what's going wrong and how to fix it, this
would be fantastic :)

Best regards,
Jens
Received on Mon Jun 28 2004 - 13:49:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:59 UTC