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.
`__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: https://community.nxp.com/message/630740
Regards,
LPCXpresso Support
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