Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
OpenMax DL library link error
Locked
Locked
Replies
2 replies
Subscribers
119 subscribers
Views
2852 views
Users
0 members are here
Options
Share
More actions
Related
How was your experience today?
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
Rachit Shah
over 12 years ago
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
0
Quote