不能编译gator-凯发app
问题类别: > | 浏览次数:1977 |
发布日期:2012/4/1 15:15:16 | 文章来源:米尔科技 |
回复日期:2020/12/21 9:24:18 |
在linux下编译gator-daemon出错
使用命令:sudo tar -xzf gator-daemon.tar.gz,解压gator-daemon.tar.gz之后进入其目录,make时出现如下提示:
cat events_header.xml events-*\.xml events_footer.xml > events.xml
/bin/sh: cannot create events.xml: permission denied
make: *** [convert] error 2
当将文件删除,先修改压缩文件的属性为读写之后解压再make时,错误如下:
cat events_header.xml events-*\.xml events_footer.xml > events.xml
xxd -i events.xml > events_xml.h
xxd -i configuration.xml > configuration_xml.h
g -c -o3 -wall -werror -march=armv5t -mthumb-interwork -o capturedxml.o capturedxml.cpp
cc1plus: error: unrecognized command line option "-mthumb-interwork"
capturedxml.cpp:1: error: bad value (armv5t) for -march= switch
capturedxml.cpp:1: error: bad value (armv5t) for -mtune= switch
make: *** [capturedxml.o] error 1