Hello,
I am tring to build the mongo c driver on AIX from mongo-c-driver-1.5.0.tar.gz. I am currently on AIX 6.1.0.0 with gcc 4.2.4.
./configure runs fine. However, when I run make. I am getting a bunch of warnings and the following error:
$ make
Making all in src/libbson
Target "all" is up to date.
CC src/mongoc/libmongoc_1_0_la-mongoc-counters.lo
In file included from src/mongoc/mongoc-counters.c:34:
src/mongoc/mongoc-counters-private.h:78:3: warning: #warning "_mongoc_get_cpu_count() not supported, defaulting to 1."
src/mongoc/mongoc-counters.c: In function 'mongoc_counters_alloc':
src/mongoc/mongoc-counters.c:172: error: 'O_NOFOLLOW' undeclared (first use in this function)
src/mongoc/mongoc-counters.c:172: error: (Each undeclared identifier is reported only once
src/mongoc/mongoc-counters.c:172: error: for each function it appears in.)
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.