Date: Fri, 26 Feb 2010 22:10:36 GMT From: "Matt D. Harris" <mdh@lpwv.org> To: freebsd-gnats-submit@FreeBSD.org Subject: usb/144332: Kernel compile fails when aue is enabled but not other USB ethernet drivers Message-ID: <201002262210.o1QMAa8W038572@www.freebsd.org> Resent-Message-ID: <201002262220.o1QMK1on084264@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144332 >Category: usb >Synopsis: Kernel compile fails when aue is enabled but not other USB ethernet drivers >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 26 22:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Matt D. Harris >Release: RELENG_8_0 as of 2010-02-26 >Organization: >Environment: FreeBSD vesper.int 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Oct 4 14:45:06 EDT 2008 root@vesper.int:/usr/obj/usr/src/sys/VESPER i386 >Description: When compiling the kernel (to upgrade to RELENG_8_0), the compile fails when the only USB ethernet driver being compiled in is aue. Since I only have an aue device, I don't normally compile in the others. Adding other USB ethernet drivers to the kernel config fixes the issue. The compile fails during linking, and the functions missing are all from sys/dev/usb/net/usb_ethernet.c which leads me to believe that for some reason aue alone just isn't enough to get it to build/link that file, but that some other USB ethernet drivers do cause it to be built and linked. >How-To-Repeat: >Fix: I believe the fix would be to ensure that sys/dev/usb/net/usb_ethernet.c is built and linked if any USB ethernet driver is configured into the kernel via the kernel conf. At least one of the USB [wired] ethernet drivers (I've enabled axe, aue, cue, kue, rue, and udav) causes it to be built and linked, however aue alone (without axe, cue, kue, rue, and udav) does not. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002262210.o1QMAa8W038572>