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

Kip Macy kip.macy at gmail.com
Mon May 19 15:09:25 UTC 2008


td_lprof's type is going to be #ifdef _KERNEL. Why does this app need
to know about struct proc?

 -Kip

On Mon, May 19, 2008 at 8:51 AM, sam <samflanker at gmail.com> wrote:
> Garrett Cooper wrote:
>>
>> On Mon, May 19, 2008 at 2:48 AM, sam <samflanker at gmail.com> wrote:
>>
>>
>>>
>>> sam wrote:
>>>    system.cpp  -fPIC -DPIC -o .libs/system.o
>>> In file included from system.cpp:34:
>>> /usr/include/sys/proc.h:272: error: field 'td_lprof' has incomplete type
>>> *** Error code 1
>>>
>>> Stop in
>>>
>>> /usr/ports/net-mgmt/netxms/work/netxms-0.2.19/src/agent/subagents/freebsd.
>>> *** Error code 1
>>>
>>> Stop in
>>> /usr/ports/net-mgmt/netxms/work/netxms-0.2.19/src/agent/subagents.
>>> *** Error code 1
>>>
>>> Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.19/src/agent.
>>> *** Error code 1
>>>
>>> Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.19/src.
>>> *** Error code 1
>>>
>>> Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.19.
>>> *** Error code 1
>>>
>>> Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.19.
>>> *** Error code 1
>>>
>>> Stop in /usr/ports/net-mgmt/netxms.
>>> *** Error code 1
>>>
>>> Stop in /usr/ports/net-mgmt/netxms.
>>>
>>>
>>
>> Don't forget "rm -Rf /usr/obj". You may also have to rebuild dependent
>> libraries as well...
>> I had similar issues today with rebuilding libc.
>> -Garrett
>>
>>
>
> thanks
> tried again
> does not work
>
> /Vladimir Ermakov
>
> _______________________________________________
> 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