We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Note: This was originally posted on 19th March 2007 at http://forums.arm.com
I use RVCT2.2 armcc to complier files and get a library.Then to use gcc link the library, but get Error: undefined reference to '__aeabi_uread4' undefined reference to '__aeabi_uwrite4'
I know that the armcc and gcc are different to link the fwrite() or fread() functions, RVCT 2.2 armcc use an optimized one, i,e. __aeabi_
But , how to solve such problem? Have any simple armcc compiler options to avoid such questions?
Any suggestion approciated.
It is not the headers path problem.The reason is that the gcc and armcc has different functions name for the stdio function libarry. RVCT 2.2 armcc use an optimized one, i,e. with a prefix. __aeabi_
I had the same problem and i tried the code sourcery's gcc. All _aeabi errors are cleared. but i got another error:"conflicting defenitions of wchar_t " but I'm not using any wide chars in my code. Is there any solution for that error? Is it a compiler issue?
I don't think it is a compiler issue.
It could be somewhere linker is conflicting with the multiple definitions. Just check the inbuilt libraries included and any definitions in multiple files.