Hi Garrett, > Can you try and reduce this to a simple test case (i.e. one .c file > and an actual command you use to compile it) so that we can try to > reproduce the problem? It's rather difficult to say what's wrong > without seeing the code and the exact commands being used to build it.
Ok the file is test.cpp: #include <iostream> #include "apr_general.h" #include "apr_time.h" int main(int argc, char* argv[]) { std::cout << "this is a test" << std::endl; if (apr_initialize() != APR_SUCCESS) { return -1; } apr_sleep(apr_time_make(0, 100000)); apr_terminate(); return 0; } I compile it using: g++ -g -Wall -c -pthread -fPIC -I../apr-1.2.2/linux2.6/include -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE test.cpp and I get the error about INT64_C not being declared.