On Nov 24, 12:51 pm, Trond Norbye <[EMAIL PROTECTED]> wrote: > 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 recently foudn that and got it to compile thanks > 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). Indeed I can now get it to compile but the resulting files are still just 32 bit, the configure strips out my -m64 from CFLAGS and even if I manually add it back into the Makefile the resulting files are still 32 bit. Any idea why this would be the case. > AFAIK no > one is maintaining libmemcache anymore, so you might want to consider > using libmemcached instead: seehttp://tangent.org/552/libmemcached.html > Well I have a requirement from my developers that it be libmemcache currently, so unless i really can't get it to work thats what it will have to be. Brett > Cheers, > > Trond
