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

From: Kip Macy <kip.macy_at_gmail.com>
Date: Mon, 19 May 2008 11:09:22 -0400
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"
>
Received on Mon May 19 2008 - 13:09:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:31 UTC