I looked into this more, and it seems v2.4.x and older called strerror inside cdk_strerror. However, the cdk_strerror function is itself unused, so you can safely remove its definition from lib/opencdk/main.c. I have made this change on the v2.4.x branch as well, in case we ever make another release for that branch.
/Simon