Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2001 21:30:31 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        "Mark R. Grant" <mark@paradox.dyn.dhs.org>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Build Kernel failure
Message-ID:  <3BB00867.BBBEBDA0@owt.com>
References:  <Pine.BSF.4.33.0109242308560.11175-100000@paradox.dyn.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help


"Mark R. Grant" wrote:
> 
> While attempting to:
> 
> make buildkernel KERNCONF=PARADIGM
> 
> I received the following error message in both 4.4-RELEASE and 4.4-STABLE.
> I deleted the /usr/src/sys directory and re-cvsup'd the sys to insure it
> wasn't corrupt source, still receiving the same error.

It really looks like you used an old kernel config file. One that
doesn't specify that the miibus is needed by the ed device.

Kent

> 
> .
> .
> .
> <snip>
> 
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  setdef1.c
> touch hack.c
> cc -elf -shared -nostdlib hack.c -o hack.So
> rm -f hack.c
> sh /usr/src/sys/conf/newvers.sh PARADIGM
> cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/ipfilter  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  vers.c
> linking kernel
> if_ed.o: In function `ed_tick':
> if_ed.o(.text+0x26dd): undefined reference to `mii_tick'
> if_ed.o: In function `ed_init':
> if_ed.o(.text+0x2ace): undefined reference to `mii_mediachg'
> if_ed.o: In function `ed_ifmedia_upd':
> if_ed.o(.text+0x4c15): undefined reference to `mii_mediachg'
> if_ed.o: In function `ed_ifmedia_sts':
> if_ed.o(.text+0x4c4a): undefined reference to `mii_pollstat'
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/PARADIGM.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> <snip>
> 
> Any thoughts?
> 
> Thanks in advance,
> 
> Mark
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BB00867.BBBEBDA0>