Hello friends,
I am getting following error:

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Scanning dependencies of target rosconsole
make[4]: Leaving directory `/home/nitin/MS/downloads/robotics/softwares/ros-0.9.0/core/rosconsole/build'
make[4]: Entering directory `/home/nitin/MS/downloads/robotics/softwares/ros-0.9.0/core/rosconsole/build'
[ 50%] Building CXX object CMakeFiles/rosconsole.dir/src/rosconsole/rosconsole.o
In file included from /home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:32:
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/include/ros/console.h:89: error: expected unqualified-id before ‘&’ token
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/include/ros/console.h:89: error: expected ‘)’ before ‘&’ token
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/include/ros/console.h:89: error: expected initializer before ‘&’ token
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:59: error: ‘getDebug’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:60: error: ‘getInfo’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:61: error: ‘getWarn’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:62: error: ‘getError’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:63: error: ‘getFatal’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:79: error: ‘log4cxx::helpers::Pool’ has not been declared
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp: In member function ‘virtual void ros::console::ROSConsoleStdioAppender::append(const log4cxx::spi::LoggingEventPtr&, int&)’:
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:85: error: ‘getFatal’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:91: error: ‘getError’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:97: error: ‘getWarn’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:102: error: ‘getInfo’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:107: error: ‘getDebug’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:113: error: ‘print’ is not a member of ‘ros::console’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:113: error: ‘LOG4CXX_LOCATION’ was not declared in this scope
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:114: error: ‘print’ is not a member of ‘ros::console’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:114: error: ‘LOG4CXX_LOCATION’ was not declared in this scope
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp: In function ‘void ros::console::do_initialize()’:
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:142: error: ‘getInfo’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:145: error: ‘getWarn’ is not a member of ‘log4cxx::Level’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:162: error: cannot allocate an object of abstract type ‘ros::console::ROSConsoleStdioAppender’
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:72: note:   because the following virtual functions are pure within ‘ros::console::ROSConsoleStdioAppender’:
/usr/include/log4cxx/appenderskeleton.h:100: note: virtual void log4cxx::AppenderSkeleton::append(const log4cxx::spi::LoggingEventPtr&)
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp: At global scope:
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:181: error: expected unqualified-id before ‘&’ token
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:181: error: expected ‘)’ before ‘&’ token
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:181: error: expected initializer before ‘&’ token
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:250: error: expected ‘}’ at end of input
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:250: error: expected ‘}’ at end of input
/home/nitin/robotics/softwares/ros-0.9.0/core/rosconsole/src/rosconsole/rosconsole.cpp:179: warning: ‘ros::console::g_print_buffer_size’ defined but not used
make[4]: *** [CMakeFiles/rosconsole.dir/src/rosconsole/rosconsole.o] Error 1
make[4]: Leaving directory `/home/nitin/MS/downloads/robotics/softwares/ros-0.9.0/core/rosconsole/build'
make[3]: *** [CMakeFiles/rosconsole.dir/all] Error 2
make[3]: Leaving directory `/home/nitin/MS/downloads/robotics/softwares/ros-0.9.0/core/rosconsole/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nitin/MS/downloads/robotics/softwares/ros-0.9.0/core/rosconsole/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/nitin/MS/downloads/robotics/softwares/ros-0.9.0/core/rosconsole'
make: *** [all] Error 2
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Code syntax look fine. I am installing on debian squeeze. I have Log4cxx 0.9.7-6.1 installed.
How i can solve this issue?

Thanks and regards

nitin