Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Oct 2006 14:42:18 +0200
From:      rmgls@orange.fr
To:        freebsd-current@freebsd.org
Subject:   i4b compile
Message-ID:  <20061001124224.761A61C000A9@mwinf1903.orange.fr>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061001124224.761A61C000A9>