当前位置: 技术问答>linux和unix
内核编译错误
来源: 互联网 发布时间:2016-02-25
本文导语: drivers/char/char.o: In function `vt_ioctl': drivers/char/char.o(.text+0xba90): undefined reference to `key_maps' drivers/char/char.o(.text+0xbe1c): undefined reference to `key_maps' drivers/char/char.o(.text+0xbe24): undefined reference to `keymap_count' drivers/char/c...
drivers/char/char.o: In function `vt_ioctl':
drivers/char/char.o(.text+0xba90): undefined reference to `key_maps'
drivers/char/char.o(.text+0xbe1c): undefined reference to `key_maps'
drivers/char/char.o(.text+0xbe24): undefined reference to `keymap_count'
drivers/char/char.o(.text+0xbe40): undefined reference to `func_table'
drivers/char/char.o(.text+0xbe48): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0xbe4c): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0xbe50): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xc244): undefined reference to `func_table'
drivers/char/char.o(.text+0xc248): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0xc24c): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xc250): undefined reference to `func_buf'
drivers/char/char.o(.text+0xc254): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0xc258): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0xc25c): undefined reference to `accent_table'
drivers/char/char.o: In function `kbd_processkeycode':
drivers/char/char.o(.text+0x15568): undefined reference to `key_maps'
drivers/char/char.o: In function `handle_diacr':
drivers/char/char.o(.text+0x15d04): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0x15d08): undefined reference to `accent_table'
drivers/char/char.o: In function `do_fn':
drivers/char/char.o(.text+0x15d5c): undefined reference to `func_table'
drivers/char/char.o: In function `compute_shiftstate':
drivers/char/char.o(.text+0x16120): undefined reference to `key_maps'
drivers/char/char.o: In function `do_slock':
drivers/char/char.o(.text+0x162a0): undefined reference to `key_maps'
make: *** [vmlinux] 错误 1
drivers/char/char.o(.text+0xba90): undefined reference to `key_maps'
drivers/char/char.o(.text+0xbe1c): undefined reference to `key_maps'
drivers/char/char.o(.text+0xbe24): undefined reference to `keymap_count'
drivers/char/char.o(.text+0xbe40): undefined reference to `func_table'
drivers/char/char.o(.text+0xbe48): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0xbe4c): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0xbe50): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xc244): undefined reference to `func_table'
drivers/char/char.o(.text+0xc248): undefined reference to `funcbufsize'
drivers/char/char.o(.text+0xc24c): undefined reference to `funcbufptr'
drivers/char/char.o(.text+0xc250): undefined reference to `func_buf'
drivers/char/char.o(.text+0xc254): undefined reference to `funcbufleft'
drivers/char/char.o(.text+0xc258): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0xc25c): undefined reference to `accent_table'
drivers/char/char.o: In function `kbd_processkeycode':
drivers/char/char.o(.text+0x15568): undefined reference to `key_maps'
drivers/char/char.o: In function `handle_diacr':
drivers/char/char.o(.text+0x15d04): undefined reference to `accent_table_size'
drivers/char/char.o(.text+0x15d08): undefined reference to `accent_table'
drivers/char/char.o: In function `do_fn':
drivers/char/char.o(.text+0x15d5c): undefined reference to `func_table'
drivers/char/char.o: In function `compute_shiftstate':
drivers/char/char.o(.text+0x16120): undefined reference to `key_maps'
drivers/char/char.o: In function `do_slock':
drivers/char/char.o(.text+0x162a0): undefined reference to `key_maps'
make: *** [vmlinux] 错误 1
|
搜一下这些链接错误的符号出现的位置,然后再查看相关的宏定义,再根据这些宏定义查找相关的配置选项。
|
内核配置上选择有点问题,再看看字符设备相关的一些东东你有没有选上
|
等待牛人来答.
|
没遇到过这种情况.
|