From owner-freebsd-current@FreeBSD.ORG Sun Oct 1 12:45:13 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 4B7F216A51C for ; Sun, 1 Oct 2006 12:45:13 +0000 (UTC) (envelope-from rmgls@wanadoo.fr) Received: from smtp19.orange.fr (smtp19.orange.fr [80.12.242.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6452F43D49 for ; Sun, 1 Oct 2006 12:45:12 +0000 (GMT) (envelope-from rmgls@wanadoo.fr) Received: from smtp-msa-out19.orange.fr (mwinf1903 [172.22.129.25]) by mwinf1910.orange.fr (SMTP Server) with ESMTP id A5A5E5C10007 for ; Sun, 1 Oct 2006 14:42:25 +0200 (CEST) Received: from wanadoo.fr (ARouen-156-1-41-51.w90-8.abo.wanadoo.fr [90.8.32.51]) by mwinf1903.orange.fr (SMTP Server) with ESMTP id 761A61C000A9 for ; Sun, 1 Oct 2006 14:42:24 +0200 (CEST) X-ME-UUID: 20061001124224483.761A61C000A9@mwinf1903.orange.fr To: freebsd-current@freebsd.org From: rmgls@orange.fr Date: Sun, 01 Oct 2006 14:42:18 +0200 Sender: rmgls@wanadoo.fr Message-Id: <20061001124224.761A61C000A9@mwinf1903.orange.fr> Subject: i4b compile 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: Sun, 01 Oct 2006 12:45:13 -0000 hi all, I try to compile i4b in the kernel, (it does not compile as a module yet). 1. hints.xx for i4b make an error on "config". Perhaps i missed something here! 2. netgraph.h seems to be dereferenced, on make depend; 3. even if i include it (a copy) in i4b_ing.c, i obtain: i4b_ing.o(.text+0x116): In function `i4bingattach': ../../../i4b/driver/i4b_ing.c:1408: undefined reference to `ng_make_node_common' i4b_ing.o(.text+0x150):../../../i4b/driver/i4b_ing.c:1416: undefined reference to `ng_name_node' i4b_ing.o(.text+0x16d):../../../i4b/driver/i4b_ing.c:1419: undefined reference to `ng_unref_node' i4b_ing.o(.text+0x4c9): In function `ing_rx_data_rdy': ../../../i4b/driver/i4b_ing.c:1617: undefined reference to `ng_package_data' i4b_ing.o(.text+0x4e2):../../../i4b/driver/i4b_ing.c:1617: undefined reference to `ng_address_hook' i4b_ing.o(.text+0x4f1):../../../i4b/driver/i4b_ing.c:1617: undefined reference to `ng_snd_item' i4b_ing.o(.text+0x7c7): In function `ng_ing_rcvmsg': ../../../i4b/driver/i4b_ing.c:1781: undefined reference to `M_NETGRAPH_MSG' i4b_ing.o(.text+0x8e4):../../../i4b/driver/i4b_ing.c:1829: undefined reference to `M_NETGRAPH_MSG' i4b_ing.o(.text+0x994):../../../i4b/driver/i4b_ing.c:1863: undefined reference to `ng_address_ID' i4b_ing.o(.text+0x9a3):../../../i4b/driver/i4b_ing.c:1863: undefined reference to `ng_snd_item' i4b_ing.o(.text+0x9b2):../../../i4b/driver/i4b_ing.c:1863: undefined reference to `ng_free_item' i4b_ing.o(.text+0x9c6):../../../i4b/driver/i4b_ing.c:1863: undefined reference to `ng_free_item' i4b_ing.o(.text+0x9d5):../../../i4b/driver/i4b_ing.c:1865: undefined reference to `M_NETGRAPH_MSG' i4b_ing.o(.text+0xa11): In function `ng_ing_rcvdata': ../../../i4b/driver/i4b_ing.c:1882: undefined reference to `ng_free_item' i4b_ing.o(.text+0xb29): In function `ng_ing_shutdown': ../../../i4b/driver/i4b_ing.c:1939: undefined reference to `ng_unref_node' i4b_ing.o(.text+0xb4e):../../../i4b/driver/i4b_ing.c:1944: undefined reference to `ng_make_node_common' i4b_ing.o(.text+0xb88):../../../i4b/driver/i4b_ing.c:1951: undefined reference to `ng_name_node' i4b_ing.o(.text+0xba5):../../../i4b/driver/i4b_ing.c:1954: undefined reference to `ng_unref_node' i4b_ing.o(.data+0x84): In function `i4bingattach': ../../../i4b/driver/i4b_ing.c:1381: undefined reference to `ng_mod_event' i4b_ing.o(.rodata+0x4): In function `i4b_ing_modevent': ../../../i4b/driver/i4b_ing.c:1259: undefined reference to `ng_parse_int32_type' i4b_ing.o(.rodata+0x10):../../../i4b/driver/i4b_ing.c:1259: undefined reference to `ng_parse_int32_type' i4b_ing.o(.rodata+0x24):../../../i4b/driver/i4b_ing.c:1259: undefined reference to `ng_parse_struct_type' i4b_ing.o(.rodata+0x60): In function `i4bingattach': ../../../i4b/driver/i4b_ing.c:1379: undefined reference to `ng_parse_int32_type' *** Error code 1 Stop in /usr/src/sys/i386/compile/i4bkernel. any hint would be appreciated, to solve this issue, and for learning purpose. thanks. Raoul rmgls@orange.fr