Thread 中讨论的其他器件:Z-stack、 CC2531
工具/软件:Linux
我以前运行 Ubuntu 14.04.5 LTS 32位以 在 x86上构建 Z-Stack Linux GW 、但它运行正常。 最近、我转到使用 Ubuntu 16.04 LTS、并获取 随附的编译错误。 我怀疑这是关于 protobuf 版本、但我无法解决问题。 您能 帮我解决这个问题吗?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Linux
我以前运行 Ubuntu 14.04.5 LTS 32位以 在 x86上构建 Z-Stack Linux GW 、但它运行正常。 最近、我转到使用 Ubuntu 16.04 LTS、并获取 随附的编译错误。 我怀疑这是关于 protobuf 版本、但我无法解决问题。 您能 帮我解决这个问题吗?
我从 http://releases.ubuntu.com/16.04/下载了 ubuntu-16.04.2-desktop-i386 (32位)桌面映像
Mauricio Nunez 当我尝试构建 protobuf-c-0.15时、会弹出以下错误:
make[2]:离开目录'/home/yk/protobuf-c-0.15/src
使所有内容都处于测试状态
make[2]:输入目录'/home/yk/protobuf-c-0.15/src/test
mkdir -p 生成的代码
/protoc-i --c_out=generated 代码./test.proto
./protoC-c:加载共享库时出错:libprotoc.so.8:无法打开共享目标文件:无此类文件或目录
Makefile:712:目标'generated-code/test.pb-c.c'的配方失败
make[2]:***[generated-code/test.pb-c.c]错误127
make[2]:离开目录'/home/yk/protobuf-c-0.15/src/test
Makefile:725:目标'all-递 归'的配方失败
maked[1]:***[all-递 归]错误1
make[1]:离开目录'/home/yk/protobuf-c-0.15/src
Makefile:280:目标'all-递 归'的配方失败
make:***[all-RECURSIV]错误1
有什么想法吗?
作为上下文:我在第二天打开了 Ubuntu 计算机。 我已连接 CC2531软件狗。 我启动了运行'sudo ./zigbeehagw x86'的应用程序。 这是我注意到您询问的错误的时候。 我尝试对 CC2531软件狗进行重新编程、但没有成功。 我决定运行./build_all 脚本以重建项目。 然后、我删除了包含我之前构建的二进制文件的现有文件夹、并将 Error_out 的内容提取到源文件夹中名为 z-stack_linux_gateway_x86_64二进制文件_的文件夹中。 我使用 sudo ./zigbeehagw x86再次启动了该应用程序,它运行正常。
我将使用适用于 i386 Desktop 的 Ubuntu 16.04.2 - 32位 LTS 映像。