From owner-freebsd-current@FreeBSD.ORG Thu Apr 28 10:52:10 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E07816A4CE for ; Thu, 28 Apr 2005 10:52:10 +0000 (GMT) Received: from orb.pobox.com (orb.pobox.com [207.8.226.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22BE643D54 for ; Thu, 28 Apr 2005 10:52:09 +0000 (GMT) (envelope-from discussion-lists@linnet.org) Received: from orb (localhost [127.0.0.1]) by orb.pobox.com (Postfix) with ESMTP id AFA61733; Thu, 28 Apr 2005 06:52:05 -0400 (EDT) Received: from thinkdog.local.linnet.org (host217-40-157-153.in-addr.btopenworld.com [217.40.157.153]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by orb.sasl.smtp.pobox.com (Postfix) with ESMTP id E1B4E8C; Thu, 28 Apr 2005 06:52:03 -0400 (EDT) Received: from lists by thinkdog.local.linnet.org with local (Exim 4.43 (FreeBSD)) id 1DR6cU-000NR5-9h; Thu, 28 Apr 2005 11:51:46 +0100 Date: Thu, 28 Apr 2005 11:51:46 +0100 From: Brian Candler To: Brooks Davis Message-ID: <20050428105146.GA90073@uk.tiscali.com> References: <20050427090157.GA85275@uk.tiscali.com> <20050427151204.GB32309@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050427151204.GB32309@odin.ac.hmc.edu> User-Agent: Mutt/1.4.2.1i cc: freebsd-current@freebsd.org Subject: Re: ISDN kernel build fials X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 28 Apr 2005 10:52:10 -0000 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.