forthxu / talkbox Goto Github PK
View Code? Open in Web Editor NEWa talkbox build with skynet
Home Page: forthxu.com
License: MIT License
a talkbox build with skynet
Home Page: forthxu.com
License: MIT License
实在是没有linux 编译不过去了。
phynero@mac:~/project/skytest/talkbox > bash start.sh
---------- 开始 ----------
---------- 处理protocbuf ----------
cd build && ar rc libpbc.a ../build/o/context.o ../build/o/varint.o ../build/o/array.o ../build/o/pattern.o ../build/o/register.o ../build/o/proto.o ../build/o/map.o ../build/o/alloc.o ../build/o/rmessage.o ../build/o/wmessage.o ../build/o/bootstrap.o ../build/o/stringpool.o ../build/o/decode.o
cd build && gcc -O2 -fPIC -I.. -L. -o addressbook ../test/addressbook.c -lpbc
cd build && gcc -O2 -fPIC -I.. -L. -o pattern ../test/pattern.c -lpbc
cd build && gcc -O2 -fPIC -I.. -L. -o pbc ../test/pbc.c -lpbc
cd build && gcc -O2 -fPIC -I.. -L. -o float ../test/float.c -lpbc
cd build && gcc -O2 -fPIC -I.. -L. -o map ../test/map.c -lpbc
cd build && gcc -O2 -fPIC -I.. -L. -o test ../test/test.c -lpbc
../test/test.c:48:2: warning: implicit declaration of function '_pbcM_memory' is invalid in C99 [-Wimplicit-function-declaration]
_pbcM_memory();
^
1 warning generated.
cd build && gcc -O2 -fPIC -I.. -L. -o decode ../test/decode.c -lpbc
gcc -O2 -fPIC -Wall --shared -o protobuf.so -I../.. -I/usr/local/include -L/usr/local/bin -L../../build pbc-lua.c -lpbc -I../../../../skynet/3rd/lua/
Undefined symbols for architecture x86_64:
"_luaL_buffinit", referenced from:
__pattern_pack in pbc-lua-845a8a.o
"_luaL_checkinteger", referenced from:
__rmessage_new in pbc-lua-845a8a.o
__rmessage_integer in pbc-lua-845a8a.o
__rmessage_int32 in pbc-lua-845a8a.o
__rmessage_int64 in pbc-lua-845a8a.o
__rmessage_int52 in pbc-lua-845a8a.o
__rmessage_uint52 in pbc-lua-845a8a.o
__rmessage_real in pbc-lua-845a8a.o
...
"_luaL_checklstring", referenced from:
__env_register in pbc-lua-845a8a.o
__env_type in pbc-lua-845a8a.o
__rmessage_new in pbc-lua-845a8a.o
__rmessage_integer in pbc-lua-845a8a.o
__rmessage_int32 in pbc-lua-845a8a.o
__rmessage_int64 in pbc-lua-845a8a.o
__rmessage_int52 in pbc-lua-845a8a.o
...
"_luaL_checknumber", referenced from:
__wmessage_real in pbc-lua-845a8a.o
__wmessage_int52 in pbc-lua-845a8a.o
__wmessage_uint52 in pbc-lua-845a8a.o
__pattern_pack in pbc-lua-845a8a.o
"_luaL_checktype", referenced from:
__decode in pbc-lua-845a8a.o
"luaL_checkversion", referenced from:
_luaopen_protobuf_c in pbc-lua-845a8a.o
"_luaL_error", referenced from:
__env_register in pbc-lua-845a8a.o
__env_type in pbc-lua-845a8a.o
__rmessage_new in pbc-lua-845a8a.o
__rmessage_delete in pbc-lua-845a8a.o
__rmessage_integer in pbc-lua-845a8a.o
__rmessage_int32 in pbc-lua-845a8a.o
__rmessage_int64 in pbc-lua-845a8a.o
...
"_luaL_prepbuffsize", referenced from:
__pattern_pack in pbc-lua-845a8a.o
"_luaL_pushresult", referenced from:
__pattern_pack in pbc-lua-845a8a.o
"_luaL_setfuncs", referenced from:
_luaopen_protobuf_c in pbc-lua-845a8a.o
"_lua_callk", referenced from:
_push_value in pbc-lua-845a8a.o
"_lua_checkstack", referenced from:
__pattern_unpack in pbc-lua-845a8a.o
"_lua_createtable", referenced from:
_luaopen_protobuf_c in pbc-lua-845a8a.o
__pattern_unpack in pbc-lua-845a8a.o
__decode in pbc-lua-845a8a.o
__gc in pbc-lua-845a8a.o
_decode_cb in pbc-lua-845a8a.o
"_lua_insert", referenced from:
_decode_cb in pbc-lua-845a8a.o
"_lua_isstring", referenced from:
__rmessage_new in pbc-lua-845a8a.o
__pattern_unpack in pbc-lua-845a8a.o
"_lua_isuserdata", referenced from:
__pattern_unpack in pbc-lua-845a8a.o
"_lua_newuserdata", referenced from:
__gc in pbc-lua-845a8a.o
"_lua_pushboolean", referenced from:
__env_type in pbc-lua-845a8a.o
__pattern_unpack in pbc-lua-845a8a.o
__decode in pbc-lua-845a8a.o
_push_value in pbc-lua-845a8a.o
"_lua_pushcclosure", referenced from:
__gc in pbc-lua-845a8a.o
"_lua_pushinteger", referenced from:
__env_type in pbc-lua-845a8a.o
__rmessage_integer in pbc-lua-845a8a.o
__rmessage_size in pbc-lua-845a8a.o
__wmessage_buffer in pbc-lua-845a8a.o
__pattern_size in pbc-lua-845a8a.o
__pattern_unpack in pbc-lua-845a8a.o
_push_value in pbc-lua-845a8a.o
...
"_lua_pushlightuserdata", referenced from:
__env_new in pbc-lua-845a8a.o
__rmessage_new in pbc-lua-845a8a.o
__rmessage_int32 in pbc-lua-845a8a.o
__rmessage_message in pbc-lua-845a8a.o
__wmessage_new in pbc-lua-845a8a.o
__wmessage_message in pbc-lua-845a8a.o
__wmessage_buffer in pbc-lua-845a8a.o
...
"_lua_pushlstring", referenced from:
__rmessage_int64 in pbc-lua-845a8a.o
__rmessage_string in pbc-lua-845a8a.o
__wmessage_buffer_string in pbc-lua-845a8a.o
__pattern_unpack in pbc-lua-845a8a.o
_push_value in pbc-lua-845a8a.o
"_lua_pushnumber", referenced from:
__rmessage_int52 in pbc-lua-845a8a.o
__rmessage_uint52 in pbc-lua-845a8a.o
__rmessage_real in pbc-lua-845a8a.o
__pattern_unpack in pbc-lua-845a8a.o
_push_value in pbc-lua-845a8a.o
"_lua_pushstring", referenced from:
__env_type in pbc-lua-845a8a.o
__last_error in pbc-lua-845a8a.o
_push_value in pbc-lua-845a8a.o
"_lua_pushvalue", referenced from:
__decode in pbc-lua-845a8a.o
_decode_cb in pbc-lua-845a8a.o
_push_value in pbc-lua-845a8a.o
"_lua_rawgeti", referenced from:
__pattern_pack in pbc-lua-845a8a.o
_decode_cb in pbc-lua-845a8a.o
"_lua_rawlen", referenced from:
__pattern_pack in pbc-lua-845a8a.o
_decode_cb in pbc-lua-845a8a.o
"_lua_rawseti", referenced from:
__pattern_unpack in pbc-lua-845a8a.o
_decode_cb in pbc-lua-845a8a.o
"_lua_setfield", referenced from:
__gc in pbc-lua-845a8a.o
_decode_cb in pbc-lua-845a8a.o
"_lua_setmetatable", referenced from:
__gc in pbc-lua-845a8a.o
"_lua_settop", referenced from:
__env_type in pbc-lua-845a8a.o
__pattern_pack in pbc-lua-845a8a.o
_decode_cb in pbc-lua-845a8a.o
"_lua_toboolean", referenced from:
__pattern_pack in pbc-lua-845a8a.o
"_lua_tointegerx", referenced from:
__rmessage_string in pbc-lua-845a8a.o
__rmessage_message in pbc-lua-845a8a.o
__pattern_unpack in pbc-lua-845a8a.o
__pattern_pack in pbc-lua-845a8a.o
"_lua_tolstring", referenced from:
__rmessage_new in pbc-lua-845a8a.o
__wmessage_int64 in pbc-lua-845a8a.o
__pattern_unpack in pbc-lua-845a8a.o
__pattern_pack in pbc-lua-845a8a.o
"_lua_touserdata", referenced from:
__env_register in pbc-lua-845a8a.o
__env_type in pbc-lua-845a8a.o
__rmessage_new in pbc-lua-845a8a.o
__rmessage_delete in pbc-lua-845a8a.o
__rmessage_integer in pbc-lua-845a8a.o
__rmessage_int32 in pbc-lua-845a8a.o
__rmessage_int64 in pbc-lua-845a8a.o
...
"_lua_type", referenced from:
__env_type in pbc-lua-845a8a.o
__wmessage_int32 in pbc-lua-845a8a.o
__wmessage_int64 in pbc-lua-845a8a.o
__pattern_pack in pbc-lua-845a8a.o
__decode in pbc-lua-845a8a.o
_decode_cb in pbc-lua-845a8a.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: *** [all] Error 1
./res/talkbox.proto: No such file or directory
---------- 处理协议 ----------
start.sh: line 70: cd: ./3rd/p/: No such file or directory
---------- 进入skynet目录 ----------
start.sh: line 74: cd: ./skynet/: No such file or directory
---------- 编译 ----------
make: *** No rule to make target `linux'. Stop.
---------- 拷贝协议so模块 ----------
cp: directory ./lualib does not exist
cp: directory ./luaclib does not exist
---------- 执行 ---------
你妹啊,启动程序没有,./skynet
访问:http://forthxu.github.io/talkbox/index.html ,提示Missing Config File。
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.