bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

commoncpp2-1.3.19 won't compile with MINGW/MSYS under Win32


From: Holger Tasch
Subject: commoncpp2-1.3.19 won't compile with MINGW/MSYS under Win32
Date: Fri, 2 Sep 2005 13:25:52 +0200 (MEST)

Hello List,

(sorry, forgot the subject in the original post)

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

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]