Created attachment 497378 [details, diff] link-grammar-5.3.11-uclibcng.patch In bug #498472, as uclibc lacks fmaxf, a macro was added on a compiler define. The patch was integrated upstream. It was good until upstream decided to create a MAX macro used globally. The uclibc-specific fmaxf macro is now in the way and prevents build on uclibc-ng. The attached patch removed the now obsolete macro and replaces its call with a call to the MAX macro.
This looks to have been fixed by https://github.com/opencog/link-grammar/commit/9d6c2e99daba6f6505faf3d57d13bd22389f6248 which was in link-grammar-5.5.1.