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?
I’ve just run into this problem today. I had Couchbase running fine but was forced to upgrade the Ubuntu OS to 13.10 and also move from a self-compiled version of PHP to the Ubuntu distro version. It is now successfully running PHP 5.5, Apache, and I have installed libcouchbase but when I try installing Couchbase PHP libraries with sudo pecl install couchbase-1.20 I run into the following:
make: *** No rule to make target /tmp/pear/temp/couchbase/replica.c', needed byreplica.lo’. Stop.
Any help would be greatly appreciated ad I’ve run into a bit of a dead end.
Well somehow posting the question led me to answer … since I need the 1.x API I do need to explicitly install an earlier version of the PHP couchbase library but 1.2.2 (versus 1.2.0) is the last version that would work and it does indeed compile and work.