Loading ...
Sorry, an error occurred while loading the content.

2418Build problem for AIBO

Expand Messages
  • Taku Izumi
    Oct 15, 2015
      Hi All,

      I'm a newbie of tekkotsu framework.
      I tried to build it for AIBO (TGT_ERS210) by following the instructions at
       https://groups.yahoo.com/neo/groups/tekkotsu_dev/conversations/topics/2390
      but I got the following error.

      My Environment is Ubuntu 15.04 (gcc-4.9).
      It looks like compiler problem. Is there anything to do to avoid this error ?

      Sincerely,
      Taku Izumi


      Compiling Wireless/netstream.cc...
      Compiling Motion/Kinematics.cc...
      In file included from Behaviors/Controls/WalkCalibration.cc:9:
      {standard input}: Assembler messages:
      {standard input}:632: Warning: Macro instruction expanded into multiple instructions
      {standard input}:663: Warning: Macro instruction expanded into multiple instructions
      {standard input}:808: Warning: Macro instruction expanded into multiple instructions
      {standard input}:875: Warning: Macro instruction expanded into multiple instructions
      {standard input}:920: Warning: Macro instruction expanded into multiple instructions
      {standard input}:998: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1043: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1121: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1166: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1244: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1289: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1367: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1412: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1490: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1535: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1613: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1658: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1736: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1781: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1859: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1904: Warning: Macro instruction expanded into multiple instructions
      {standard input}:1982: Warning: Macro instruction expanded into multiple instructions
      {standard input}:2027: Warning: Macro instruction expanded into multiple instructions
      {standard input}:2105: Warning: Macro instruction expanded into multiple instructions
      {standard input}:29685: Warning: Macro instruction expanded into multiple instructions
      {standard input}:29795: Warning: Macro instruction expanded into multiple instructions
      {standard input}:29905: Warning: Macro instruction expanded into multiple instructions
      {standard input}:30015: Warning: Macro instruction expanded into multiple instructions
      {standard input}:30125: Warning: Macro instruction expanded into multiple instructions
      {standard input}:30235: Warning: Macro instruction expanded into multiple instructions
      {standard input}:30345: Warning: Macro instruction expanded into multiple instructions
      {standard input}:30455: Warning: Macro instruction expanded into multiple instructions
      {standard input}:30565: Warning: Macro instruction expanded into multiple instructions
      {standard input}:30675: Warning: Macro instruction expanded into multiple instructions
      {standard input}:30784: Warning: Macro instruction expanded into multiple instructions
      {standard input}:61454: Warning: Macro instruction expanded into multiple instructions
      {standard input}:61485: Warning: Macro instruction expanded into multiple instructions
      {standard input}:61630: Warning: Macro instruction expanded into multiple instructions
      {standard input}:61697: Warning: Macro instruction expanded into multiple instructions
      {standard input}:61742: Warning: Macro instruction expanded into multiple instructions
      {standard input}:61820: Warning: Macro instruction expanded into multiple instructions
      {standard input}:61865: Warning: Macro instruction expanded into multiple instructions
      {standard input}:61943: Warning: Macro instruction expanded into multiple instructions
      {standard input}:61988: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62066: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62111: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62189: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62234: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62312: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62357: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62435: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62480: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62558: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62603: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62681: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62726: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62804: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62849: Warning: Macro instruction expanded into multiple instructions
      {standard input}:62927: Warning: Macro instruction expanded into multiple instructions
      {standard input}:90509: Warning: Macro instruction expanded into multiple instructions
      {standard input}:90619: Warning: Macro instruction expanded into multiple instructions
      {standard input}:90729: Warning: Macro instruction expanded into multiple instructions
      {standard input}:90839: Warning: Macro instruction expanded into multiple instructions
      {standard input}:90949: Warning: Macro instruction expanded into multiple instructions
      {standard input}:91059: Warning: Macro instruction expanded into multiple instructions
      {standard input}:91169: Warning: Macro instruction expanded into multiple instructions
      {standard input}:91279: Warning: Macro instruction expanded into multiple instructions
      {standard input}:91389: Warning: Macro instruction expanded into multiple instructions
      {standard input}:91499: Warning: Macro instruction expanded into multiple instructions
      {standard input}:91608: Warning: Macro instruction expanded into multiple instructions
      Compiling Motion/IKGradientSolver.cc...
      ....
      Compiling Localization/LocalizationNode.cc...
      Compiling DualCoding/PointData.cc...
      In file included from /usr/local/Tekkotsu/Planners/Navigation/ShapeSpaceCollisionChecker.h:7,              from /usr/local/Tekkotsu/Planners/Navigation/ShapeSpacePlanner.h:8,              from Planners/Navigation/FollowPathNode.h.fsm:7,              from Planners/Navigation/FollowPathNode.cc:4:
      /usr/local/Tekkotsu/Planners/RRT/PlannerObstacles.h:16: error: `struct PlannerObstacle' redeclared as different kind of symbol
      /usr/local/Tekkotsu/Planners/PlannerObstacles.h:14: error: previous declaration of `template<unsigned int N> class PlannerObstacle'
      /usr/local/Tekkotsu/Planners/RRT/PlannerObstacles.h:51: error: redefinition of `struct RectangularObstacle'
      /usr/local/Tekkotsu/Planners/PlannerObstacles.h:171: error: previous definition of `struct RectangularObstacle'
      /usr/local/Tekkotsu/Planners/RRT/PlannerObstacles.h:51: error: type `RectangularObstacle' is not a base type for type `PlannerObstacle'
      /usr/local/Tekkotsu/Planners/RRT/PlannerObstacles.h:51: confused by earlier errors, bailing out
      Makefile:350: recipe for target '/usr/local/Tekkotsu/build/PLATFORM_APERIOS/TGT_ERS210/Planners/Navigation/FollowPathNode.o' failed                             
      make[1]: *** [/usr/local/Tekkotsu/build/PLATFORM_APERIOS/TGT_ERS210/Planners/Navigation/FollowPathNode.o] Error 1
      make[1]: *** Waiting for unfinished jobs....
      In file included from /usr/local/Tekkotsu/Localization/LocalizationNode.h:6,              from Localization/LocalizationNode.cc:1:                              
      /usr/local/Tekkotsu/Localization/MarkerLocalization.h: In member function `virtual void DualCoding::BoundedDistributionPolicy<ParticleT>::setWorldBounds(DualCoding::Shape<DualCoding::PolygonData>)':
      /usr/local/Tekkotsu/Localization/MarkerLocalization.h:110: error: syntax error before `;' token
      /usr/local/Tekkotsu/Shared/ParticleFilter.h: At global scope:
      /usr/local/Tekkotsu/Localization/MarkerLocalization.h: In instantiation of `DualCoding::MarkerSensorModel<LocalizationParticle>':
      /usr/local/Tekkotsu/Localization/MarkerLocalization.h:131:   instantiated from here

      /usr/local/Tekkotsu/Shared/ParticleFilter.h:148: warning: `void ParticleFilter<ParticleT>::SensorModel::evaluate(std::vector<T, std::allocator<_CharT> >&, ParticleT&) [with ParticleT = LocalizationParticle]' was hidden
      /usr/local/Tekkotsu/Localization/MarkerLocalization.h:34: warning:   by `void DualCoding::MarkerSensorModel<ParticleT>::evaluate(typename ParticleFilter<ParticleT>::SensorModel::particle_collection&, typename ParticleFilter<ParticleT>::SensorModel::index_t&) [with ParticleT = LocalizationParticle]'
      /usr/local/Tekkotsu/Localization/MarkerLocalization.h: In constructor `DualCoding::MarkerLocalization::MarkerLocalization(ParticleFilter<LocalizationParticle>::MotionModel*, DualCoding::ShapeSpace&, DualCoding::ShapeSpace&, unsigned int)':
      /usr/local/Tekkotsu/Localization/MarkerLocalization.h:131: error: cannot allocate an object of type `DualCoding::MarkerSensorModel<LocalizationParticle>'
      /usr/local/Tekkotsu/Localization/MarkerLocalization.h:131: error:   because the following virtual functions are abstract:
      /usr/local/Tekkotsu/Shared/ParticleFilter.h:148: error:         void ParticleFilter<ParticleT>::SensorModel::evaluate(std::vector<T, std::allocator<_CharT> >&, ParticleT&) [with ParticleT = LocalizationParticle]
      In file included from Localization/LocalizationNode.cc:1:
      /usr/local/Tekkotsu/Localization/LocalizationNode.h: In member function `virtual bool LocalizationNode::hasRobotMoved()':
      /usr/local/Tekkotsu/Localization/LocalizationNode.h:119: error: no matching function for call to `ParticleFilter<LocalizationParticle>::MotionModel::updateMotion(std::vector<LocalizationParticle, std::allocator<LocalizationParticle> >&)'
      /usr/local/Tekkotsu/Shared/ParticleFilter.h:165: error: candidates are: void ParticleFilter<ParticleT>::MotionModel::updateMotion(std::vector<T, std::allocator<_CharT> >&, ParticleT&) [with ParticleT = LocalizationParticle]
      /usr/local/Tekkotsu/Localization/LocalizationNode.h: In member function `virtual void LocalizationNode::takeSnapshot()':
      /usr/local/Tekkotsu/Localization/LocalizationNode.h:142: error: no matching function for call to `ParticleFilter<LocalizationParticle>::MotionModel::updateMotion(std::vector<LocalizationParticle, std::allocator<LocalizationParticle> >&)'
      /usr/local/Tekkotsu/Shared/ParticleFilter.h:165: error: candidates are: void ParticleFilter<ParticleT>::MotionModel::updateMotion(std::vector<T, std::allocator<_CharT> >&, ParticleT&) [with ParticleT = LocalizationParticle]
      /usr/local/Tekkotsu/Localization/LocalizationNode.h: In member function `virtual void LocalizationNode::takeSnapshot()':
      /usr/local/Tekkotsu/Localization/LocalizationNode.h:152: error: `getBestParticle' undeclared (first use this function)
      /usr/local/Tekkotsu/Localization/LocalizationNode.h:152: error: (Each undeclared identifier is reported only once for each function it appears in.)
      /usr/local/Tekkotsu/Localization/LocalizationNode.h:152: warning: unused variable `LocalizationParticle pre'
      Makefile:350: recipe for target '/usr/local/Tekkotsu/build/PLATFORM_APERIOS/TGT_ERS210/Localization/LocalizationNode.o' failed                                  
      make[1]: *** [/usr/local/Tekkotsu/build/PLATFORM_APERIOS/TGT_ERS210/Localization/LocalizationNode.o] Error 1
      make[1]: Leaving directory '/home/izumi/AIBO/TekkotsuFramework/Tekkotsu'                                                                                        
      Makefile:154: recipe for target 'all' failed
      make: *** [all] Error 2





    • Show all 2 messages in this topic