免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3042 | 回复: 3
打印 上一主题 下一主题

编译2.6.27出现错误? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-19 12:57 |只看该作者 |倒序浏览
麻烦哪位高手看一下。
WARNING: vmlinux.o(.text+0x6962): Section mismatch in reference from the function setup_trampoline() to the variable .cpuinit.data:trampoline_end
The function setup_trampoline() references
the variable __cpuinitdata trampoline_end.
This is often because setup_trampoline lacks a __cpuinitdata
annotation or the annotation of trampoline_end is wrong.

WARNING: vmlinux.o(.text+0x696: Section mismatch in reference from the function setup_trampoline() to the variable .cpuinit.data:trampoline_data
The function setup_trampoline() references
the variable __cpuinitdata trampoline_data.
This is often because setup_trampoline lacks a __cpuinitdata
annotation or the annotation of trampoline_data is wrong.

WARNING: vmlinux.o(.text+0x6975): Section mismatch in reference from the function setup_trampoline() to the variable .cpuinit.data:trampoline_data
The function setup_trampoline() references
the variable __cpuinitdata trampoline_data.
This is often because setup_trampoline lacks a __cpuinitdata
annotation or the annotation of trampoline_data is wrong.

WARNING: vmlinux.o(.cpuinit.data+0x0): Section mismatch in reference from the variable initial_code to the function .init.text:i386_start_kernel()
The variable __cpuinitdata initial_code references
a function __init i386_start_kernel().
If i386_start_kernel is only used by initial_code then
annotate i386_start_kernel with a matching annotation.

WARNING: vmlinux.o(.cpuinit.data+0xf30): Section mismatch in reference from the variable trampoline_data to the variable .init.text:startup_32_smp
The variable __cpuinitdata trampoline_data references
a variable __init startup_32_smp.
If startup_32_smp is only used by trampoline_data then
annotate startup_32_smp with a matching annotation.

GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `rtl8169_gset_xmii':
r8169.c.text+0x806b0): undefined reference to `mii_ethtool_gset'
make: *** [.tmp_vmlinux1] 错误 1


WARNING: modpost: Found 5 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `rtl8169_gset_xmii':
r8169.c.text+0x7ef2b): undefined reference to `mii_ethtool_gset'
make[1]: *** [.tmp_vmlinux1] 错误 1
make[1]: Leaving directory `/opt/pool/linux-2.6.27.6'
make: *** [debian/stamp/build/kernel] 错误 2

[ 本帖最后由 sjustc 于 2008-11-19 13:06 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2008-11-19 13:30 |只看该作者

回复 #1 sjustc 的帖子

检测你的GCC的编译环境

论坛徽章:
0
3 [报告]
发表于 2008-11-19 22:40 |只看该作者
使用默认配置编译一下试试,我想应该是内核配置的问题

论坛徽章:
0
4 [报告]
发表于 2008-11-20 08:01 |只看该作者
原来是网卡没有配置好。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP