Hi,

I came across an error while making source code of stage-3.0.1

See below:

[root@localhost Stage-3.0.1-Source]# make 
[  2%] Building CXX object libstage/CMakeFiles/stage.dir/canvas.o
In file included from /home/rootx/Stage-3.0.1-Source/libstage/canvas.cc:12:
/home/rootx/Stage-3.0.1-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/canvas.o] Error 1
make[1]: *** [libstage/CMakeFiles/stage.dir/all] Error 2
make: *** [all] Error 2
[root@localhost Stage-3.0.1-Source]# 

Can anyone help me  on this?

Prasad Dixit