-
Notifications
You must be signed in to change notification settings - Fork 72
添加编译的Makefile #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
我修改了start.sh了。 |
pbc编译,想加回去 -fPIC编译。 这么修改即可:
|
我睡觉了。在require "protobuf.c"的时候说找不到pbc_pattern_close_arrays。pbc-lua.c的编译还是有问题。不过我要睡觉了。你先看看吧,睡醒了再说。 |
我测试了下。现在这个Makefile直接用: |
考虑过Makefile,但操作比较多用shell比较方便; |
操作shell一点也不方便。解决不了依赖问题,如果多次执行,你就要多次编译更新。 |
protocbuf 的问题我已经知道了,是用-l参数没有导出符号表,忘了加-Wl,-E,与其这样,还不如直接把libpbc.a直接加到后面。 |
编译protobuf.so和p.so。我用了skynet里面的lua,可以不用安装lua就可以执行了。 |
start.sh的问题找到了,貌似我在用共享方式编辑这个脚本的时候,没注意权限被修改了。所以-a参数失效了。 |
你需要修改下start.sh