I am using lpcxpresso 8.2 on Linux and NXP LPC1788 as target.
I am not able to solve linker-problem 'undefined reference to `__ctype_ptr__'', I really don't which library is needed here to solve it and how to tell linker to take it.
Reason of problem here were different settings of used libraries.
On MCU C Compiler 'Library headers' was set to 'Newlib(Auto) but on MCU Linker Library was set 'Redlib (semihost)'.
After changing both to 'Newlib' problem was solved
`__ctype_ptr__' does indeed come from Newlib, and is not part of Redlib.
Anyway, the compiler and linker library settings do indeed need to be kept in step. This will normally be done automatically if you use the "Quick Settings" option on the Quickstart Panel.
For more details see: Switching the selected C library
Retrieving data ...