Date: Mon, 21 Jul 2008 11:33:42 -0700 From: Sean Bruno <sbruno@miralink.com> To: freebsd-drivers@freebsd.org Subject: Re: MII compile errors(RELENG_7) Message-ID: <4884D686.2040706@miralink.com> In-Reply-To: <4884D1ED.5060205@miralink.com> References: <4884D1ED.5060205@miralink.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Sean Bruno wrote: > Anyone else getting this with GENERIC from this AM? > > > ===> mii (all) > cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 > -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/i386/compile/GENERIC/opt_global.h > -I. -I@ -I@/contrib/altq -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 -fno-common > -g > -I/usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/i386/compile/GENERIC > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -c > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/modules/mii/../../dev/mii/jmphy.c > > cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 > -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/i386/compile/GENERIC/opt_global.h > -I. -I@ -I@/contrib/altq -finline-limit=8000 --param > inline-unit-growth=100 --param large-function-growth=1000 -fno-common > -g > -I/usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/i386/compile/GENERIC > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx > -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -fformat-extensions -c > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/modules/mii/../../dev/mii/truephy.c > > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/modules/mii/../../dev/mii/truephy.c:78: > error: 'MII_OUI_AGERE' undeclared here (not in a function) > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/modules/mii/../../dev/mii/truephy.c:78: > error: 'MII_MODEL_AGERE_ET1011C' undeclared here (not in a function) > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/modules/mii/../../dev/mii/truephy.c:78: > error: 'MII_STR_AGERE_ET1011C' undeclared here (not in a function) > *** Error code 1 > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/modules/mii/../../dev/mii/jmphy.c:88: > error: 'MII_OUI_JMICRON' undeclared here (not in a function) > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/modules/mii/../../dev/mii/jmphy.c:88: > error: 'MII_MODEL_JMICRON_JMP202' undeclared here (not in a function) > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/modules/mii/../../dev/mii/jmphy.c:88: > error: 'MII_STR_JMICRON_JMP202' undeclared here (not in a function) > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/modules/mii/../../dev/mii/jmphy.c:89: > error: 'MII_MODEL_JMICRON_JMP211' undeclared here (not in a function) > /usr/home/sbruno/FreeBSD_RELENG_7_15APR08/src/sys/modules/mii/../../dev/mii/jmphy.c:89: > error: 'MII_STR_JMICRON_JMP211' undeclared here (not in a function) > *** Error code 1 > 2 errors > *** Error code 2 > 1 error > *** Error code 2 > 1 error > Hmmm....This looks like an artifact of compiling with -j flags. e.g. make -j 2 Excluding that make option, compile fine. -- Sean Bruno MiraLink Corporation 6015 NE 80th Ave, Ste 100 Portland, OR 97218 Phone 503-621-5143 Fax 503-621-5199 MSN: sbruno@miralink.com Google: seanwbruno@gmail.com Yahoo: sean_bruno@yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4884D686.2040706>