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.

How to build custom application using OMAPL138 SDK file system libraries

Other Parts Discussed in Thread: OMAPL138

I have got Linux SDK v5.02 for omap138 evm.

I want to build my own application that needs to be linked with the library (for example, libxml2) available in the prebuilt file system.

i do not find any header files  in the file system. Can someone tell me how to get the header files for building my application? Should i set up an Arago build environment?

Basically, i want to build the application outside the Arago as it is small and do not want to rebuild the entire file system.

Thanks in advance.

Regards

Sinoj

  • Hi Sinoj,

    The linux-devkit directory should contain a number of linux libraries and header files that you can use for your development. I'm not sure about the OMAPL138 SDK that you have but you should find cross-compiled libraries on linux-devkit/arm-none-linux-gnueabi/usr/include and linux-devkit/arm-none-linux-gnueabi/usr/lib or similar.

  • Siddharth,

    Thanks for the information.

    I could find required header files on the linux-devkit/arm-none-linux-gnueabi/usr/include. However, libraries are not present on the linux-devkit/arm-none-linux-gnueabi/usr/lib. So i extracted the file sytem tarball and linked my application with the .so files in usr/lib assuming that the header files on the linux-devkit would match with the libraries on the file system.

    Regards

    Sinoj

     

  • Hi,

    The libraries on the filesystem will match the linux devkit. BTW, I tried a find on the linux-devkit and I found -

    arm-none-linux-gnueabi/usr/include/libxml2
    arm-none-linux-gnueabi/usr/lib/libxml2.la
    arm-none-linux-gnueabi/usr/lib/libxml2.so.2
    arm-none-linux-gnueabi/usr/lib/libxml2.so
    arm-none-linux-gnueabi/usr/lib/libxml2.so.2.7.8

  • Siddharth,

    Thank you very much for the help and information.

    So i would reinstall the SDK and use it.

    Regards,

    Sinoj