From: hamido h. <hj...@ya...> - 2010-03-17 23:00:59
|
Dear all, I'm trying to install the Stage (3.2.0) simulator on my PC (Linux Ubuntu 9.10). I used the cmake and it worked fine; however, when I want to build the stage by using "make" command I get this error message: myloc:~/playerstage/Stage-3.2.0-Source$ make [ 1%] Building CXX object libstage/CMakeFiles/stage.dir/worldfile.o In file included from /home/test/playerstage/Stage-3.2.0-Source/libstage/worldfile.cc:42: /home/test/playerstage/Stage-3.2.0-Source/replace/replace.h:94: error: new declaration ‘char* basename(const char*)’ /usr/include/string.h:601: error: ambiguates old declaration ‘const char* basename(const char*)’ make[2]: *** [libstage/CMakeFiles/stage.dir/worldfile.o] Error 1 make[1]: *** [libstage/CMakeFiles/stage.dir/all] Error 2 make: *** [all] Error 2 Anyone has an idea how could I deal with this !!! Thank you and I appreciate your cooperation ... Best Regards, Hamido |