Date: Mon, 19 May 2008 03:27:06 -0700 From: "Garrett Cooper" <yanefbsd@gmail.com> To: current@freebsd.org Subject: Re: possible bug in /usr/include/sys/proc.h Message-ID: <7d6fde3d0805190327h11746achb9ede335fc68a3cd@mail.gmail.com> In-Reply-To: <7d6fde3d0805190326we58b3a8t58a0dfaa644593f1@mail.gmail.com> References: <4831303B.1040002@gmail.com> <48314CD5.2030104@gmail.com> <7d6fde3d0805190326we58b3a8t58a0dfaa644593f1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 19, 2008 at 2:48 AM, sam <samflanker@gmail.com> wrote: > sam wrote: > >> >> >> Stop in >> /usr/ports/net-mgmt/netxms/work/netxms-0.2.21/src/agent/subagents/freebsd. >> *** Error code 1 >> > > after system update (today) > -------------------------------------------- > c++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include > -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DPREFIX=\"/usr/local\" > -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -O2 -pipe > -march=prescott -I/usr/local/include -fno-strict-aliasing -MT ecs.lo -MD -MP > -MF .deps/ecs.Tpo -c ecs.cpp -fPIC -DPIC -o .libs/ecs.o > ecs.cpp: In function 'unsigned char* GetHttpUrl(char*, int*)': > ecs.cpp:42: warning: deprecated conversion from string constant to 'char*' > mv -f .deps/ecs.Tpo .deps/ecs.Plo > /bin/sh ../../../../libtool --tag=CXX --mode=link c++ -O2 -pipe > -march=prescott -I/usr/local/include -fno-strict-aliasing > ../../../libnetxms/libnetxms.la -L/usr/local/lib > -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -pthread -liconv -o > libnsm_ecs.la -rpath /usr/local/lib ecs.lo -lcrypto -lcrypto -lcrypto > c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/ecs.o > -Wl,--rpath > -Wl,/usr/ports/net-mgmt/netxms/work/netxms-0.2.19/src/libnetxms/.libs > -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib > ../../../libnetxms/.libs/libnetxms.so -L/usr/local/lib > /usr/local/lib/libiconv.so -lcrypto -L/usr/lib -lstdc++ -lm -lc -lgcc_s > /usr/lib/crtendS.o /usr/lib/crtn.o -march=prescott -pthread -Wl,-soname > -Wl,libnsm_ecs.so.0 -o .libs/libnsm_ecs.so.0 > (cd .libs && rm -f libnsm_ecs.so && ln -s libnsm_ecs.so.0 libnsm_ecs.so) > (cd .libs && rm -f libnsm_ecs.so && ln -s libnsm_ecs.so.0 libnsm_ecs.so) > creating libnsm_ecs.la > (cd .libs && rm -f libnsm_ecs.la && ln -s ../libnsm_ecs.la libnsm_ecs.la) > Making all in freebsd > /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\" > -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" > -fpermissive -O2 -pipe -march=prescott -I/usr/local/include > -fno-strict-aliasing -MT freebsd.lo -MD -MP -MF .deps/freebsd.Tpo -c -o > freebsd.lo freebsd.cpp > mkdir .libs > c++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include > -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DPREFIX=\"/usr/local\" > -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" > -fpermissive -O2 -pipe -march=prescott -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\" > -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" > -fpermissive -O2 -pipe -march=prescott -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\" > -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" > -fpermissive -O2 -pipe -march=prescott -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: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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0805190327h11746achb9ede335fc68a3cd>