I am not having any joy trying to build the CVS Head (as of 3/3/2005) on Linux (Fedora 3 upto date)

I dowanloaded an build apr/apr-iconv/apr-utils into /usr/local/apr

i then downloaded CVS Head (also downloaded/build and installed cpptasks.jar into $ANT_HOME/lib)
then i run
ant -Dapr.dir=/usr/local/ant
It fails trying to compile timezone.cpp (error: `INT64_C' undeclared (first use this function))


I also tried by not defining apr.dir and letting ant download and build apr, no difference, same error.

Has anyone built CVS HEAD on Linux recently?

Full transcript of the run below

--
Jwahar Bammi
[EMAIL PROTECTED]



Buildfile: build.xml

os-detect:

win-init:

mac-init:

unix-init:

init:
   [mkdir] Created dir: 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/build
   [mkdir] Created dir: 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/build/debug/shared

build-apr:

build-apriconv:

build-aprutil:

build:
   [mkdir] Created dir: 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/build/debug/shared/log4cxx_obj
      [cc] 92 total files to be compiled.
      [cc] 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/src/stringhelper.cpp: 
In static member function `static log4cxx::LogString 
log4cxx::helpers::StringHelper::formatHex(const void*)':
      [cc] 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/src/stringhelper.cpp:270:
 warning: cast from pointer to integer of different size
      [cc] 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/src/timezone.cpp: In 
member function `virtual log4cxx_status_t 
log4cxx::helpers::TimeZoneImpl::GMTTimeZone::explode(apr_time_exp_t*, 
log4cxx_time_t) const':
      [cc] 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/src/timezone.cpp:56: 
error: `INT64_C' undeclared (first use this function)
      [cc] 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/src/timezone.cpp:56: 
error: (Each undeclared identifier is reported only once for each function it 
appears in.)
      [cc] 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/src/timezone.cpp: In 
member function `virtual log4cxx_status_t 
log4cxx::helpers::TimeZoneImpl::LocalTimeZone::explode(apr_time_exp_t*, 
log4cxx_time_t) const':
      [cc] 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/src/timezone.cpp:91: 
error: `INT64_C' undeclared (first use this function)
      [cc] 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/src/timezone.cpp: In 
member function `virtual log4cxx_status_t 
log4cxx::helpers::TimeZoneImpl::FixedTimeZone::explode(apr_time_exp_t*, 
log4cxx_time_t) const':
      [cc] 
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/src/timezone.cpp:142: 
error: `INT64_C' undeclared (first use this function)

BUILD FAILED
/root/Memento/dev/src/trunk/log4cxx-0.98/logging-log4cxx/build.xml:565: gcc 
failed with return code 1

Total time: 53 seconds





Reply via email to