kernel build error

Roman Kurakin rik at cronyx.ru
Fri Jun 25 15:49:20 PDT 2004


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@ 
> -I@/contrib/
> altq -I@/../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:
> @/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"
>
>






More information about the freebsd-current mailing list