Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2004 02:35:26 +0400
From:      Roman Kurakin <rik@cronyx.ru>
To:        Grover Lines <grover@ceribus.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: kernel build error
Message-ID:  <40DCA8AE.1010502@cronyx.ru>
In-Reply-To: <40DCA3F6.5050206@ceribus.net>
References:  <40DCA3F6.5050206@ceribus.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to 
> "freebsd-current-unsubscribe@freebsd.org"
>
>






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