error: storage size of 'rq' isn't kn

看了几个ubifs的帖子:

http://hi.baidu.com/3444542/blog/item/95bea529777da3f298250a52.html

http://blog.csdn.net/pottichu/archive/2010/04/28/5539923.aspx

http://blog.csdn.net/ShowMan/archive/2010/03/17/5390868.aspx

不知道是他们比较顺利呢,还是我比较背。那些库照上面的帖子安装,现在分享一些错误解决方法:

1、帖子名称出现的错误:

其实这个结构体在头文件<linux/in.h>可以找到,包含进去以后会说重定义。主要是mtd-utils太老了,08年的!服了!

各位把这个结构体添加到文件头就行了,也不用打什么补丁:

//#include <linux/in.h>struct ip_mreq { struct in_addr imr_multiaddr; /* IP multicast address of group */ struct in_addr imr_interface; /* local IP address of interface */};

2、说找不到arm-linux/ubi-utils:

自己建立一个连接就行了,进入arm-linux:

ln -s ../ubi-utils ubi-utils

困难与折磨对于人来说,是一把打向坯料的锤,

error: storage size of 'rq' isn't kn

相关文章:

你感兴趣的文章:

标签云: