Cannot install PHP SDK error "make: *** [replica.lo] Error 1"
I'm using ubuntu 10.04 apache 2.4.4 php 5.5.0.
I'm getting this error when install php sdk, detail:
-DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/couchbase/replica.c -o replica.lo
cc -I. -I/tmp/pear/temp/couchbase -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-tvmadmin2QVPkF/couchbase-1.2.1/include -I/tmp/pear/temp/pear-build-tvmadmin2QVPkF/couchbase-1.2.1/main -I/tmp/pear/temp/couchbase -I/opt/php/include/php -I/opt/php/include/php/main -I/opt/php/include/php/TSRM -I/opt/php/include/php/Zend -I/opt/php/include/php/ext -I/opt/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/couchbase/replica.c -fPIC -DPIC -o .libs/replica.o
/tmp/pear/temp/couchbase/replica.c:32: error: conflicting types for â€˜cloneâ€™
/usr/include/bits/sched.h:80: note: previous declaration of â€˜cloneâ€™ was here
make: *** [replica.lo] Error 1
ERROR: `make' failed
It looks like you might have a macro for _entry which is causing the name of the function to be 'clone' rather than 'clone_entry', which is causing your issues. If you look at the 'previous declaration' and 'current declaration' they are definitely different names! Do you have anything non-standard installed on your system?