主题 : 修改android的linux内核,编译的时候发生错误,帮忙看下 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 97451
精华: 0
发帖: 20
金钱: 100 两
威望: 20 点
贡献值: 0 点
综合积分: 40 分
注册时间: 2013-10-23
最后登录: 2014-11-18
楼主  发表于: 2013-10-29 17:16

 修改android的linux内核,编译的时候发生错误,帮忙看下

图片:
使用的是tiny210的默认config文件,编译的时候出现了问题,哪位帮忙看下
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2013-10-29 17:45
看起来是内核源代码没有正确解压,在net/ipv4/netfilter目录下应该存在ipt_ecn.c和ipt_ECN.c两个文件。如果你是在Windows上通过文件共享解压内核源代码的,你需要在Linux PC上直接做。
楼主留言:
我看了下,只有ipt_ECN.c文件,没有ipt_ecn.c文件,是不是要在linux环境下解压源码?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
2楼  发表于: 2013-10-30 11:37
我看了下,只有ipt_ECN.c文件,没有ipt_ecn.c文件,是不是要在linux环境下解压源码?

是的
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."