Subject: kern/9292: umodem without ucom -> kernel doesn't link
To: None <gnats-bugs@gnats.netbsd.org>
From: Bill Sommerfeld <wes@orchard.arlington.ma.us>
List: netbsd-bugs
Date: 01/25/2000 05:36:58
>Number: 9292
>Category: kern
>Synopsis: umodem without ucom -> kernel doesn't link
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 25 05:36:01 2000
>Last-Modified:
>Originator: Bill Sommerfeld
>Organization:
>Release: -current of 20000125
>Environment:
System: NetBSD thunk 1.4P NetBSD 1.4P (VAIO.v6) #210: Sat Jan 1 21:00:53 EST 2000 wes@thunk:/usr/wes/sys-current/arch/i386/compile/VAIO.v6 i386
>Description:
building kernel config with:
umodem* at uhub? port ? configuration ?
but not:
ucom* at umodem?
fails to link with the following undefined reference:
/usr/wes/sys-current/arch/i386/compile/VAIO.v6/../../../../dev/usb/umodem.c:273: undefined reference to `ucomsubmatch'
/usr/wes/sys-current/arch/i386/compile/VAIO.v6/../../../../dev/usb/umodem.c:273: undefined reference to `ucomprint'
if config succeeds, the kernel should build and link, even if it has
partial drivers which aren't fully functional..
>How-To-Repeat:
see above.
>Fix:
move ucomsubmatch/ucomprint into separate module so the kernel
at least links..
>Audit-Trail:
>Unformatted: