zoukankan      html  css  js  c++  java
  • Linux内核----make menuconfig时出错

    硬件平台:imx6q

    软件平台:Android 4.2

    在ubuntu12.04中配置linux的内核的时候出现如下问题:

     HOSTLD  scripts/kconfig/mconf
    scripts/kconfig/mconf.o: In function `show_help':
    mconf.c:(.text+0x7e1): undefined reference to `stdscr'
    scripts/kconfig/mconf.o: In function `main':
    mconf.c:(.text+0x1256): undefined reference to `initscr'
    mconf.c:(.text+0x125d): undefined reference to `stdscr'
    scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
    checklist.c:(.text+0x41): undefined reference to `wmove'
    checklist.c:(.text+0x61): undefined reference to `acs_map'
    checklist.c:(.text+0x69): undefined reference to `waddch'

    ………………………………………………………………………………

    ………………………………………………………………………………

    menubox.c:(.text+0x55): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/menubox.o: In function `print_arrows':
    menubox.c:(.text+0x1a5): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
    menubox.c:(.text+0x3b2): undefined reference to `wrefresh'
    scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
    menubox.c:(.text+0x4d4): undefined reference to `wrefresh'
    collect2: ld returned 1 exit status
    make[1]: *** [scripts/kconfig/mconf] Error 1
    make: *** [menuconfig] Error 2

    解决办法:

    sudo apt-get install build-essential
    sudo apt-get install libncurses5
    apt-get install libncurses5-dev

  • 相关阅读:
    Linux c++ time different
    数据库初始化以及制作为Windows服务
    数据库无法注册服务
    JS中String转int
    数据库服务注册(使用命令注册):解决my.ini配置文件不存在的问题
    数据库启动丢失MSVCP120.dll
    jQuery
    BOM和DOM
    用yield实现python协程
    深入理解python中的yield关键字
  • 原文地址:https://www.cnblogs.com/hao507/p/4140056.html
Copyright © 2011-2022 走看看