This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

OpenMax DL library link error

Note: This was originally posted on 7th October 2009 at http://forums.arm.com

Hello,
I have downloaded Optimize OpenMax DL library for Cortex-A8 from Arm Website and OpenMAX DL 1.0.2 Specification document from [url="http://www.khronos.org/openmax/"]http://www.khronos.org/openmax/[/url].

I was trying to check given example in OpneMax document using RVDS4.0 Evaluation Version on Windows PC.I was building application as linux executable using code sourcery lite tool chain.


I have built OpenMAX library using perl and which generated OMXsp.a under lib folder.

I have set User Include Path "C:\Documents and Settings\admin\Desktop \OX002-BU-0010-r2p0-00rel0\OX002-BU-00010-r2p0-00rel0\api" and "C:
\Documents and Settings\admin\Desktop\OX002-BU-0010-r2p0-00rel0
\OX002-BU-00010-r2p0-00rel0\sp\api" in Project Properties -> C/C++ Build -> Settings -> Tool Settings -> ARM RealView Compiler 4.0 -> Directory in that User Include Path (-I) option.

Properties -> C/C++ Build -> Settings -> Tool Settings -> ARM RealView Compiler 4.0 -> All options:
--cpu=Cortex-A8 -I"C:\Documents and Settings\admin\Desktop \OX002-BU-0010-r2p0-00rel0\OX002-BU-00010-r2p0-00rel0\api" -I"C:
\Documents and Settings\admin\Desktop\OX002-BU-0010-r2p0-00rel0
\OX002-BU-00010-r2p0-00rel0\sp\api"
--arm_linux_config_file=../arm_linux_config.xml

Similarly I have also include library search path and Library into Project Properties -> C/C++ Build -> Settings -> Tool Settings -> ARM RealView Linker 4.0 -> Directory :
Library Search Path(-userlibpath=) add "C:\Documents and Settings\admin\Desktop\OX002-BU-0010-r2p0-00rel0\OX002-BU-00010-r2p0-00rel0\lib"
Libraries add : OMXsp.a

When I have built My Example Project I got following error:

armlink : error L6242:  Cannot link object amrCOMM_MastTable.o as its attributes are incompatible with the image attributes.
Also I have attached console output which details error.
This omxSP_FFTGetBufSize_C_SC16 function is declared in sp/api/omxSP.h

If i build same application as bare-metal then it is building without any linking error.

Thanks,
Rachit shah
Parents
  • Note: This was originally posted on 15th November 2011 at http://forums.arm.com

    Hi,
    I don't know if this thread is still active or not. But I am also trying to use OpenMax DL library provided by the ARM's website https://silver.arm.com/browse/OX002. I was stuck at a more preliminary stage: generating the archive file. I don't have the license for RVDS4, so I used DS-5's command prompt instead. When I am trying to build the library following the instruction of release note" perl build_vc.pl". Instead of the building successfully, I got the message "can't obtain the license of the assembler with version >5.02". The license I have is from the license server of my university. I wonder if there is a way to go around building the archive in DS 5 environment?
    Thanks,
Reply
  • Note: This was originally posted on 15th November 2011 at http://forums.arm.com

    Hi,
    I don't know if this thread is still active or not. But I am also trying to use OpenMax DL library provided by the ARM's website https://silver.arm.com/browse/OX002. I was stuck at a more preliminary stage: generating the archive file. I don't have the license for RVDS4, so I used DS-5's command prompt instead. When I am trying to build the library following the instruction of release note" perl build_vc.pl". Instead of the building successfully, I got the message "can't obtain the license of the assembler with version >5.02". The license I have is from the license server of my university. I wonder if there is a way to go around building the archive in DS 5 environment?
    Thanks,
Children
No data