免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6285 | 回复: 2
打印 上一主题 下一主题

make menuconfig 问题,大家有没有遇到过? [复制链接]

论坛徽章:
84
每日论坛发贴之星
日期:2015-12-29 06:20:00每日论坛发贴之星
日期:2016-01-16 06:20:00每周论坛发贴之星
日期:2016-01-17 22:22:00程序设计版块每日发帖之星
日期:2016-01-20 06:20:00每日论坛发贴之星
日期:2016-01-20 06:20:00程序设计版块每日发帖之星
日期:2016-01-21 06:20:00每日论坛发贴之星
日期:2016-01-21 06:20:00程序设计版块每日发帖之星
日期:2016-01-23 06:20:00程序设计版块每日发帖之星
日期:2016-01-31 06:20:00数据库技术版块每日发帖之星
日期:2016-01-16 06:20:00程序设计版块每日发帖之星
日期:2016-01-16 06:20:00程序设计版块每日发帖之星
日期:2016-01-14 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-07-21 16:50 |只看该作者 |倒序浏览
在 drivers/Kconfig 中添加了一行 source "drivers/crypto/Kconfig",并修改相应的drivers/Makefile

  1. source "drivers/telephony/Kconfig"

  2. +source "drivers/crypto/Kconfig"

  3. # input before char - char/joystick depends on it. As does USB.

复制代码
make menuconfig 发现错误

# make menuconfig
scripts/kconfig/mconf arch/powerpc/Kconfig
file drivers/crypto/Kconfig already scanned?
make[1]: *** [menuconfig] 错误 1
make: *** [menuconfig] 错误 2

在这个什么原因啊? 需要做哪些修改才行?

论坛徽章:
0
2 [报告]
发表于 2011-07-21 21:35 |只看该作者
本帖最后由 fei1700 于 2011-07-21 21:36 编辑

crypto/kconfig最后已经有加上
source "drivers/crypto/Kconfig"
所以在drivers/Kconfig里加就重复了,

crypto/Kconfig是每个架构的Kconfig里加的
#grep -nr --include="Kconfig*" "crypto" .
./arch/arm/Kconfig:1543:source "crypto/Kconfig"
./crypto/Kconfig:822:source "drivers/crypto/Kconfig"

我用2.6.33.rc1上在Drivers/Kconfig里加提示的错误是
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/arm/Kconfig
crypto/Kconfig:822: file 'drivers/crypto/Kconfig' is already sourced from 'drivers/Kconfig'
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2

论坛徽章:
84
每日论坛发贴之星
日期:2015-12-29 06:20:00每日论坛发贴之星
日期:2016-01-16 06:20:00每周论坛发贴之星
日期:2016-01-17 22:22:00程序设计版块每日发帖之星
日期:2016-01-20 06:20:00每日论坛发贴之星
日期:2016-01-20 06:20:00程序设计版块每日发帖之星
日期:2016-01-21 06:20:00每日论坛发贴之星
日期:2016-01-21 06:20:00程序设计版块每日发帖之星
日期:2016-01-23 06:20:00程序设计版块每日发帖之星
日期:2016-01-31 06:20:00数据库技术版块每日发帖之星
日期:2016-01-16 06:20:00程序设计版块每日发帖之星
日期:2016-01-16 06:20:00程序设计版块每日发帖之星
日期:2016-01-14 06:20:00
3 [报告]
发表于 2011-07-22 09:38 |只看该作者
本帖最后由 yjh777 于 2011-07-22 16:20 编辑
crypto/kconfig最后已经有加上
source "drivers/crypto/Kconfig"
所以在drivers/Kconfig里加就重复了,
...
fei1700 发表于 2011-07-21 21:35



确实是这样的,非常感谢!




mark 一下:
====> drivers/crypto/Kconfig
config CRYPTO_DEV_EXTENS_T23X
  tristate "Extensible Driver (t23x) for Talitos 2.x/3.x (EXPERIMENTAL)"
# dependency selection here is subjective, CRYPTO not yet
# valid unless API interface exists. Subsystem is dependent on
# PQ 2/3 "E" series processors with the crypto core, thus this
# dependency list is the best selector we have.
        depends on PPC_83xx || PPC_85xx || PPC_86xx
        default m
        help
          Extensible Crypto Driver for PowerQUICC devices containing the
          SEC 2.x/3.x accelerator core.

          Builds the Resource Manager component (t23xrm), which manages
          the hardware and enables sharing between APIs

config CRYPTO_DEV_EXTENS_T23X_RMTEST
        tristate "t23x Resource Manager testing module (EXPERIMENTAL)"
        depends on CRYPTO_DEV_EXTENS_T23X
        help
          Test module (t23xtest) to verify installation of t23x Resource
          Manager and accelerator hardware under it's control

config CRYPTO_DEV_EXTENS_T23X_SEC2
        tristate "t23x SEC2 Legacy Device Interface (EXPERIMENTAL)"
        depends on CRYPTO_DEV_EXTENS_T23X
        help
          SEC2 Legacy Driver Interface (t23xsec2) component intended to
          allow migration of applications dependent on the legacy driver

====>drivers/crypto/Makefile
obj-$(CONFIG_CRYPTO_DEV_EXTENS_T23X) += t23x/t23xrm/
obj-$(CONFIG_CRYPTO_DEV_EXTENS_T23X_RMTEST) += t23x/t23xtest/
obj-$(CONFIG_CRYPTO_DEV_EXTENS_T23X_SEC2) += t23x/t23xsec2/

cp -r t23x  ./drivers/crypto/.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP