ISDN kernel build fials

Brian Candler B.Candler at pobox.com
Thu Apr 28 03:52:10 PDT 2005


On Wed, Apr 27, 2005 at 08:12:04AM -0700, Brooks Davis wrote:
> You want to copy the examples from NOTES that looks like:
> 
> device          i4btrc
> options         NI4BTRC=4

Thank you.

Using the full set of ISDN configs from NOTES, I get a failure on i4bing
(see below). However, commenting out device i4bing makes it compile.

Regards,

Brian.

...
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/export/src/usr/src/sys -I/export/src/usr/src/sys/contrib/dev/acpica -I/export/src/usr/src/sys/contrib/altq -I/export/src/usr/src/sys/contrib/ipfilter -I/export/src/usr/src/sys/contrib/pf -I/export/src/usr/src/sys/contrib/dev/ath -I/export/src/usr/src/sys/contrib/dev/ath/freebsd -I/export/src/usr/src/sys/contrib/ngatm -I/export/src/usr/src/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror  vnode_if.c
touch hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=/usr/obj/export/src/usr/src/make.i386/make sh /export/src/usr/src/sys/conf/newvers.sh FOO
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/export/src/usr/src/sys -I/export/src/usr/src/sys/contrib/dev/acpica -I/export/src/usr/src/sys/contrib/altq -I/export/src/usr/src/sys/contrib/ipfilter -I/export/src/usr/src/sys/contrib/pf -I/export/src/usr/src/sys/contrib/dev/ath -I/export/src/usr/src/sys/contrib/dev/ath/freebsd -I/export/src/usr/src/sys/contrib/ngatm -I/export/src/usr/src/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror  vers.c
linking kernel.debug
i4b_ing.o(.text+0x11e): In function `i4bingattach':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:265: undefined reference to `ng_make_node_common'
i4b_ing.o(.text+0x158):/export/src/usr/src/sys/i4b/driver/i4b_ing.c:273: undefined reference to `ng_name_node'
i4b_ing.o(.text+0x19d): In function `i4bingattach':
/export/src/usr/src/sys/netgraph/netgraph.h:430: undefined reference to `dumpnode'
i4b_ing.o(.text+0x1ba):/export/src/usr/src/sys/netgraph/netgraph.h:468: undefined reference to `ng_unref_node'
i4b_ing.o(.text+0x1f7):/export/src/usr/src/sys/netgraph/netgraph.h:430: undefined reference to `dumpnode'
i4b_ing.o(.text+0x55b): In function `ing_rx_data_rdy':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:474: undefined reference to `ng_package_data'
i4b_ing.o(.text+0x574):/export/src/usr/src/sys/i4b/driver/i4b_ing.c:474: undefined reference to `ng_address_hook'
i4b_ing.o(.text+0x591):/export/src/usr/src/sys/i4b/driver/i4b_ing.c:474: undefined reference to `ng_snd_item'
i4b_ing.o(.text+0x7e9): In function `ng_ing_newhook':
/export/src/usr/src/sys/netgraph/netgraph.h:430: undefined reference to `dumpnode'
i4b_ing.o(.text+0x841):/export/src/usr/src/sys/netgraph/netgraph.h:180: undefined reference to `dumphook'
i4b_ing.o(.text+0x8b2):/export/src/usr/src/sys/netgraph/netgraph.h:180: undefined reference to `dumphook'
i4b_ing.o(.text+0x91f): In function `ng_ing_rcvmsg':
/export/src/usr/src/sys/netgraph/netgraph.h:430: undefined reference to `dumpnode'
i4b_ing.o(.text+0x95d):/export/src/usr/src/sys/netgraph/netgraph.h:668: undefined reference to `dumpitem'
i4b_ing.o(.text+0x9a8): In function `ng_ing_rcvmsg':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:638: undefined reference to `M_NETGRAPH_MSG'
i4b_ing.o(.text+0xac8):/export/src/usr/src/sys/i4b/driver/i4b_ing.c:686: undefined reference to `M_NETGRAPH_MSG'
i4b_ing.o(.text+0xb78): In function `ng_ing_rcvmsg':
/export/src/usr/src/sys/netgraph/netgraph.h:668: undefined reference to `dumpitem'
i4b_ing.o(.text+0xbae):/export/src/usr/src/sys/netgraph/netgraph.h:668: undefined reference to `dumpitem'
i4b_ing.o(.text+0xbe6):/export/src/usr/src/sys/netgraph/netgraph.h:668: undefined reference to `dumpitem'
i4b_ing.o(.text+0xc11): In function `ng_ing_rcvmsg':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:720: undefined reference to `ng_address_ID'
i4b_ing.o(.text+0xc2e):/export/src/usr/src/sys/i4b/driver/i4b_ing.c:720: undefined reference to `ng_snd_item'
i4b_ing.o(.text+0xc51): In function `ng_ing_rcvmsg':
/export/src/usr/src/sys/netgraph/netgraph.h:668: undefined reference to `dumpitem'
i4b_ing.o(.text+0xc74): In function `ng_ing_rcvmsg':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:720: undefined reference to `ng_free_item'
i4b_ing.o(.text+0xc95): In function `ng_ing_rcvmsg':
/export/src/usr/src/sys/netgraph/netgraph.h:668: undefined reference to `dumpitem'
i4b_ing.o(.text+0xcb8): In function `ng_ing_rcvmsg':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:720: undefined reference to `ng_free_item'
i4b_ing.o(.text+0xcc5):/export/src/usr/src/sys/i4b/driver/i4b_ing.c:722: undefined reference to `M_NETGRAPH_MSG'
i4b_ing.o(.text+0xd14): In function `ng_ing_rcvdata':
/export/src/usr/src/sys/netgraph/netgraph.h:180: undefined reference to `dumphook'
i4b_ing.o(.text+0xd52):/export/src/usr/src/sys/netgraph/netgraph.h:430: undefined reference to `dumpnode'
i4b_ing.o(.text+0xd81):/export/src/usr/src/sys/netgraph/netgraph.h:668: undefined reference to `dumpitem'
i4b_ing.o(.text+0xdc0):/export/src/usr/src/sys/netgraph/netgraph.h:668: undefined reference to `dumpitem'
i4b_ing.o(.text+0xde4): In function `ng_ing_rcvdata':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:739: undefined reference to `ng_free_item'
i4b_ing.o(.text+0xe11): In function `ng_ing_rcvdata':
/export/src/usr/src/sys/netgraph/netgraph.h:180: undefined reference to `dumphook'
i4b_ing.o(.text+0xf65): In function `ng_ing_shutdown':
/export/src/usr/src/sys/netgraph/netgraph.h:430: undefined reference to `dumpnode'
i4b_ing.o(.text+0xfa9):/export/src/usr/src/sys/netgraph/netgraph.h:430: undefined reference to `dumpnode'
i4b_ing.o(.text+0xfc6):/export/src/usr/src/sys/netgraph/netgraph.h:468: undefined reference to `ng_unref_node'
i4b_ing.o(.text+0xfed): In function `ng_ing_shutdown':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:801: undefined reference to `ng_make_node_common'
i4b_ing.o(.text+0x1028):/export/src/usr/src/sys/i4b/driver/i4b_ing.c:808: undefined reference to `ng_name_node'
i4b_ing.o(.text+0x106d): In function `ng_ing_shutdown':
/export/src/usr/src/sys/netgraph/netgraph.h:430: undefined reference to `dumpnode'
i4b_ing.o(.text+0x108a):/export/src/usr/src/sys/netgraph/netgraph.h:468: undefined reference to `ng_unref_node'
i4b_ing.o(.text+0x10c6):/export/src/usr/src/sys/netgraph/netgraph.h:430: undefined reference to `dumpnode'
i4b_ing.o(.text+0x111f): In function `ng_ing_connect':
/export/src/usr/src/sys/netgraph/netgraph.h:180: undefined reference to `dumphook'
i4b_ing.o(.text+0x115a):/export/src/usr/src/sys/netgraph/netgraph.h:180: undefined reference to `dumphook'
i4b_ing.o(.text+0x11b1): In function `ng_ing_disconnect':
/export/src/usr/src/sys/netgraph/netgraph.h:180: undefined reference to `dumphook'
i4b_ing.o(.text+0x11ef):/export/src/usr/src/sys/netgraph/netgraph.h:430: undefined reference to `dumpnode'
i4b_ing.o(.text+0x1235):/export/src/usr/src/sys/netgraph/netgraph.h:180: undefined reference to `dumphook'
i4b_ing.o(.data+0x84): In function `i4bingattach':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:236: undefined reference to `ng_mod_event'
i4b_ing.o(.rodata+0x4): In function `i4b_ing_modevent':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:116: undefined reference to `ng_parse_int32_type'
i4b_ing.o(.rodata+0x10):/export/src/usr/src/sys/i4b/driver/i4b_ing.c:116: undefined reference to `ng_parse_int32_type'
i4b_ing.o(.rodata+0x24):/export/src/usr/src/sys/i4b/driver/i4b_ing.c:116: undefined reference to `ng_parse_struct_type'
i4b_ing.o(.rodata+0x60): In function `i4bingattach':
/export/src/usr/src/sys/i4b/driver/i4b_ing.c:232: undefined reference to `ng_parse_int32_type'
*** Error code 1

Stop in /export/obj/export/src/usr/src/sys/FOO+ISDN.
*** Error code 1

Stop in /export/src/usr/src.
*** Error code 1

Stop in /export/src/usr/src.


More information about the freebsd-current mailing list