From owner-freebsd-current@FreeBSD.ORG Wed Nov 5 07:57:09 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E07B3106567F; Wed, 5 Nov 2008 07:57:08 +0000 (UTC) (envelope-from kevinxlinuz@163.com) Received: from m12-16.163.com (m12-16.163.com [220.181.12.16]) by mx1.freebsd.org (Postfix) with SMTP id 36F048FC13; Wed, 5 Nov 2008 07:57:06 +0000 (UTC) (envelope-from kevinxlinuz@163.com) Received: from [127.0.0.1] (unknown [60.191.86.3]) by smtp12 (Coremail) with SMTP id EMCowLA74yo_ThFJff7qDg--.47173S2; Wed, 05 Nov 2008 15:41:51 +0800 (CST) Message-ID: <49114E3D.9080201@163.com> Date: Wed, 05 Nov 2008 15:41:49 +0800 From: kevin User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Hans Petter Selasky References: <200810251925.47273.hselasky@c2i.net> <20081025181603.GD83037@elvis.mu.org> <200810261633.22020.hselasky@c2i.net> In-Reply-To: <200810261633.22020.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Coremail-Antispam: 1Uf129KBjvJXoW3GF4kCF17Cr4UKr48tr4rGrg_yoW3Gw15pa 1DGFyktw4UtFZ3KrWDJr15Wa9FvrZIqryrGFykJ34a9FWrXa4fKFyqgw4kWw1UKw4kAw18 Gw48Xw4fXFyDtrJanT9S1TB71UUUUUUv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UU U8d7k042IEFTZYmTnxM7k0a2IF6r1UM7kC6x804xWl14x267AKxVWUJVW8JwAFxVCF77xC 6IxKo4kEV4yl1I0EscIYIxCEI4klw4CSwwAFIxvE14AKwVWUJVWUGwAawVAYYI1S6c8GOV WUur45Jrylnx0Ec2IEnICE548m6r1DJrWUZwAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E 2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r4j6F4UM4IEnf9ElVAFpTB2q-sK64 9IAas0WaI_GwAC6xAIw28IcVAK0I8IjxAxMx02cVAKzwCY02Avz4vE14v_GF4lc2IjII80 xcxEwVWxJVW3JwCF72vE52k0Y41lx4CE17CEb7AF67AKxVWUAVWUtbIYCTnIWIevJa73Uj IFyTuYvj4RX3kuDUUUU Cc: Alfred Perlstein , current@freebsd.org, freebsd-usb@freebsd.org, freebsd-current@freebsd.org Subject: Re: USB4BSD release candidate number 3 - request for review X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 07:57:09 -0000 Hans Petter Selasky wrote: > Hi, > > A new USB release is available: > > http://www.selasky.org/hans_petter/usb4bsd/for_review/ > > %md5 usb2_release_003.* > MD5 (usb2_release_003.diff) = e31a032d0234bb7d72eb968c33118d84 > MD5 (usb2_release_003.tar.gz) = 0a0d9dd44e93ba2ceaa849c577f6fecf > %sha256 usb2_release_003.* > SHA256 (usb2_release_003.diff) = > 9b4359f76eeef43d9b6c0c524198e529f2debff14e6158ebac8f35d51efb211b > SHA256 (usb2_release_003.tar.gz) = > 3040714546fc21bc2943c2e7aec1734150845271664aad44639ff5c553e3ed31 > > Changes since 002 release: > I try to compile kernel with usb2. Link error: cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=nocona -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror vers.c ctfconvert -L VERSION vers.o linking kernel ng_ubt2.o(.text+0x38): In function `ubt_detach': : undefined reference to `ng_rmnode_self' ng_ubt2.o(.text+0x488): In function `ubt_attach': : undefined reference to `ng_make_node_common' ng_ubt2.o(.text+0x4be): In function `ubt_attach': : undefined reference to `ng_name_node' ng_ubt2.o(.text+0x52b): In function `ubt_attach': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0xc02): In function `ubt_modevent': : undefined reference to `ng_newtype' ng_ubt2.o(.text+0xde0): In function `ubt_bulk_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0xdfb): In function `ubt_bulk_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0xe39): In function `ubt_bulk_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0xfce): In function `ubt_intr_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0xfe9): In function `ubt_intr_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0x1027): In function `ubt_intr_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x105d): In function `ng_ubt_rcvdata': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x10a7): In function `ng_ubt_rcvdata': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x124e): In function `ng_ubt_rcvmsg': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x12b3): In function `ng_ubt_rcvmsg': : undefined reference to `ng_free_item' ng_ubt2.o(.text+0x12bf): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1314): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1413): In function `ng_ubt_rcvmsg': : undefined reference to `ng_address_ID' ng_ubt2.o(.text+0x142a): In function `ng_ubt_rcvmsg': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x1480): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1561): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x162e): In function `ng_ubt_rcvmsg': : undefined reference to `M_NETGRAPH_MSG' ng_ubt2.o(.text+0x1a7a): In function `ng_ubt_shutdown': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0x1ab5): In function `ng_ubt_shutdown': : undefined reference to `ng_make_node_common' ng_ubt2.o(.text+0x1acc): In function `ng_ubt_shutdown': : undefined reference to `ng_name_node' ng_ubt2.o(.text+0x1b6b): In function `ng_ubt_shutdown': : undefined reference to `ng_unref_node' ng_ubt2.o(.text+0x1c28): In function `ubt_isoc_read_complete': : undefined reference to `ng_package_data' ng_ubt2.o(.text+0x1c43): In function `ubt_isoc_read_complete': : undefined reference to `ng_address_hook' ng_ubt2.o(.text+0x1d01): In function `ubt_isoc_read_complete': : undefined reference to `ng_snd_item' ng_ubt2.o(.text+0x1eaf): In function `ubt_bulk_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0x20cd): In function `ubt_intr_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0x242c): In function `ubt_isoc_read_callback': : undefined reference to `ng_send_fn' ng_ubt2.o(.text+0xc36): In function `ubt_modevent': : undefined reference to `ng_rmtype' ng_ubt2.o(.rodata+0x5f0): undefined reference to `ng_parse_uint16_type' ng_ubt2.o(.rodata+0x618): undefined reference to `ng_parse_uint16_type' ng_ubt2.o(.rodata+0x6c0): undefined reference to `ng_parse_struct_type' ng_ubt2.o(.rodata+0x700): undefined reference to `ng_parse_struct_type' ng_ubt2.o(.rodata+0x748): undefined reference to `ng_parse_int32_type' ng_ubt2.o(.rodata+0x760): undefined reference to `ng_parse_int32_type' ng_ubt2.o(.rodata+0x7a8): undefined reference to `ng_parse_uint32_type' ng_ubt2.o(.rodata+0x7c0): undefined reference to `ng_parse_uint32_type' ng_ubt2.o(.rodata+0x7d8): undefined reference to `ng_parse_uint32_type' ng_ubt2.o(.rodata+0x7f0): undefined reference to `ng_parse_uint32_type' ng_ubt2.o(.rodata+0x808): undefined reference to `ng_parse_uint32_type' ng_ubt2.o(.rodata+0x820): more undefined references to `ng_parse_uint32_type' follow *** Error code 1 I removed all old usb config. any other depends for usb2_bluetooth_ng? # USB core support device usb2_core # USB controller support device usb2_controller device usb2_controller_ehci device usb2_controller_ohci device usb2_controller_uhci # USB mass storage support device usb2_storage device usb2_storage_mass # USB ethernet support, requires miibus #device usb2_ethernet #device usb2_ethernet_aue #device usb2_ethernet_axe #device usb2_ethernet_cdce #device usb2_ethernet_cue #device usb2_ethernet_kue #device usb2_ethernet_rue #device usb2_ethernet_dav # USB wireless LAN support #device usb2_wlan #device usb2_wlan_rum #device usb2_wlan_ral #device usb2_wlan_zyd # USB serial device support #device usb2_serial #device usb2_serial_ark #device usb2_serial_bsa #device usb2_serial_bser #device usb2_serial_chcom #device usb2_serial_cycom #device usb2_serial_foma #device usb2_serial_ftdi #device usb2_serial_gensa #device usb2_serial_ipaq #device usb2_serial_lpt #device usb2_serial_mct #device usb2_serial_modem #device usb2_serial_moscom #device usb2_serial_plcom #device usb2_serial_visor #device usb2_serial_vscom # USB bluetooth support device usb2_bluetooth device usb2_bluetooth_ng # USB input device support device usb2_input device usb2_input_hid device usb2_input_kbd device usb2_input_ms # USB sound and MIDI device support #device usb2_sound Thanks, kevin