Re: USB4BSD release candidate number 3 - request for review

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Wed, 5 Nov 2008 09:08:34 +0100
On Wednesday 05 November 2008, kevin wrote:
> 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?

Hi,

Try to load the module instead of having bluetooth in the kernel. Then all 
dependancies are loaded automatically.

Depends on some bluetooth stuff.

--HPS
Received on Wed Nov 05 2008 - 07:06:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC