Re: kernel build error

From: Roman Kurakin <rik_at_cronyx.ru>
Date: Sat, 26 Jun 2004 02:35:26 +0400
Just add
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/mbuf.h>

to the netgraph.h, this should help.

rik

Grover Lines:

> cvsup from 3:00pm pacific time
>
> cc -O2 -pipe -march=pentium4 
> -I/usr/src/sys/modules/netgraph/bluetooth/socket/..
> /../../../netgraph/bluetooth/include -Wall  -D_KERNEL -DKLD_MODULE 
> -nostdinc -I-
>
> -I/usr/src/sys/modules/netgraph/bluetooth/socket/../../../../netgraph/bluetoot
> h/include -include /usr/obj/usr/src/sys/PSYCHO/opt_global.h -I. -I_at_ 
> -I_at_/contrib/
> altq -I_at_/../include -finline-limit=8000 -fno-common 
> -I/usr/obj/usr/src/sys/PSYC
> HO -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding 
> -Wall -Wr
> edundant-decls -Wnested-externs -Wstrict-prototypes 
> -Wmissing-prototypes -Wpoin
> ter-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c 
> /usr/src/sys/net
> graph/bluetooth/socket/ng_btsocket.c
> In file included from 
> /usr/src/sys/netgraph/bluetooth/socket/ng_btsocket.c:46:
> _at_/netgraph/netgraph.h:1152: error: field `tag' has incomplete type
> *** Error code 1
>
> Stop in /usr/src/sys/modules/netgraph/bluetooth/socket.
> *** Error code 1
>
> Stop in /usr/src/sys/modules/netgraph/bluetooth.
> *** Error code 1
>
> Stop in /usr/src/sys/modules/netgraph.
> *** Error code 1
>
> Stop in /usr/src/sys/modules.
> *** Error code 1
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe_at_freebsd.org"
>
>
Received on Fri Jun 25 2004 - 20:49:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:59 UTC