error when use c standard function memset

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I meet a strange error, I try to use memset(), I see it can be used in 2073x, and when I use in Apps/test/test.c, it works well, but if I increase a folder, use it in Apps/test/mem/mem.c, it has a error: undefined reference to `memset', and I am certain that I both add "string.h", but one is ok, the other is error, so I want to know whether I do something in makefile like increase a path?

Thanks.

0 Likes
6 Replies