Discussion:
kernel -current build failures
(too old to reply)
Michael Butler
2018-05-23 23:21:14 UTC
Permalink
On a device with bluetooth (as in GENERIC modules) ..

--- ng_ether.o ---
/usr/src/sys/netgraph/ng_ether.c:871:2: error: no member named
'tqh_first' in 'struct ifnethead'; did you mean 'stqh_first'?
TAILQ_FOREACH(ifp, &V_ifnet, if_link) {
^
/usr/src/sys/sys/queue.h:724:15: note: expanded from macro 'TAILQ_FOREACH'
for ((var) = TAILQ_FIRST((head)); \
^
/usr/src/sys/sys/queue.h:721:36: note: expanded from macro 'TAILQ_FIRST'
#define TAILQ_FIRST(head) ((head)->tqh_first)
^
On a system without IPSEC ..

--- kernel ---
linking kernel
ld: error: undefined symbol: vnet_entry_ipsec4stat
referenced by key.c
key.o:(key_allocsp)
ld: error: undefined symbol: vnet_entry_ipsec4stat
referenced by key.c
key.o:(key_allocsp)
*** [kernel] Error code 1

Michael
Charlie Li
2018-05-24 02:39:56 UTC
Permalink
Post by Michael Butler
On a device with bluetooth (as in GENERIC modules) ..
--- ng_ether.o ---
/usr/src/sys/netgraph/ng_ether.c:871:2: error: no member named
'tqh_first' in 'struct ifnethead'; did you mean 'stqh_first'?
TAILQ_FOREACH(ifp, &V_ifnet, if_link) {
^
/usr/src/sys/sys/queue.h:724:15: note: expanded from macro 'TAILQ_FOREACH'
for ((var) = TAILQ_FIRST((head)); \
^
/usr/src/sys/sys/queue.h:721:36: note: expanded from macro 'TAILQ_FIRST'
#define TAILQ_FIRST(head) ((head)->tqh_first)
^
Looks like this is fixed in r334123.
--
Charlie Li
Can't think of a witty .sigline today


(This email address is for mailing list use only; replace local-part
with vishwin for off-list communication)
Michael Butler
2018-05-24 15:21:49 UTC
Permalink
Post by Charlie Li
Post by Michael Butler
On a device with bluetooth (as in GENERIC modules) ..
--- ng_ether.o ---
/usr/src/sys/netgraph/ng_ether.c:871:2: error: no member named
'tqh_first' in 'struct ifnethead'; did you mean 'stqh_first'?
TAILQ_FOREACH(ifp, &V_ifnet, if_link) {
^
/usr/src/sys/sys/queue.h:724:15: note: expanded from macro 'TAILQ_FOREACH'
for ((var) = TAILQ_FIRST((head)); \
^
/usr/src/sys/sys/queue.h:721:36: note: expanded from macro 'TAILQ_FIRST'
#define TAILQ_FIRST(head) ((head)->tqh_first)
^
Looks like this is fixed in r334123.
Yes but this one isn't ..

On a system without IPSEC ..

--- kernel ---
linking kernel
ld: error: undefined symbol: vnet_entry_ipsec4stat
Post by Charlie Li
Post by Michael Butler
referenced by key.c
key.o:(key_allocsp)
ld: error: undefined symbol: vnet_entry_ipsec4stat
Post by Charlie Li
Post by Michael Butler
referenced by key.c
key.o:(key_allocsp)
*** [kernel] Error code 1

Michael

Loading...