Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

when build my ${TARGET}.elf, an error occured, the parameter is

"D:\ARM\ADSv1_2\bin\armlink -o XXX.elf -ropi -rwpi -ro-base 0 -entry AEEMod_Load D:\BREW201\examples\common\AEEAppGen.o D:\BREW201\examples\common\AEEModGen.o D:\BREW201\examples\common\AEEMediaUtil.o bombkids\bombkids.o D:\ARM\ADSv1_2\lib\armlib\c_t__un.l -first AEEMod_Load"

the error message is :

Error: L6265E: Non-RWPI Section libspace.o(.bss) cannot be assigned to PI Exec region ER_ZI.
Error: L6248E: libspace.o(.text) in PI region 'ER_RO' cannot have address type relocation to __libspace_start in PI region 'ER_ZI'.
Finished: 0 information, 0 warning and 2 error messages.

i tried several times but all failed, i don't know what's happened.
Can someone give me a help?
thanx a lot!!!!!!!!!!

Problem lies in your code.
1. Make sure you don't have global or static data.
2. If you are using floating point numbers then use floating point helper functions to manipulate them.
3. If you have string arrays, then declare second dimension of the array.
4. If you are using C++ then make sure you have overloaded new/delete
ruben

Problem lies in your code.
1. Make sure you don't have global or static data.
2. If you are using floating point numbers then use floating point helper functions to manipulate them.
3. If you have string arrays, then declare second dimension of the array.
4. If you are using C++ then make sure you have overloaded new/delete
ruben

thanx, ruben.
i find that it's that i used a float division in my code. now it's ok
thanks for your help!

thanx, ruben.
i find that it's that i used a float division in my code. now it's ok
thanks for your help!