On Nov 20, 2008, at 5:19 PM, hiro wrote:


I realise this group is for memcached and not libmemcache but I don't
seem to be able to find any mailing list for libmemcache and hence I
am hoping that somebody in here is able to help.

I am trying to compile libmemcache on 64 bit Solaris 10, the configure
step works fine and is detecting my system as:

build_triplet = sparc-sun-solaris2.10
host_triplet = sparc-sun-solaris2.10
target_triplet = sparc-sun-solaris2.10

But when I try and run Make I get an error which is shown below:

If anybody can help I'd really appreciate it alternatively if you can
point me to a better place to ask for help then that would also be
very much appreciated.

Brett

buffer.c: In function `mcm_buf_read':
buffer.c:337: error: `errno' undeclared (first use in this function)
buffer.c:337: error: (Each undeclared identifier is reported only once
buffer.c:337: error: for each function it appears in.)

you need to edit buffer.c and add the following line:
#include <errno.h>

I did try to use libmemcache a while ago on Solaris, and there are some other bugs in there as well (but I don't remember them). AFAIK no one is maintaining libmemcache anymore, so you might want to consider using libmemcached instead: see http://tangent.org/552/libmemcached.html

Cheers,

Trond

Reply via email to