求助帖,树莓派内核配置出错
我刚到手的树莓派3B,然后git下载了最新的内核源码,三个文件夹,firmware,Linux和tools。然后用之前镜像系统里面的config.gz,复制到.config里面,拷到源码目录下面。更改Makefile里面的ARCH=arm CROSS_COMPILE=../tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi-完了就make clean
make menuconfig
然后就出现了一下错误
HOSTLDscripts/kconfig/mconfscripts/kconfig/mconf.o: In function `set_config_filename':mconf.c:(.text+0x7): undefined reference to `rootmenu'scripts/kconfig/mconf.o: In function `build_conf':mconf.c:(.text+0x8d): undefined reference to `menu_is_visible'mconf.c:(.text+0xbb): undefined reference to `sym_get_type'mconf.c:(.text+0xec): undefined reference to `menu_is_visible'mconf.c:(.text+0x10b): undefined reference to `sym_is_changable'mconf.c:(.text+0x145): undefined reference to `menu_get_prompt'mconf.c:(.text+0x1e8): undefined reference to `menu_get_prompt'mconf.c:(.text+0x26c): undefined reference to `menu_has_prompt'mconf.c:(.text+0x2d5): undefined reference to `sym_get_string_value'mconf.c:(.text+0x2e7): undefined reference to `sym_get_string_value'mconf.c:(.text+0x31c): undefined reference to `menu_get_prompt'mconf.c:(.text+0x3bc): undefined reference to `sym_is_changable'mconf.c:(.text+0x404): undefined reference to `sym_is_changable'mconf.c:(.text+0x451): undefined reference to `menu_get_prompt'mconf.c:(.text+0x4a6): undefined reference to `menu_is_empty'mconf.c:(.text+0x4e1): undefined reference to `menu_get_prompt'mconf.c:(.text+0x5ea): undefined reference to `sym_is_changable'mconf.c:(.text+0x735): undefined reference to `sym_is_changable'mconf.c:(.text+0x774): undefined reference to `menu_get_prompt'mconf.c:(.text+0x7b8): undefined reference to `menu_is_empty'scripts/kconfig/mconf.o: In function `set_subtitle':mconf.c:(.text+0x850): undefined reference to `xcalloc'mconf.c:(.text+0x885): undefined reference to `xcalloc'scripts/kconfig/mconf.o: In function `show_help':mconf.c:(.text+0x989): undefined reference to `str_new'mconf.c:(.text+0x9b2): undefined reference to `menu_get_ext_help'mconf.c:(.text+0x9ba): undefined reference to `str_get'mconf.c:(.text+0x9c4): undefined reference to `menu_get_prompt'mconf.c:(.text+0x9f4): undefined reference to `str_free'scripts/kconfig/mconf.o: In function `conf':mconf.c:(.text+0xa24): undefined reference to `menu_get_prompt'mconf.c:(.text+0xa2a): undefined reference to `rootmenu'mconf.c:(.text+0xa45): undefined reference to `menu_get_prompt'mconf.c:(.text+0xbae): undefined reference to `str_new'mconf.c:(.text+0xc1d): undefined reference to `str_printf'mconf.c:(.text+0xc31): undefined reference to `str_get'mconf.c:(.text+0xcdd): undefined reference to `str_new'mconf.c:(.text+0xd27): undefined reference to `str_printf'mconf.c:(.text+0xd36): undefined reference to `str_get'mconf.c:(.text+0xd6b): undefined reference to `sym_re_search'mconf.c:(.text+0xdc2): undefined reference to `get_relations_str'mconf.c:(.text+0xdfa): undefined reference to `str_get'mconf.c:(.text+0xebb): undefined reference to `str_free'mconf.c:(.text+0xf0a): undefined reference to `str_free'mconf.c:(.text+0xf35): undefined reference to `str_free'mconf.c:(.text+0xf60): undefined reference to `sym_toggle_tristate_value'mconf.c:(.text+0xf98): undefined reference to `sym_set_tristate_value'mconf.c:(.text+0xfd0): undefined reference to `sym_set_tristate_value'mconf.c:(.text+0x1008): undefined reference to `sym_set_tristate_value'mconf.c:(.text+0x1024): undefined reference to `sym_set_tristate_value'mconf.c:(.text+0x10b1): undefined reference to `conf_read'mconf.c:(.text+0x115c): undefined reference to `conf_write'mconf.c:(.text+0x12d8): undefined reference to `str_free'mconf.c:(.text+0x1358): undefined reference to `menu_get_prompt'mconf.c:(.text+0x1367): undefined reference to `sym_get_type'mconf.c:(.text+0x13b0): undefined reference to `sym_get_string_value'mconf.c:(.text+0x142f): undefined reference to `sym_set_string_value'mconf.c:(.text+0x1473): undefined reference to `sym_get_type'mconf.c:(.text+0x15df): undefined reference to `sym_set_change_count'mconf.c:(.text+0x15ec): undefined reference to `menu_get_prompt'mconf.c:(.text+0x1634): undefined reference to `menu_is_visible'mconf.c:(.text+0x164b): undefined reference to `menu_get_prompt'mconf.c:(.text+0x1740): undefined reference to `sym_set_tristate_value'mconf.c:(.text+0x1754): undefined reference to `menu_get_prompt'scripts/kconfig/mconf.o: In function `handle_exit':mconf.c:(.text+0x1929): undefined reference to `conf_get_changed'mconf.c:(.text+0x19e0): undefined reference to `conf_write'scripts/kconfig/mconf.o: In function `main':mconf.c:(.text+0x1b09): undefined reference to `conf_parse'mconf.c:(.text+0x1b15): undefined reference to `conf_read'mconf.c:(.text+0x1b4e): undefined reference to `conf_get_configname'mconf.c:(.text+0x1b5f): undefined reference to `conf_set_message_callback'mconf.c:(.text+0x1b6b): undefined reference to `rootmenu'mconf.c:(.text+0x1c32): undefined reference to `conf_set_message_callback'collect2: ld 返回 1make: *** 错误 1make: *** 错误 2
是不是连接的工具包有错误,小弟新手,求助急!谢谢
页:
[1]