Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2009 17:00:20 +0200
From:      "DA Forsyth" <d.forsyth@ru.ac.za>
To:        freebsd-questions@freebsd.org
Subject:   another compile error
Message-ID:  <4A2E9524.3642.14983ABC@d.forsyth.ru.ac.za>

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

trying to build kernel for 7.2 and get this
(my earlier problem was my having CFLAGS=... in /etc/src.conf)

MAKE=make sh /usr/src/sys/conf/newvers.sh LERGY72
cc -c -O -pipe  -std=c99 -g -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  -mno-align-long-strings -mpreferred-stack-
boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -
ffreestanding -Werror  vers.c
linking kernel.debug
udbp.o(.text+0x59): In function `ng_udbp_disconnect':
/usr/src/sys/dev/usb/udbp.c:857: undefined reference to 
`ng_rmnode_self'
udbp.o(.text+0xc9): In function `udbp_detach':
/usr/src/sys/dev/usb/udbp.c:450: undefined reference to 
`ng_rmnode_self'
udbp.o(.text+0xde):/usr/src/sys/dev/usb/udbp.c:452: undefined 
reference to `ng_unref_node'
udbp.o(.text+0x79e): In function `udbp_attach':
/usr/src/sys/dev/usb/udbp.c:375: undefined reference to `ng_newtype'
udbp.o(.text+0x7cc):/usr/src/sys/dev/usb/udbp.c:381: undefined 
reference to `ng_make_node_common'
udbp.o(.text+0x813):/usr/src/sys/dev/usb/udbp.c:384: undefined 
reference to `ng_name_node'
udbp.o(.text+0x828):/usr/src/sys/dev/usb/udbp.c:385: undefined 
reference to `ng_unref_node'
udbp.o(.text+0x993): In function `ng_udbp_rcvmsg':
/usr/src/sys/dev/usb/udbp.c:705: undefined reference to 
`M_NETGRAPH_MSG'
udbp.o(.text+0xa55):/usr/src/sys/dev/usb/udbp.c:733: undefined 
reference to `ng_address_ID'
udbp.o(.text+0xa6e):/usr/src/sys/dev/usb/udbp.c:733: undefined 
reference to `ng_snd_item'
udbp.o(.text+0xa7d):/usr/src/sys/dev/usb/udbp.c:733: undefined 
reference to `ng_free_item'
udbp.o(.text+0xa89):/usr/src/sys/dev/usb/udbp.c:734: undefined 
reference to `M_NETGRAPH_MSG'
udbp.o(.text+0xb15): In function `udbp_in_transfer_cb':
/usr/src/sys/dev/usb/udbp.c:531: undefined reference to 
`ng_package_data'
udbp.o(.text+0xb3a):/usr/src/sys/dev/usb/udbp.c:531: undefined 
reference to `ng_address_hook'
udbp.o(.text+0xb4e):/usr/src/sys/dev/usb/udbp.c:531: undefined 
reference to `ng_snd_item'
udbp.o(.text+0xd33): In function `ng_udbp_rmnode':
/usr/src/sys/dev/usb/udbp.c:815: undefined reference to 
`ng_unref_node'
udbp.o(.text+0xd46):/usr/src/sys/dev/usb/udbp.c:817: undefined 
reference to `ng_make_node_common'
udbp.o(.text+0xd7f):/usr/src/sys/dev/usb/udbp.c:820: undefined 
reference to `ng_name_node'
udbp.o(.text+0xd90):/usr/src/sys/dev/usb/udbp.c:821: undefined 
reference to `ng_unref_node'
udbp.o(.text+0xde3): In function `ng_udbp_rcvdata':
/usr/src/sys/dev/usb/udbp.c:752: undefined reference to 
`ng_free_item'
udbp.o(.rodata+0x20): In function `ng_udbp_connect':
/usr/src/sys/dev/usb/udbp.c:842: undefined reference to 
`ng_parse_int32_type'
udbp.o(.rodata+0x3c): In function `ng_udbp_disconnect':
/usr/src/sys/dev/usb/udbp.c:853: undefined reference to 
`ng_parse_struct_type'
udbp.o(.rodata+0x64):/usr/src/sys/dev/usb/udbp.c:859: undefined 
reference to `ng_parse_int32_type'
udbp.o(.rodata+0x70): In function `udbp_detach':
/usr/src/sys/dev/usb/udbp.c:433: undefined reference to 
`ng_parse_int32_type'
*** Error code 1

Stop in /usr/obj/usr/src/sys/LERGY72.
*** Error code 1


--
       DA Fo rsyth            Network Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A2E9524.3642.14983ABC>