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.

error when building new dmai component within old dvsdk

Hi everybody,

I want to upgrade some of my dvsdk components to newer versions. I work with dvsdk 3.10 which has e.g. DMAI 2.10.00.10. For that component there is a newer version in dvsdk 4.02. I don't want to change to the newest dvsdk but I want to use the DMAI 2.20.00.15 from the newest dvsdk. So I simply copied the directory of the new DMAI to the directory of the old dvsdk and then change the DMAI entry in the Rules.make to the new DMAI folder. Unfortunately I got a compile error when I wanted to build the DMAI against the old dvsdk. When compiling linux/dm365/Capture.c I get 3 errors:

line 70 -> 'V4L2_STD_720P_30' undeclared here (not in a function)

line 70 -> 'V4L2_STD_1080I_30' undeclared here (not in a function)

line 71 -> 'V4L2_STD_1080P_30' undeclared here (not in a function)

I have rebuild my linux kernel to generate the object files for v4l2 but after rebuilding dmai the same error occurs. I looked at the release notes for the new dmai. There is the information that this version of dmai was validated against the components of dvsdk 4.00. So do I have to upgrade the other components too before I can upgrade dmai? Or is there a simpler solution? Thank you for your answers!

Regards,

Matthias

  • Hi,

    the problem is solved. I had to switch to the kernel sources used in the DVSDK 4.02 (kernel 2.6.32.17-davinci1). Then I rebuild the DMAI, also switched to the filesystem used in DVSDK 4.02 and it works now.

    Regards,

    Matthias