DragonFly BSD
DragonFly bugs List (threaded) for 2006-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: lib/libnetgraph can't compile


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 20 May 2006 16:01:04 -0700 (PDT)

:>     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@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]