Bill,
OK, that's helpful; because I didn't have to apply the patch until LEDE 17 (after
they switched from uLIBC to musl). I also had to use the following:
mips-openwrt-linux-musl-g++ ampr-ripd.c -v -fpermissive -Wwrite-strings
(Note that I had to use the C++ compiler, not C)
I'll wait a while longer, until others have had an opportunity to upgrade their
instance to 17, 18 etc.
- KB3VWG