Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Aug 2001 03:42:33 -0700 (PDT)
From:      "Oleg Y. Ivanov" <oleg_y_ivanov@mailru.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/30187: ed driver broken(?) in 4.3-stable
Message-ID:  <200108291042.f7TAgXv76125@freefall.freebsd.org>

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

>Number:         30187
>Category:       kern
>Synopsis:       ed driver broken(?) in 4.3-stable
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 29 03:50:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Y. Ivanov
>Release:        4.3-20010828-STABLE
>Organization:
>Environment:
FreeBSD TEST.dwec.ru 4.3-20010828-STABLE FreeBSD 4.3-20010828-STABLE #0: Tue Aug 28 15:29:35 GMT 2001     root@usw3.freebsd.org:/usr/src/sys/compile/GENERIC  i386
>Description:
make fails to link custom kernel with 'device ed' included since 4.3-20010822-STABLE snapshot.

Fresh install using snapshot via FTP.

[snip]
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/src/sys/compile/TEST.

>How-To-Repeat:
cd /usr/src/sys/i386/conf
/usr/sbin/config TEST
cd ../../compile/TEST
make depend 
make



>Fix:
add 'device miibus' to kernel conf file

since when 'ed' driver requires MII ?!
DAMN IT !
>Release-Note:
>Audit-Trail:
>Unformatted:

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




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