I have the same problem with compiling my application.
My application is using too " commoncpp2-1.3.22 "
Please help me to resolve this problem:
config.status: creating include/config.h
config.status: executing default-1 commands
Making all in include
make all-recursive
Making all in cc++
Target "all" is up to date.
Target "all-am" is up to date.
Target "all" is up to date.
Making all in src
/bin/sh ../libtool --mode=compile xlC_r -DHAVE_CONFIG_H -I. -I.
-I../include -I../src -DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE
-D_GNU_SOURCE -fhandle-exceptions -I../include -g -c thread.cpp xlC_r -DHAVE_CONFIG_H -I. -I. -I../include -I../src
-DCCXX_EXPORT_LIBRARY -D_THREAD_SAFE -D_GNU_SOURCE -fhandle-exceptions
-I../incl ude -g -c thread.cpp -o thread.o
"/usr/include/thread.h", line 32.9: 1540-0848 (S) The macro name "_THREAD_SAFE" is already defined with a different definition.
"/usr/include/standards.h", line 62.9: 1540-0425 (I) "_THREAD_SAFE" is defined on line 62 of "thread.cpp".
make: 1254-004 The error code from the last command is 1.
Although I don`t have any problems on my Fedora Core 4(core 2.6.12.4) in time compilation process.