logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

CVS HEAD Linux build: msg#00012

apache.logging.log4cxx.user

Subject: CVS HEAD Linux build

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
bammi@xxxxxxxxxxxxxxx



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






<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo