VEYE IMAGING Forum
    • Categories
    • Tags
    • Recent
    • Popular
    • Users
    • WIKI
    • veye.cc
    • Register
    • Login

    编译veye_mvcam.ko报错

    Scheduled Pinned Locked Moved VEYE MIPI camera
    4 Posts 2 Posters 1.5k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      lin
      last edited by

      d9184aae-817e-4af4-929d-71909935341c-image.png
      请问这个是什么问题呀?

      veye_xummV 1 Reply Last reply Reply Quote 0
      • veye_xummV Offline
        veye_xumm @lin
        last edited by

        @lin 可能是内核版本不太一致吧。

        Questions will be answered as soon as possible, please be patient.
        如果你使用中文,请直接用中文提问。
        May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

        L 1 Reply Last reply Reply Quote 0
        • L Offline
          lin @veye_xumm
          last edited by

          @veye_xumm 能分析一下这是为什么吗?我指定了交叉编译工具链后,报这些错误
          make -C /home/forlinx/3588/OK3588_Linux_fs/kernel M=/home/forlinx/test/camera ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- modules
          make[1]: Entering directory '/home/forlinx/3588/OK3588_Linux_fs/kernel'
          CC [M] /home/forlinx/test/camera/veye_mvcam.o
          /home/forlinx/test/camera/veye_mvcam.c: In function ‘mvcam_ioctl’:
          /home/forlinx/test/camera/veye_mvcam.c:859:10: error: ‘RKMODULE_GET_CSI_DSI_INFO’ undeclared (first use in this function); did you mean ‘RKMODULE_GET_CHANNEL_INFO’?
          859 | case RKMODULE_GET_CSI_DSI_INFO:
          | ^~~~~~~~~~~~~~~~~~~~~~~~~
          | RKMODULE_GET_CHANNEL_INFO
          /home/forlinx/test/camera/veye_mvcam.c:859:10: note: each undeclared identifier is reported only once for each function it appears in
          /home/forlinx/test/camera/veye_mvcam.c:860:17: error: ‘RKMODULE_CSI_INPUT’ undeclared (first use in this function)
          860 | *(int *)arg = RKMODULE_CSI_INPUT;
          | ^~~~~~~~~~~~~~~~~~
          /home/forlinx/test/camera/veye_mvcam.c: In function ‘mvcam_compat_ioctl32’:
          /home/forlinx/test/camera/veye_mvcam.c:918:10: error: ‘RKMODULE_GET_CSI_DSI_INFO’ undeclared (first use in this function); did you mean ‘RKMODULE_GET_CHANNEL_INFO’?
          918 | case RKMODULE_GET_CSI_DSI_INFO:
          | ^~~~~~~~~~~~~~~~~~~~~~~~~
          | RKMODULE_GET_CHANNEL_INFO
          /home/forlinx/test/camera/veye_mvcam.c:919:17: error: ‘RKMODULE_CSI_INPUT’ undeclared (first use in this function)
          919 | *(int *)arg = RKMODULE_CSI_INPUT;
          | ^~~~~~~~~~~~~~~~~~
          make[2]: *** [scripts/Makefile.build:273: /home/forlinx/test/camera/veye_mvcam.o] Error 1
          make[1]: *** [Makefile:1915: /home/forlinx/test/camera] Error 2
          make[1]: Leaving directory '/home/forlinx/3588/OK3588_Linux_fs/kernel'
          make: *** [Makefile:10: all] Error 2

          veye_xummV 1 Reply Last reply Reply Quote 0
          • veye_xummV Offline
            veye_xumm @lin
            last edited by

            @lin said in 编译veye_mvcam.ko报错:

            RKMODULE_CSI_INPUT

            forlinx的kernel源码不支持RKMODULE_GET_CSI_DSI_INFO这个宏定义,可以注掉代码。

            Questions will be answered as soon as possible, please be patient.
            如果你使用中文,请直接用中文提问。
            May the force be with YOU. (This is the translation of the mysterious Chinese symbol above.)

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post