Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 May 2008 11:46:03 +0400
From:      sam <samflanker@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   possible  bug in /usr/include/sys/proc.h
Message-ID:  <4831303B.1040002@gmail.com>

next in thread | raw e-mail | index | archive | help
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@damascus:/usr/obj/usr/src/sys/DAMASCUS  i386

on 7.0-STABLE port build finished without it problem

/Vladimir Ermakov





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4831303B.1040002>