From: Matej S. <mat...@co...> - 2013-04-15 20:57:29
|
I am sure Dirk has answers to all of these (some things where already mentioned to me when he was building the modules). I guess he has these things written down on some very important paper :) Matej On Mon, Apr 15, 2013 at 10:50 PM, Andrew Johnson <an...@ap...> wrote: > Problems building pvCommonCPP on vxWorks, cloned at ~3pm Chicago time > today: > > VxWorks 5.5.2 build: > > /usr/local/vw/tornado22-ppc/host/x86-linux/bin/ccppc -c - > DCPU=PPC604 -DvxWorks=vxWorks -include /usr/local/vw/tornado22- > ppc/target/h/vxWorks.h -O2 -Wall -DPV_MB -mcpu=604 -mstrict-align > - > mno-implicit-fp -mlongcall -fno-implicit-templates -fno-builtin -MMD > -I. - > I../O.Common -I. -I.. -I../../mbApp//mb -I../../include/pv/os/vxWorks - > I../../include/pv -I../../../pvAccessCPP/include - > I../../../pvDataCPP/include -I../../../pvCommon/include - > I/home/phoebus/ANJ/epics/base/3-14-dev/include/os/vxWorks - > I/home/phoebus/ANJ/epics/base/3-14-dev/include -I ../../include - > I/usr/local/vw/tornado22-ppc/target/h ../../mbApp//mb/mb.cpp > In file included from ../../mbApp//mb/mb.cpp:1: > ../../mbApp/mb/mb.h:8: warning: No include path in which to find stdint.h > In file included from ../../../pvCommon/include/boost/detail/limits.hpp:52, > from ../../../pvCommon/include/boost/limits.hpp:17, > from ../../../pvCommon/include/boost/cstdint.hpp:190, > from ../../../pvCommon/include/boost/atomic/atomic.hpp:11, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > /usr/local/vw/tornado22-ppc/host/x86-linux/bin/../lib/gcc-lib/powerpc-wrs- > vxworks/gcc-2.96/../../../../include/g++-3/cwchar:6: warning: No include > path > in which to find wchar.h > In file included from ../../../pvCommon/include/boost/atomic/atomic.hpp:15, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/config.hpp:17: warning: > `#pragma > once' is obsolete > In file included from ../../../pvCommon/include/boost/atomic/atomic.hpp:16, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/platform.hpp:15: warning: > `#pragma once' is obsolete > In file included from > ../../../pvCommon/include/boost/atomic/detail/platform.hpp:30, > from ../../../pvCommon/include/boost/atomic/atomic.hpp:16, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/gcc2-ppc.hpp:15: warning: > `#pragma once' is obsolete > In file included from > ../../../pvCommon/include/boost/atomic/detail/base.hpp:19, > from ../../../pvCommon/include/boost/atomic/detail/gcc2- > ppc.hpp:146, > from > ../../../pvCommon/include/boost/atomic/detail/platform.hpp:30, > from ../../../pvCommon/include/boost/atomic/atomic.hpp:16, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/lockpool.hpp:17: warning: > `#pragma once' is obsolete > In file included from ../../../pvCommon/include/boost/atomic/detail/gcc2- > ppc.hpp:146, > from > ../../../pvCommon/include/boost/atomic/detail/platform.hpp:30, > from ../../../pvCommon/include/boost/atomic/atomic.hpp:16, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/base.hpp:22: warning: > `#pragma > once' is obsolete > In file included from ../../../pvCommon/include/boost/atomic/atomic.hpp:17, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/type-classification.hpp:14: > warning: `#pragma once' is obsolete > In file included from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/atomic.hpp:21: warning: `#pragma > once' > is obsolete > In file included from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic.hpp:15: warning: `#pragma once' is > obsolete > ../../mbApp//mb/mb.cpp:7: warning: No include path in which to find limits > In file included from ../../../pvCommon/include/boost/limits.hpp:17, > from ../../../pvCommon/include/boost/cstdint.hpp:190, > from ../../../pvCommon/include/boost/atomic/atomic.hpp:11, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/detail/limits.hpp:298: warning: large > integer > implicitly truncated to unsigned type > ../../../pvCommon/include/boost/detail/limits.hpp:298: warning: large > integer > implicitly truncated to unsigned type > In file included from ../../../pvCommon/include/boost/atomic/atomic.hpp:15, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/config.hpp:17: warning: > ignoring > pragma: > In file included from ../../../pvCommon/include/boost/atomic/atomic.hpp:16, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/platform.hpp:15: warning: > ignoring pragma: > In file included from > ../../../pvCommon/include/boost/atomic/detail/platform.hpp:31, > from ../../../pvCommon/include/boost/atomic/atomic.hpp:16, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/gcc2-ppc.hpp:15: warning: > ignoring pragma: > In file included from > ../../../pvCommon/include/boost/atomic/detail/base.hpp:19, > from ../../../pvCommon/include/boost/atomic/detail/gcc2- > ppc.hpp:146, > from > ../../../pvCommon/include/boost/atomic/detail/platform.hpp:31, > from ../../../pvCommon/include/boost/atomic/atomic.hpp:16, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/lockpool.hpp:17: warning: > ignoring pragma: > ../../../pvCommon/include/boost/atomic/detail/lockpool.hpp:90: warning: all > member functions in class `boost::atomics::detail::lockpool' are private > ../../../pvCommon/include/boost/atomic/detail/lockpool.hpp: In method > `boost::atomics::detail::lockpool::scoped_lock::scoped_lock(const volatile > void *)': > ../../../pvCommon/include/boost/atomic/detail/lockpool.hpp:89: `static > class > boost::atomic_flag & boost::atomics::detail::lockpool::get_lock_for(const > volatile void *)' is private > ../../../pvCommon/include/boost/atomic/detail/lockpool.hpp:72: within this > context > ../../../pvCommon/include/boost/atomic/detail/lockpool.hpp:89: `static > class > boost::atomic_flag & boost::atomics::detail::lockpool::get_lock_for(const > volatile void *)' is private > ../../../pvCommon/include/boost/atomic/detail/lockpool.hpp:72: within this > context > In file included from ../../../pvCommon/include/boost/atomic/detail/gcc2- > ppc.hpp:146, > from > ../../../pvCommon/include/boost/atomic/detail/platform.hpp:31, > from ../../../pvCommon/include/boost/atomic/atomic.hpp:16, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/base.hpp: At top level: > ../../../pvCommon/include/boost/atomic/detail/base.hpp:22: warning: > ignoring > pragma: > In file included from ../../../pvCommon/include/boost/atomic/atomic.hpp:17, > from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/detail/type-classification.hpp:14: > warning: ignoring pragma: > In file included from ../../../pvCommon/include/boost/atomic.hpp:12, > from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic/atomic.hpp:21: warning: ignoring > pragma: > In file included from ../../mbApp/mb/mb.h:14, > from ../../mbApp//mb/mb.cpp:1: > ../../../pvCommon/include/boost/atomic.hpp:15: warning: ignoring pragma: > In file included from ../../mbApp//mb/mb.cpp:1: > ../../mbApp/mb/mb.h:24: syntax error before `;' > ../../mbApp/mb/mb.h:29: parse error before `_id' > ../../mbApp/mb/mb.h:29: missing ';' before right brace > ../../mbApp/mb/mb.h:30: parse error at null character > ../../mbApp/mb/mb.h:43: `intptr_t' was not declared in this scope > ../../mbApp/mb/mb.h:43: template argument 1 is invalid > ../../mbApp/mb/mb.h:43: confused by earlier errors, bailing out > make[2]: *** [mb.o] Error 1 > make[2]: Leaving directory > `/home/phoebus3/ANJ/epics/v4/pvCommon/mbApp/O.vxWorks-ppc604_long' > make[1]: *** [install.vxWorks-ppc604_long] Error 2 > make[1]: Leaving directory `/home/phoebus3/ANJ/epics/v4/pvCommon/mbApp' > make: *** [mbApp.install] Error 2 > > > VxWorks 6.8 build: > > /usr/local/vw/vxWorks-6.8/gnu/4.1.2-vxworks-6.8/x86-linux2/bin/ccppc -c > -DCPU=PPC32 -DvxWorks=vxWorks -include > /usr/local/vw/vxWorks-6.8/vxworks-6.8/target/h/vxWorks.h -O2 -Wall > - > DPV_MB -mstrict-align -mlongcall -msoft-float -fno-builtin -MMD -I. - > I../O.Common -I. -I.. -I../../mbApp//mb -I../../include/pv/os/vxWorks - > I../../include/pv -I../../../pvAccessCPP/include - > I../../../pvDataCPP/include -I../../../pvCommon/include - > I/home/phoebus/ANJ/epics/base/3-14-dev/include/os/vxWorks - > I/home/phoebus/ANJ/epics/base/3-14-dev/include -I ../../include - > I/usr/local/vw/vxWorks-6.8/vxworks-6.8/target/h - > I/usr/local/vw/vxWorks-6.8/vxworks-6.8/target/h/wrn/coreip > ../../mbApp//mb/mb.cpp > In file included from ../../mbApp//mb/mb.cpp:1: > ../../mbApp//mb/mb.h:8:20: warning: stdint.h: No such file or directory > ../../mbApp//mb/mb.h:24: error: 'intptr_t' does not name a type > ../../mbApp//mb/mb.h:29: error: expected `)' before '_id' > ../../mbApp//mb/mb.h:43: error: 'intptr_t' was not declared in this scope > ../../mbApp//mb/mb.h:43: error: template argument 1 is invalid > ../../mbApp//mb/mb.h: In constructor 'MBEntity::MBEntity(const > std::string&, > size_t)': > ../../mbApp//mb/mb.h:50: error: request for member 'store' in > '((MBEntity*)this)->MBEntity::auto_id', which is of non-class type 'int' > ../../mbApp//mb/mb.h: At global scope: > ../../mbApp//mb/mb.h:58: error: 'intptr_t' has not been declared > ../../mbApp//mb/mb.cpp:42: error: 'intptr_t' has not been declared > ../../mbApp//mb/mb.cpp: In function 'void MBPointAdd(MBEntity&, int, > uint8_t)': > ../../mbApp//mb/mb.cpp:47: error: 'struct MBPoint' has no member named 'id' > ../../mbApp//mb/mb.cpp: In function 'void MBCSVExport(MBEntity&, uint8_t, > size_t, std::ostream&)': > ../../mbApp//mb/mb.cpp:62: error: 'struct MBPoint' has no member named 'id' > ../../mbApp//mb/mb.cpp:84: error: 'struct MBPoint' has no member named 'id' > ../../mbApp//mb/mb.cpp: In function 'void MBCSVImport(MBEntity&, > std::istream&)': > ../../mbApp//mb/mb.cpp:102: error: 'struct MBPoint' has no member named > 'id' > ../../mbApp//mb/mb.cpp: In function 'void MBNormalize(MBEntity&)': > ../../mbApp//mb/mb.cpp:118: error: 'intptr_t' was not declared in this > scope > ../../mbApp//mb/mb.cpp:118: error: template argument 1 is invalid > ../../mbApp//mb/mb.cpp:118: error: template argument 3 is invalid > ../../mbApp//mb/mb.cpp:118: error: template argument 4 is invalid > ../../mbApp//mb/mb.cpp:118: error: invalid type in declaration before ';' > token > ../../mbApp//mb/mb.cpp:125: error: 'struct MBPoint' has no member named > 'id' > ../../mbApp//mb/mb.cpp:127: error: 'intptr_t' cannot appear in a constant- > expression > ../../mbApp//mb/mb.cpp:127: error: template argument 1 is invalid > ../../mbApp//mb/mb.cpp:127: error: template argument 3 is invalid > ../../mbApp//mb/mb.cpp:127: error: template argument 4 is invalid > ../../mbApp//mb/mb.cpp:127: error: expected initializer before 'last' > ../../mbApp//mb/mb.cpp:128: error: 'last' was not declared in this scope > ../../mbApp//mb/mb.cpp:128: error: request for member 'end' in 'lastTime', > which is of non-class type 'int' > ../../mbApp//mb/mb.cpp:130: error: 'struct MBPoint' has no member named > 'id' > ../../mbApp//mb/mb.cpp: In function 'void MBEntityRegister(MBEntity*)': > ../../mbApp//mb/mb.cpp:422: error: 'taskIdSelf' was not declared in this > scope > make[2]: *** [mb.o] Error 1 > make[2]: Leaving directory > `/home/phoebus3/ANJ/epics/v4/pvCommon/mbApp/O.vxWorks-ppc32sf' > make[1]: *** [install.vxWorks-ppc32sf] Error 2 > make[1]: Leaving directory `/home/phoebus3/ANJ/epics/v4/pvCommon/mbApp' > make: *** [mbApp.install] Error 2 > > > VxWorks 6.9 build: > > /usr/local/vw/vxWorks-6.9/gnu/4.3.3-vxworks-6.9/x86-linux2/bin/ccppc -c > -DCPU=PPC32 -DvxWorks=vxWorks -include > /usr/local/vw/vxWorks-6.9/vxworks-6.9/target/h/vxWorks.h -O2 -Wall > - > DPV_MB -mstrict-align -mlongcall -fno-builtin -MMD -I. -I../O.Common > -I. - > I.. -I../../mbApp//mb -I../../include/pv/os/vxWorks -I../../include/pv - > I../../../pvAccessCPP/include -I../../../pvDataCPP/include - > I../../../pvCommon/include -I/home/phoebus/ANJ/epics/base/3-14- > dev/include/os/vxWorks -I/home/phoebus/ANJ/epics/base/3-14-dev/include > -I > ../../include -I/usr/local/vw/vxWorks-6.9/vxworks-6.9/target/h - > I/usr/local/vw/vxWorks-6.9/vxworks-6.9/target/h/wrn/coreip > ../../mbApp//mb/mb.cpp > ../../mbApp//mb/mb.cpp: In function 'void MBEntityRegister(MBEntity*)': > ../../mbApp//mb/mb.cpp:422: error: 'taskIdSelf' was not declared in this > scope > make[2]: *** [mb.o] Error 1 > make[2]: Leaving directory > `/home/phoebus3/ANJ/epics/v4/pvCommon/mbApp/O.vxWorks-ppc32' > make[1]: *** [install.vxWorks-ppc32] Error 2 > make[1]: Leaving directory `/home/phoebus3/ANJ/epics/v4/pvCommon/mbApp' > make: *** [mbApp.install] Error 2 > > > Note that VxWorks 6.9 doesn't actually run the Base IOC code properly at > the > moment, but it does have a newer compiler (gcc 4.3.3) than VxWorks 6.8 (gcc > 4.1.2). > > - Andrew > -- > It is difficult to get a man to understand something, when his salary > depends upon his not understanding it. -- Upton Sinclair > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > |