Menu

Make error in rcssserver 12.1.0

Help
2008-05-21
2012-10-16
  • shiraz robotics

    shiraz robotics - 2008-05-21

    system spicification:
    [root@localhost rcssserver-12.1.0]# uname -a
    Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux

    Fedora Core 8

    i have the following problem while running make on this version:

    [root@localhost rcssserver-12.1.0]# make
    make all-recursive
    make[1]: Entering directory /root/Desktop/rcssserver-12.1.0' Making all in src make[2]: Entering directory/root/Desktop/rcssserver-12.1.0/src'
    make all-am
    make[3]: Entering directory /root/Desktop/rcssserver-12.1.0/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DMODULEDIR="\"/usr/local/lib/rcssserver/modules\"" -I/usr/include -W -Wall -I./src -g -O2 -pthread -MT resultsaver.lo -MD -MP -MF .deps/resultsaver.Tpo -c -o resultsaver.lo resultsaver.cpp g++ -DHAVE_CONFIG_H -I. -I.. -DMODULEDIR=\"/usr/local/lib/rcssserver/modules\" -I/usr/include -W -Wall -I./src -g -O2 -pthread -MT resultsaver.lo -MD -MP -MF .deps/resultsaver.Tpo -c resultsaver.cpp -fPIC -DPIC -o .libs/resultsaver.o In file included from resultsaver.cpp:22: resultsaver.hpp:29:36: error: rcssbase/lib/factory.hpp: No such file or directory resultsaver.hpp:30:39: error: rcssbase/lib/shared_ptr.hpp: No such file or directory resultsaver.hpp:40: error: ‘lib’ has not been declared resultsaver.hpp:40: error: ISO C++ forbids declaration of ‘shared_ptr’ with no type resultsaver.hpp:40: error: typedef name may not be a nested-name-specifier resultsaver.hpp:40: error: expected ‘;’ before ‘<’ token resultsaver.hpp:41: error: expected identifier before ‘*’ token resultsaver.hpp:41: error: ISO C++ forbids declaration of ‘Ptr’ with no type resultsaver.hpp:41: error: ‘Ptr’ declared as function returning a function resultsaver.hpp:42: error: ‘lib’ has not been declared resultsaver.hpp:42: error: ISO C++ forbids declaration of ‘Factory’ with no type resultsaver.hpp:42: error: typedef name may not be a nested-name-specifier resultsaver.hpp:42: error: expected ‘;’ before ‘<’ token resultsaver.hpp:46: error: ISO C++ forbids declaration of ‘Factory’ with no type resultsaver.hpp:46: error: expected ‘;’ before ‘&’ token resultsaver.cpp:26: error: expected constructor, destructor, or type conversion before ‘&’ token make[3]: *** [resultsaver.lo] Error 1 make[3]: Leaving directory/root/Desktop/rcssserver-12.1.0/src'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory /root/Desktop/rcssserver-12.1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/root/Desktop/rcssserver-12.1.0'
    make: *** [all] Error 2

    any idea, any helpful person? :)

     
    • Hidehisa Akiyama

      How did you install rcssbase-12.1.0?
      And, did you add any command line options for the configure script?
      Please write all you did.

       

Log in to post a comment.

MongoDB Logo MongoDB