以下内容出自互联网。如果侵犯您的权利,请通知我,我会及时删除。
make error:
I. scripts/mod/sumversion.c: In function ‘get_src_version’:
scripts/mod/sumversion.c:384:
error: ‘PATH_MAX’ undeclared (first use in this function)
解决方法:modifying linux-2.6.x/scripts/mod/sumversion.c, and adding #include
II. kernel/built-in.o: In function `getnstimeofday':
(.text+0x2063b): undefined reference to `__umoddi3'
kernel/built-in.o: In function `getnstimeofday':
(.text+0x2065e): undefined reference to `__udivdi3'
解决方法:在2.6.xx的Makefile中的CFLAGS中添加-fno-tree-scev-cprop
阅读(1076) | 评论(0) | 转发(0) |