bug-commoncpp
[Top][All Lists]
Advanced

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

Re:


From: David Sugar
Subject: Re:
Date: Fri, 02 Sep 2005 09:13:21 -0400
User-agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711)

The other config.h is generated from configure.ac, so really then these defines should migrate into something emitted from configure.ac...perhaps wrapped in a #ifdef WIN32 block....

Holger Tasch wrote:
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

Attachment: dyfet.vcf
Description: Vcard


reply via email to

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