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 Gateway 移植的各种问题,求大神们解决

Other Parts Discussed in Thread: Z-STACK

各位大神:

我在移植Z-Stack linux Gateway到我的ARM9G20平台的时候遇到一些问题还请大神们给一些解决的方法,

1、./zigbeeHAgw bbb 不能运行

/Z-Stack_Linux_Gateway-1.0.1/z-stack_linux_gateway_arm_binaries/servers # ./zigb

eeHAgw bbb

-/bin/sh: ./zigbeeHAgw: not found

我找到的解决的方法是进入zigbeeHAgw 里面把/bin/bash 改成 /bin/sh但是再次运行

 ./zigbeeHAgw bbb 但是又会报

 line 1: syntax error: unexpected word (expecting ")") 这样的错误

运行 ./start_application同样报相同的错误

/Z-Stack_Linux_Gateway-1.0.1/z-stack_linux_gateway_arm_binaries/servers # ./star

t_application

Starting application

../app/main.bin: line 1: syntax error: unexpected word (expecting ")")

Done

我查看了相关文件的属性(见附件),似乎没有什么不妥

后来看相关文档说makefile CFLAGS 中多了一个选项-c ,所以我的demo project 下面makefile修改

CFLAGS= -c -Wall -march=armv4t -g  -std=gnu99 改成CFLAGS= -Wall -march=armv4t -g  -std=gnu99

重新make,但是会爆以下错误

undefined reference to "ds_init"

undefined reference to "ui_init"

undefined reference to "si_init"

undefined reference to "polling_process_init"

undefined reference to "si_deinit"

undefined reference to "ui_deinit"

这下我就暂时没辙了,求大神帮忙!详细的错误截图见附件!

linux Gateway报错信息.doc