On Mar 3, 2005, at 6:25 PM, Jwahar Bammi wrote:
Hmm...
I checked out SVN HEAD for apr/apr-utils/apr-iconv built and installed them, no difference. i still get the INT64_C failure.
Gump, please advise what you do?
Gump is an automated build system that continually builds hundreds of open-source projects (http://gump.apache.org). The main Gump build server runs on a Debian Linux. Gump has built successfully for 19 straight days on brutus.apache.org which is a Debian box, so the problem was. at least, distribution specific.
The underlying problem is in APR, it defines macros APR_INT64_C and similar that for gcc is defined as INT64_C, however INT64_C isn't properly defined which results in the error that you were seeing. I was lead to believe that it had been resolved in the APR subversion head, but apparently not.
There were workarounds for the problem in many of the other places where the problem was occurring, however new code in timezone.cpp triggered the issue and didn't have the workaround. I've committed changes that replaced the other workarounds with the recommended workaround (adding a #define __STDC_CONSTANT_MACROS before including apr.h) and added the workaround to timezone.cpp.