Help to complete libmemcached integration into APE_Server
£20-250 GBP
En curso
Publicado hace alrededor de 9 años
£20-250 GBP
Pagado a la entrega
I am trying to integrate a statically linked version of libmemcached in the APE_Server Source code. I have managed to get libmemcached1.0.18 to compile as well updating the dependant libraries for mysac and udns to 1.1.1 and 0.4 respectively I have following the suggestions shown at [login to view URL] for the inclusion of libmemcached and have taken it as far as I am able in the time that I have. What I require is for someone to correct and complete a single .c file in order to allow the application to compile under Centos 6 x64, and possibly provide instruction on how to expose the other libmemcache functions to javascript.
I can provide a full archive of where I have managed to get and if require a console only VirtualBox VM of machine which is pre-configured to to compile APE.
full details on APE (ish) can be found: [login to view URL]
The sorts errors that I'm getting can be seen from the gcc output below:
libape-spidermonkey.c:1996: warning: implicit declaration of function ‘JS_GetStringBytes’
libape-spidermonkey.c:1996: error: incompatible type for argument 1 of ‘memcached_get’
../deps/libmemcached-1.0.18/libmemcached-1.0/get.h:47: note: expected ‘struct memcached_st *’ but argument is of type ‘memcached_st’
libape-spidermonkey.c:1996: warning: passing argument 2 of ‘memcached_get’ makes pointer from integer without a cast
../deps/libmemcached-1.0.18/libmemcached-1.0/get.h:47: note: expected ‘const char *’ but argument is of type ‘int’
libape-spidermonkey.c:1997: error: ‘rval’ undeclared (first use in this function)
libape-spidermonkey.c:1997: error: (Each undeclared identifier is reported only once
libape-spidermonkey.c:1997: error: for each function it appears in.)
libape-spidermonkey.c:1997: warning: passing argument 2 of ‘JS_NewStringCopyN’ makes pointer from integer without a cast
I have attached my libape-spidermokey.c file so for completeness and in order for you to see up-front what might be required.
I'm sorry, but only coders who speak english and are willing to communicate by audio, such as Skype should apply as this project has already floundered once due to mis-communication.