patrickfrey / strusrpc Goto Github PK
View Code? Open in Web Editor NEWCalling strus via RPC, implementation with help of the libevent library on server side
License: Mozilla Public License 2.0
Calling strus via RPC, implementation with help of the libevent library on server side
License: Mozilla Public License 2.0
Filing a bug you guys had this working already, and its yet another reference to the strus_private static library. :)
strusRpc] make
[ 53%] Built target uv
[ 59%] Built target strus_private_utils
[ 75%] Built target strusRpcServer
[ 76%] Linking CXX shared library libstrus_rpc_client.dylib
Undefined symbols for architecture x86_64:
"strus::utils::Crc32::calc(char const*, unsigned long)", referenced from:
strus::RpcSerializer::packCrc32() in rpcSerializer.cpp.o
strus::RpcDeserializer::unpackCrc32() in rpcSerializer.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/libstrus_rpc_client.0.7.1.dylib] Error 1
make[1]: *** [src/CMakeFiles/strus_rpc_client.dir/all] Error 2
make: *** [all] Error 2
The RPC client buffers commands without expected answer, until it receives a command with an answer expected. It should also flush its buffers when a certain fill size is reached.
/home/abaumann/projects/strus/strusRpc/src/rpcSerializer.cpp:117:6: warning: ‘void {anonymous}::unpack(const char*&, const char*, void*) [with int <anonymous> = 2]’ defined but not used [-Wunused-function]
void unpack<2>( char const*& itr, const char* end, void* ptr)
^~~~~~~~~
/home/abaumann/projects/strus/strusRpc/src/rpcSerializer.cpp:111:6: warning: ‘void {anonymous}::pack(std::__cxx11::string&, const void*) [with int <anonymous> = 2]’ defined but not used [-Wunused-function]
void pack<2>( std::string& buf, const void* ptr)
Error message:
"accessing non existing object (invalid reference)"
BAD
The RPC server based on libevent uses only one core to implement requests.
A queue is needed instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.