GCC for Renesas RL78: how to fix ‘undefined reference to memcpy’
GCC for Renesas RL78: how to fix ‘undefined reference to memcpy’
i have the following build errors: ‘undefined reference to memcpy’, ‘undefined reference to malloc; and ‘undefined reference to free’.
How do I resolve these?
Hello,
Please make sure that libgen is using the stdlib.h and string.h headers. Go to Project Properties → C/C++ Build → Settings → Tool Settings → Library Generator → Header files and check both stdlib.h and string.h headers.
Please let us know if we can be of further assistance.
–
Thank you,
The GNU Tools Team
×
Hello,
May we please know what version of the toolchain you are using?
—
Thank you,
The GNU Tools Team
GCC for Renesas RL78 v4.9.2.201703