找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2332|回复: 2

lede编译错误问题

[复制链接]
发表于 2016-12-2 22:07 | 显示全部楼层 |阅读模式
  CC      net/core/gen_estimator.o
  CC      net/core/net_namespace.o
  CC      net/core/secure_seq.o
  CC      net/core/flow_dissector.o
  CC      net/core/sysctl_net_core.o
  CC      net/core/dev.o
In file included from include/linux/linkage.h:6:0,
                 from include/linux/kernel.h:6,
                 from ./arch/mips/include/asm/uaccess.h:14,
                 from net/core/dev.c:75:
include/linux/export.h:65:20: error: redefinition of '__kstrtab_validate_xmit_skb_list'
  static const char __kstrtab_##sym[]   \
                    ^
include/linux/export.h:79:2: note: in expansion of macro '__EXPORT_SYMBOL'
  __EXPORT_SYMBOL(sym, "_gpl")
  ^
net/core/dev.c:2859:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(validate_xmit_skb_list);
^
include/linux/export.h:65:20: note: previous definition of '__kstrtab_validate_xmit_skb_list' was here
  static const char __kstrtab_##sym[]   \
                    ^
include/linux/export.h:76:2: note: in expansion of macro '__EXPORT_SYMBOL'
  __EXPORT_SYMBOL(sym, "")
  ^
net/core/dev.c:2831:1: note: in expansion of macro 'EXPORT_SYMBOL'
EXPORT_SYMBOL(validate_xmit_skb_list);
^
include/linux/export.h:70:39: error: redefinition of '__ksymtab_validate_xmit_skb_list'
  __visible const struct kernel_symbol __ksymtab_##sym \
                                       ^
include/linux/export.h:79:2: note: in expansion of macro '__EXPORT_SYMBOL'
  __EXPORT_SYMBOL(sym, "_gpl")
  ^
net/core/dev.c:2859:1: note: in expansion of macro 'EXPORT_SYMBOL_GPL'
EXPORT_SYMBOL_GPL(validate_xmit_skb_list);
^
include/linux/export.h:70:39: note: previous definition of '__ksymtab_validate_xmit_skb_list' was here
  __visible const struct kernel_symbol __ksymtab_##sym \
                                       ^
include/linux/export.h:76:2: note: in expansion of macro '__EXPORT_SYMBOL'
  __EXPORT_SYMBOL(sym, "")
  ^
net/core/dev.c:2831:1: note: in expansion of macro 'EXPORT_SYMBOL'
EXPORT_SYMBOL(validate_xmit_skb_list);
^
scripts/Makefile.build:258: recipe for target 'net/core/dev.o' failed
make[7]: *** [net/core/dev.o] Error 1
scripts/Makefile.build:403: recipe for target 'net/core' failed
make[6]: *** [net/core] Error 2
Makefile:961: recipe for target 'net' failed
make[5]: *** [net] Error 2
make[5]: Leaving directory '/home/dh/lede/source/build_dir/target-mipsel_24kc_musl-1.1.15/linux-ramips_mt7621/linux-4.4.35'
Makefile:26: recipe for target '/home/dh/lede/source/build_dir/target-mipsel_24kc_musl-1.1.15/linux-ramips_mt7621/linux-4.4.35/.image' failed
make[4]: *** [/home/dh/lede/source/build_dir/target-mipsel_24kc_musl-1.1.15/linux-ramips_mt7621/linux-4.4.35/.image] Error 2
make[4]: Leaving directory '/home/dh/lede/source/target/linux/ramips'
Makefile:13: recipe for target 'install' failed
make[3]: *** [install] Error 2
make[3]: Leaving directory '/home/dh/lede/source/target/linux'
target/Makefile:22: recipe for target 'target/linux/install' failed
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory '/home/dh/lede/source'
target/Makefile:18: recipe for target '/home/dh/lede/source/staging_dir/target-mipsel_24kc_musl-1.1.15/stamp/.target_install' failed
make[1]: *** [/home/dh/lede/source/staging_dir/target-mipsel_24kc_musl-1.1.15/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/dh/lede/source'
/home/dh/lede/source/include/toplevel.mk:194: recipe for target 'world' failed
make: *** [world] Error 2
 楼主| 发表于 2016-12-2 22:08 | 显示全部楼层
好象是符号定义错误问题,总找不到下手之处,总不能去改动linux内核吧
回复 支持 反对

使用道具 举报

发表于 2016-12-3 08:58 | 显示全部楼层
把IMQ模块等去除掉试试看。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-5 01:15

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表