Hi,

I try to build on OSX Mountain Lion but get below error:

db4/PORT: make all
./libtool --mode=compile cc -c -I. -I./..  -O3  ../mutex/mut_tas.c
libtool: compile:  cc -c -I. -I./.. -O3 ../mutex/mut_tas.c  -fno-common -DPIC -o .libs/mut_tas.o
In file included from ../mutex/mut_tas.c:11:
In file included from ./db_int.h:884:
In file included from ./../dbinc/mutex.h:15:
In file included from ./../dbinc/mutex_int.h:12:
./../dbinc/atomic.h:179:19: error: definition of builtin function '__atomic_compare_exchange'
static inline int __atomic_compare_exchange(
                  ^
1 error generated.
make[1]: *** [mut_tas.lo] Error 1
make: *** [all] Error 1
mbplocal:sourcenav-git widojansen$


Please help.

Thanks in advance.

Wido