Hi All,
I want the start a new thread on the steps necessary in building the the Z-Stack Linux Gateway source package on x86 Linux machines (i.e. Ubuntu 16.04):.
The included source code from the gateway installer can be rebuild for ARMv7 linux (i.e Beagle Bone Black) using Linaro Tool chain, I have done it without any problem. However, I am having troubles in building the source package for x86 Ubuntu 16.04 after modifying the package builder. Here are several high level questions:
- Where should the PATH and TCLIB variable point to?
- Should the C++ Protocol Buffer library (protobuf-c ) be build for x86? (as oppose to using the one included in the source, the file attributes says v7 for tag_CPU_arch in the included protobuf-c).
- If the answer is yes to question 2, should .pb-c.c and .pb-c.h file be re-compiled using the Protocol Buffer compiler. (In this case, server.proto and zstack.proto are missing from the source).
Detailed steps are welcome. Thanks!
Z-Stack Linux Ubuntu Gateway Installer: http://www.ti.com/tool/z-stack-archive
source code released: https://e2e.ti.com/support/wireless_connectivity/zigbee_6lowpan_802-15-4_mac/f/158/p/531192/2084135
Similar post without anwer: https://e2e.ti.com/support/wireless_connectivity/zigbee_6lowpan_802-15-4_mac/f/158/p/397651/1592017#pi319568=1
protobuf-c: https://github.com/google/protobuf/blob/master/src/README.md