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

Problem with GCC and string.h and stdlib

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

Hi everyone,

i have following trouble with keil arm gnu compiler. i have recently moved to gnu and now i am having hard time to set it up.

description of problem: i am using real view arm compiler uvison3.5. i am using gnu chain tool set for aduc7021 (analog device) arm. when i tried to compile my code it gives me following errors:

"error: undefined reference to 'memcpy'
error: undefined reference to '_divsi3'
error: undefined reference to 'strcat'
error: undefined reference to 'memset'""

i tried to include string.h and stdlib.h in my project but it didn't help.


so if anybody can explain what is going on then it would be a great help.


thanks
nehal
0