apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Alex.Krumm-Hel...@csiro.au>
Subject RE: using APR on fedora core 3
Date Wed, 04 Jan 2006 00:03:12 GMT
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));


        return 0;

I compile it using:

g++ -g -Wall -c -pthread -fPIC -I../apr-1.2.2/linux2.6/include -DLINUX=2

and I get the error about INT64_C not being declared.

View raw message