Hello List,
a problem occured while trying to build commoncpp2-1.3.19 in MSYS with MINGW
(all latest):
./configure
completed just fine, but make comes only to file.cpp and complains:
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
-D_GNU_SOURCE -I../w32 -g -O2 -MT file.lo -MD -MP -MF .deps/file.Tpo -c
file.cpp -DDLL_EXPORT -DPIC -o .libs/file.o
file.cpp: In function `time_t ost::lastAccessed(const char*)':
file.cpp:1455: error: `SECS_BETWEEN_EPOCHS' undeclared (first use this
function)
file.cpp:1455: error: (Each undeclared identifier is reported only once for
each function it appears in.)
file.cpp:1455: error: `SECS_TO_100NS' undeclared (first use this function)
file.cpp: In function `time_t ost::lastModified(const char*)':
file.cpp:1481: error: `SECS_BETWEEN_EPOCHS' undeclared (first use this
function)
file.cpp:1481: error: `SECS_TO_100NS' undeclared (first use this function)
make[1]: *** [file.lo] Error 1
make[1]: Leaving directory `/d/install/sonstiges/commoncpp2-1.3.19/src'
make: *** [all-recursive] Error 1
which is perfectly true, because these macros are not defined in
./include/cc++/config.h, which is included, but only in ./w32/cc++/config.h,
which is not included. Am I missing something, or is there something wrong?
Thanks in advance & kind regards
Holger