Hi3518E V200R001C05SPC050是海思针对hi3518EV200提供的sdk。
编译过程中遇到的问题:
1、hashtable_itr.c 和hashtable_itr.h 中的两个函数重定义错误,只需把.h中的函数体实现去掉,改为函数声明就可以了,注意一定要改压缩包里面的内容哦,负责无效,因为每次编译都是从压缩包里解压缩出文件。
extern /*inline*/ void *
hashtable_iterator_key(struct hashtable_itr *i);
/*{
return i->e->k;
}*/
/*****************************************************************************/
/* value - return the value of the (key,value) pair at the current position */
extern /*inline */void *
hashtable_iterator_value(struct hashtable_itr *i);
/*{
return i->e->v;
}*/
2、编译jffs2报struct addrinfo storage size isn't known错误
解决方法采用了:http://blog.csdn.net/remme123/article/details/62216434,当然可能还有其他的方法。
3、报告错误:
linux shell /bin/sh: 5: pushd: not found
解决办法:http://blog.csdn.net/mldxs/article/details/42044645
4、之前运行 ./sdk.cleanup和sdk.unpack报错,现在竟然可以成功运行了