lib/libnetgraph can't compile

Matthew Dillon dillon at apollo.backplane.com
Sat May 20 16:05:08 PDT 2006


:>     Fixed.  We might hit a few more of these as time passes...
:
:Here's another:
:
:cc -O -pipe -march=athlon-xp -Wall    -c /usr/src/sbin/ipfw/ipfw.c
:In file included from /usr/src/sbin/ipfw/ipfw.c:24:
:/usr/obj/usr/src/world_i386/usr/include/sys/mbuf.h:86: error: field `mh_netmsg'
:has incomplete type

    I'll do another run-through.  There are a bunch of include files that
    userland should never be allowed to #include, and that the other headers
    should not #include unless _KERNEL or _KERNEL_STRUCTURES is set.

    I have a little script that tests each header file with a combination
    of _KERNEL, _KERNEL_STRUCTURES, or userland compilation.  _KERNEL is
    clean.  I have to make -KERNEL_STRUCTURES and userland clean too
    (at least for those files that userland is allowed to #include).

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Bugs mailing list