possible bug in /usr/include/sys/proc.h

Bruce M. Simpson bms at FreeBSD.org
Mon May 19 09:48:14 UTC 2008


sam wrote:
> Hello.
>
> trouble on build stage (net-mgmt/netxms)
>
> In file included from system.cpp:34:
> /usr/include/sys/proc.h:270: error: field 'td_lprof' has incomplete type
> *** Error code 1
Looks like this field was introduced in rev 1.497. struct lpohead is 
defined in <sys/lock_profile.h> and depends on definitions from 
<sys/queue.h> in its definition.

User apps shouldn't need to worry about this, so perhaps a nested 
include directive is missing. Jeff?


More information about the freebsd-current mailing list