作者 主題: 核心編譯出錯  (閱讀 1754 次)

0 會員 與 1 訪客 正在閱讀本文。

THQ

  • 懷疑的國中生
  • **
  • 文章數: 51
    • 檢視個人資料
核心編譯出錯
« 於: 2007-08-20 08:08 »
/linuxkernel/linux-2.4.35.1/arch/i386/lib/lib.a \
                --end-group \
                -o vmlinux
arch/i386/kernel/kernel.o: In function `disable_console_keyboard':
dmi_scan.c:(.text.init+0x38a1): undefined reference to `keyboard_controller_present'
make: *** [vmlinux] Error 1

這是什麼原因啊?

THQ

  • 懷疑的國中生
  • **
  • 文章數: 51
    • 檢視個人資料
核心編譯出錯
« 回覆 #1 於: 2007-08-20 09:08 »
重試把input core support的keyboard編入,還是出現以下錯誤
/linuxkernel/linux-2.4.35.1/arch/i386/lib/lib.a \
                --end-group \
                -o vmlinux
arch/i386/kernel/kernel.o: In function `disable_console_keyboard':
dmi_scan.c:(.text.init+0x34c1): undefined reference to `keyboard_controller_present'
drivers/input/inputdrv.o: In function `keybdev_event':
(.text+0x969): undefined reference to `handle_scancode'
drivers/input/inputdrv.o: In function `keybdev_event':
(.text+0x993): undefined reference to `keyboard_tasklet'
drivers/input/inputdrv.o: In function `keybdev_event':
(.text+0x9a7): undefined reference to `keyboard_tasklet'
drivers/input/inputdrv.o: In function `keybdev_event':
(.text+0x9eb): undefined reference to `handle_scancode'
drivers/input/inputdrv.o: In function `keybdev_event':
(.text+0xa02): undefined reference to `handle_scancode'
drivers/input/inputdrv.o: In function `keybdev_event':
(.text+0xa1c): undefined reference to `handle_scancode'
drivers/input/inputdrv.o: In function `keybdev_event':
(.text+0xa2c): undefined reference to `handle_scancode'
drivers/input/inputdrv.o: In function `keybdev_event':
(.text+0xa3c): undefined reference to `handle_scancode'
drivers/input/inputdrv.o:(.text+0xa56): more undefined references to `handle_scancode' follow
drivers/input/inputdrv.o: In function `keybdev_init':
keybdev.c:(.text.init+0x65): undefined reference to `kbd_ledfunc'
keybdev.c:(.text.init+0x6a): undefined reference to `kbd_refresh_leds'
make: *** [vmlinux] Error 1