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

From: sam <samflanker_at_gmail.com>
Date: Mon, 19 May 2008 11:46:03 +0400
Hello.

trouble on build stage (net-mgmt/netxms)

------------------------------------------------------------------------------------

 c++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -fpermissive -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT freebsd.lo -MD -MP -MF .deps/freebsd.Tpo -c freebsd.cpp  -fPIC -DPIC -o .libs/freebsd.o
freebsd.cpp: In function 'BOOL __NxSubAgentGetIfList(NETXMS_VALUES_LIST*)':
freebsd.cpp:114: warning: deprecated conversion from string constant to 'char*'
freebsd.cpp: In function 'BOOL __NxSubAgentGetArpCache(NETXMS_VALUES_LIST*)':
freebsd.cpp:119: warning: deprecated conversion from string constant to 'char*'
mv -f .deps/freebsd.Tpo .deps/freebsd.Plo
/bin/sh ../../../../libtool --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include   -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -fpermissive -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT system.lo -MD -MP -MF .deps/system.Tpo -c -o system.lo system.cpp
 c++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -fpermissive -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT system.lo -MD -MP -MF .deps/system.Tpo -c system.cpp  -fPIC -DPIC -o .libs/system.o
In file included from system.cpp:34:
/usr/include/sys/proc.h:270: error: field 'td_lprof' has incomplete type
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.21/src/agent/subagents/freebsd.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.21/src/agent/subagents.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.21/src/agent.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.21/src.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.21.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms/work/netxms-0.2.21.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms.
*** Error code 1

Stop in /usr/ports/net-mgmt/netxms.
------------------------------------------------------------------------------------


# uname -a
FreeBSD damascus 8.0-CURRENT FreeBSD 8.0-CURRENT #8: Mon May 12 14:30:46 
SAMST 2008     root_at_damascus:/usr/obj/usr/src/sys/DAMASCUS  i386

on 7.0-STABLE port build finished without it problem

/Vladimir Ermakov
Received on Mon May 19 2008 - 05:46:08 UTC

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