This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3354: 我想在编译内核的时候加入gpio支持(即在文件系统中生成/sys/class/gpio),结果make menuconfig失败(我的系统ubuntu10.04.4)。

Part Number: AM3354


  下载libncurses失败后,我进入源列表 - Ubuntu中文,由于我的ubuntu是10.04.4,所以我将/etc/apt/sources.list的源替换成us.old-releases.ubuntu.com/.../,执行apt-get update后,  ,执行apt-get upgrade,再次执行apt-get install libncurses5-dev,还是失败,接着我在模板:10.10source - Ubuntu中文替换了一些源后仍然Couldn't find package libncurses5-dev,希望各位前辈指点一下;我想在编译内核时,在文件系统加入/sys/class/gpio,请问除了在menuconfig中设置gpio support外,还有什么其它方法吗?

  • 请问除了在menuconfig中设置gpio support外,还有什么其它方法吗?

    没有其它办法,即使是编译默认的配置可能也会出现该报错。

    还是先需要解决安装libncurses5-dev的问题,网上很多相关报错的解决方法,另外建议更新至最新的SDK版本试一下。