houyongnan

houyongnan

1个粉丝

32

问答

0

专栏

0

资料

houyongnan  发布于  2017-09-01 13:12:21
采纳率 0%
32个问答
4903

make nvp6124报错还有很多警告

 
ls: 无法访问/hiwork/osdrvhi3521a.C01: 没有那个文件或目录
make[1]: 正在进入目录 `/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/osdrv/opensource/kernel/linux-3.10.y'
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "i2c_master_send" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "msleep" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "__copy_from_user" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "__copy_to_user" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "__aeabi_unwind_cpp_pr1" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "i2c_put_adapter" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "misc_register" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "__memzero" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "memset" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "printk" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "down" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "arm_delay_ops" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "i2c_unregister_device" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "__aeabi_idiv" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "i2c_master_recv" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "up" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "__aeabi_unwind_cpp_pr0" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "i2c_get_adapter" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "param_ops_uint" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "i2c_new_device" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
WARNING: "misc_deregister" [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.ko] undefined!
  CC      /home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.o
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:8:1: error: variable ‘__this_module’ has initializer but incomplete type
__attribute__((section(".gnu.linkonce.this_module"))) = {
^
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:9:2: error: unknown field ‘name’ specified in initializer
  .name = KBUILD_MODNAME,
  ^
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:9:2: warning: excess elements in struct initializer [enabled by default]
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:9:2: warning: (near initialization for ‘__this_module’) [enabled by default]
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:10:2: error: unknown field ‘init’ specified in initializer
  .init = init_module,
  ^
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:10:2: warning: excess elements in struct initializer [enabled by default]
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:10:2: warning: (near initialization for ‘__this_module’) [enabled by default]
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:14:2: error: unknown field ‘arch’ specified in initializer
  .arch = MODULE_ARCH_INIT,
  ^
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:14:10: error: ‘MODULE_ARCH_INIT’ undeclared here (not in a function)
  .arch = MODULE_ARCH_INIT,
          ^
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:14:2: warning: excess elements in struct initializer [enabled by default]
  .arch = MODULE_ARCH_INIT,
  ^
/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.c:14:2: warning: (near initialization for ‘__this_module’) [enabled by default]
make[2]: *** [/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/mpp/extdrv/nvp6124/nvp6124.mod.o] 错误 1
make[1]: *** [modules] 错误 2
make[1]:正在离开目录 `/home/hyn/HI3521AV100/Hi3521A_SDK_V1.0.3.0/osdrv/opensource/kernel/linux-3.10.y'
make: *** [default] 错误 2
我来回答
回答2个
时间排序
认可量排序

houyongnan

1个粉丝

32

问答

0

专栏

0

资料

houyongnan 2017-09-01 14:57:57
认可0
以解决:Enable loadable module support  --->
  • 勾选
  • david

    39个粉丝

    368

    问答

    253

    专栏

    229

    资料

    david 2017-09-01 18:21:00
    认可0
    发现问题解决还分享出来。必须赞楼主
    或将文件直接拖到这里
    悬赏:
    E币
    网盘
    * 网盘链接:
    * 提取码:
    悬赏:
    E币

    Markdown 语法

    • 加粗**内容**
    • 斜体*内容*
    • 删除线~~内容~~
    • 引用> 引用内容
    • 代码`代码`
    • 代码块```编程语言↵代码```
    • 链接[链接标题](url)
    • 无序列表- 内容
    • 有序列表1. 内容
    • 缩进内容
    • 图片![alt](url)
    + 添加网盘链接/附件

    Markdown 语法

    • 加粗**内容**
    • 斜体*内容*
    • 删除线~~内容~~
    • 引用> 引用内容
    • 代码`代码`
    • 代码块```编程语言↵代码```
    • 链接[链接标题](url)
    • 无序列表- 内容
    • 有序列表1. 内容
    • 缩进内容
    • 图片![alt](url)
    相关问答
    无更多相似问答 去提问
    举报反馈

    举报类型

    • 内容涉黄/赌/毒
    • 内容侵权/抄袭
    • 政治相关
    • 涉嫌广告
    • 侮辱谩骂
    • 其他

    详细说明

    易百纳技术社区