SVN Version = Main project\'s base directory: GATEWAY=/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source (leave blank to use the detault) NPI Project's base directory NPI_SOURCE=/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/ Protobuf library directory: PROTOLIB=/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/protobuf-c-arm/lib Protobuf include directory: PROTOINC=/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source Project output subdirectory: PKGS_OUTPUT_DIR=/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/out (leave blank to use the detault) Building RUNTIME package for x86 platform ******************************************************** Cleaning all if test -d out; then rm -rf out; fi rm -f project_file_list.txt ******************************************************** Check existance of output folder if test ! -d out; then mkdir out; fi ******************************************************** COMPILING SERVER FOR ARM BEAGLE BONE make[1]: Entering directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/tools/LinuxHost' Compiling ipclib/server/npi_lnx_ipc.c ... gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead ipclib/server/npi_lnx_ipc.c:1:0: error: bad value (armv7-a) for -march= switch /************************************************************************************************** ^ ipclib/server/npi_lnx_ipc.c:1:0: error: bad value (cortex-a8) for -mtune= switch make[1]: *** [out/npi_lnx_ipc.o] Error 1 make[1]: Leaving directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/tools/LinuxHost' make: *** [arch-all-armBeagleBone] Error 2 ******************************************************** Cleaning all if test -d out; then rm -rf out; fi ******************************************************** Check existance of output folder if test ! -d out; then mkdir out; fi ******************************************************** COMPILING APP FOR x86 make[1]: Entering directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/zstackserverznp' Compiling osal_zstack_server_znp.c ... Compiling ../source/zmain.c ... Compiling znp_af.c ... Compiling znp_misc.c ... Compiling znp_zdo.c ... Compiling ../zstackpb/zstack.pb-c.c ... In file included from ../zstackpb/zstack.pb-c.c:8:0: ../zstackpb/zstack.pb-c.h:6:42: fatal error: google/protobuf-c/protobuf-c.h: No such file or directory #include ^ compilation terminated. make[1]: *** [out/zstack.pb-c.o] Error 1 make[1]: Leaving directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/zstackserverznp' make: *** [arch-all-x86] Error 2 ******************************************************** Cleaning all if test -d out; then rm -rf out; fi ******************************************************** Check existance of output folder if test ! -d out; then mkdir out; fi ******************************************************** COMPILING APP FOR x86 make[1]: Entering directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/nwkmgr' Compiling ../srvepconfig/serverep.c ... In file included from ../srvepconfig/serverep.h:50:0, from ../srvepconfig/serverep.c:55: ../zstackpb/zstack.pb-c.h:6:42: fatal error: google/protobuf-c/protobuf-c.h: No such file or directory #include ^ compilation terminated. make[1]: *** [out/serverep.o] Error 1 make[1]: Leaving directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/nwkmgr' make: *** [arch-all-x86] Error 2 ******************************************************** Cleaning all if test -d out; then rm -rf out; fi ******************************************************** Check existance of output folder if test ! -d out; then mkdir out; fi ******************************************************** COMPILING APP FOR x86 make[1]: Entering directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/hagateway' Compiling ../srvepconfig/serverep.c ... In file included from ../srvepconfig/serverep.h:50:0, from ../srvepconfig/serverep.c:55: ../zstackpb/zstack.pb-c.h:6:42: fatal error: google/protobuf-c/protobuf-c.h: No such file or directory #include ^ compilation terminated. make[1]: *** [out/serverep.o] Error 1 make[1]: Leaving directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/hagateway' make: *** [arch-all-x86] Error 2 ******************************************************** Cleaning all if test -d out; then rm -rf out; fi ******************************************************** Check existance of output folder if test ! -d out; then mkdir out; fi ******************************************************** COMPILING APP FOR x86 export ARCH=x86 make[1]: Entering directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/otaserver' Compiling ../zstackpb/zstack.pb-c.c ... In file included from ../zstackpb/zstack.pb-c.c:8:0: ../zstackpb/zstack.pb-c.h:6:42: fatal error: google/protobuf-c/protobuf-c.h: No such file or directory #include ^ compilation terminated. make[1]: *** [out/zstack.pb-c.o] Error 1 make[1]: Leaving directory `/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/otaserver' make: *** [arch-all-x86] Error 2 Cleaning up main.o polling.o timer_utils.o socket_interface.o tcp_client.o user_interface.o data_structures.o network_info_engine.o device_list_engine.o sensor_engine.o state_reflector.o attribute_engine.o actions_engine.o commissioning_engine.o system_engine.o ota_engine.o nwkmgr.pb-c.o gateway.pb-c.o otasrvr.pb-c.o group_scene_engine.o macros.o ./out/* /bin/rm -f main.bin main.o polling.o timer_utils.o socket_interface.o tcp_client.o user_interface.o data_structures.o network_info_engine.o device_list_engine.o sensor_engine.o state_reflector.o attribute_engine.o actions_engine.o commissioning_engine.o system_engine.o ota_engine.o nwkmgr.pb-c.o gateway.pb-c.o otasrvr.pb-c.o group_scene_engine.o macros.o ./out/* rm -f project_file_list.txt VPATH is .:./../framework:./../engines:./../../nwkmgr:./../../hagateway:./../../otaserver ******************************************************** Check existance of output folder if test ! -d ./out; then mkdir ./out; fi Compiling main.c into main.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver main.c -o main.o Compiling ./../framework/polling.c into polling.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/polling.c -o polling.o Compiling ./../framework/timer_utils.c into timer_utils.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/timer_utils.c -o timer_utils.o Compiling ./../framework/socket_interface.c into socket_interface.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/socket_interface.c -o socket_interface.o Compiling ./../framework/tcp_client.c into tcp_client.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/tcp_client.c -o tcp_client.o Compiling ./../framework/user_interface.c into user_interface.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/user_interface.c -o user_interface.o Compiling ./../framework/data_structures.c into data_structures.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/data_structures.c -o data_structures.o Compiling ./../engines/network_info_engine.c into network_info_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/network_info_engine.c -o network_info_engine.o Compiling ./../engines/device_list_engine.c into device_list_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/device_list_engine.c -o device_list_engine.o Compiling ./../engines/sensor_engine.c into sensor_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/sensor_engine.c -o sensor_engine.o Compiling ./../engines/state_reflector.c into state_reflector.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/state_reflector.c -o state_reflector.o Compiling ./../engines/attribute_engine.c into attribute_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/attribute_engine.c -o attribute_engine.o Compiling ./../engines/actions_engine.c into actions_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/actions_engine.c -o actions_engine.o Compiling ./../engines/commissioning_engine.c into commissioning_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/commissioning_engine.c -o commissioning_engine.o Compiling ./../engines/system_engine.c into system_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/system_engine.c -o system_engine.o Compiling ./../engines/ota_engine.c into ota_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/ota_engine.c -o ota_engine.o Compiling ./../../nwkmgr/nwkmgr.pb-c.c into nwkmgr.pb-c.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../../nwkmgr/nwkmgr.pb-c.c -o nwkmgr.pb-c.o Compiling ./../../hagateway/gateway.pb-c.c into gateway.pb-c.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../../hagateway/gateway.pb-c.c -o gateway.pb-c.o Compiling ./../../otaserver/otasrvr.pb-c.c into otasrvr.pb-c.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../../otaserver/otasrvr.pb-c.c -o otasrvr.pb-c.o Compiling ./../engines/group_scene_engine.c into group_scene_engine.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../engines/group_scene_engine.c -o group_scene_engine.o Compiling ./../framework/macros.c into macros.o gcc -c -Wall -g -std=gnu99 -I. -I../engines -I../framework -I/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source -I../../nwkmgr -I../../hagateway -I../../otaserver ./../framework/macros.c -o macros.o Building main.bin... gcc -rdynamic -o main.bin main.o polling.o timer_utils.o socket_interface.o tcp_client.o user_interface.o data_structures.o network_info_engine.o device_list_engine.o sensor_engine.o state_reflector.o attribute_engine.o actions_engine.o commissioning_engine.o system_engine.o ota_engine.o nwkmgr.pb-c.o gateway.pb-c.o otasrvr.pb-c.o group_scene_engine.o macros.o -L/home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/protobuf-c-arm/lib -lprotobuf-c /usr/bin/ld: skipping incompatible /home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/protobuf-c-arm/lib/libprotobuf-c.so when searching for -lprotobuf-c /usr/bin/ld: skipping incompatible /home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/protobuf-c-arm/lib/libprotobuf-c.a when searching for -lprotobuf-c /usr/bin/ld: cannot find -lprotobuf-c collect2: error: ld returned 1 exit status make: *** [main.bin] Error 1 rm -rf *.o sbl_tool.bin gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o main.o ../Source/main.c gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocCmd.o ../Source/zbSocCmd.c gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocTransportUart.o ../Source/zbSocTransportUart.c gcc -Wall -DVERSION_NUMBER="0.1" main.o zbSocCmd.o zbSocTransportUart.o -L/opt/ti-sdk-am335x-evm-08.00.00.00/linux-devkit/sysroots/i686-arago-linux/lib/../usr/lib/ -o sbl_tool.bin rm -rf *.o gw_soc_fw_version_query.bin gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o main.o ../Source/main.c gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocCmd.o ../Source/zbSocCmd.c gcc -Wall -DVERSION_NUMBER="0.1" -D_GNU_SOURCE -DxHAL_UART_SPI -c -o zbSocTransportUart.o ../Source/zbSocTransportUart.c gcc -Wall -DVERSION_NUMBER="0.1" main.o zbSocCmd.o zbSocTransportUart.o -L/opt/ti-sdk-am335x-evm-08.00.00.00/linux-devkit/sysroots/i686-arago-linux/lib/../usr/lib/ -o gw_soc_fw_version_query.bin Cleaning up ../source/bbb_usbreset.o ./out/* /bin/rm -f bbb_usbreset.bin ../source/bbb_usbreset.o ./out/* VPATH is . ******************************************************** Check existance of output folder if test ! -d ./out; then mkdir ./out; fi Compiling ../source/bbb_usbreset.c into ../source/bbb_usbreset.o gcc -c -Wall -g -std=gnu99 -I. ../source/bbb_usbreset.c -o ../source/bbb_usbreset.o Building bbb_usbreset.bin... gcc -o bbb_usbreset.bin ../source/bbb_usbreset.o mv ../source/bbb_usbreset.o ./out BUILDING zigbeeHAgw script================================================ Package verification results: ERROR: 18 error(s) occured during make ERROR: 1 warning(s) occured during make diff /home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/out/content.txt /home/erison/Z-Stack_Linux_Gateway-1.0.1-src/Source/Projects/zstack/linux/scripts/package_builder_expected_content_RUNTIME_x86.txt ERROR: Content verification failed ERROR: RUNTIME package for x86 creation failed. See details above. Output folder/tar name prefixed with "ERROR_."