Modifying the IPNC demo

Modifying the IPNC demo

  • Yeah I would like to compile the IPNC myself but what compiler should I use?

    Looks like when I'm typing this in Ubuntu:

    make ARCH=arm davinci_dm355_ipnc_defconfig
    make uImage

    I'm getting the following errors:

    include/linux/i2c.h:59: error: array type has incomplete element type
    include/linux/i2c.h:198: error: array type has incomplete element type

    Thx,

    Mike

  • I'm guessing you're using version 5 of the MontaVista compiler. It will work, but it requires that a few small changes be made to the code to get it to work. For the errors your listed, the problem is that some function parameters are specified as arrays, such as int variable[]. I fixed this by simply changing them to pointers, such as int* variable. I'm not sure if this is technically the best way to fix this issue, but it works.

  • Hello, I am having the same error, any progress on getting the IPNC demo working for MontaVista 5.0?

    Many thanks!

  • Magda, I stopped working on this long ago. In my project we just ended up using the older version of MontaVista (4.0.1 I think). Although we could get the kernel to compile and run with 5.0, we were unable to get the DVSDK working. If you list any specifics about the problems you're having I might be able to help, but no promises.

  • Thank you very much,

    I gave out using MV5 for compiling the ipnc demo. Now I am using MV4 and it compiles correctly!

     

  • having the same issue with the 368.

  • Same here! Any ideas?