If anybody can help me with this I would really appreciate it because it\'s driving me insane.
When I compile an OpenWRT image from scratch including my packages, usuall
OpenWRT doesn't support libc, it is to large to fit. It instead uses uClibc and EGLIBC because they are smaller. I'm not sure how you even get it to compile the first time, but I'll guess it didn't work right.
You need to change your Makefile to have it reference one of those other libc's, but you could also try it without that dependency entirely and it may also work.
Check out the "feeds/packages" directory and research for other Makefiles using libc in there, such as "feeds/packages/utils/owfs/Makefile" which has "DEPENDS+= +USE_UCLIBC:librpc".
Good luck.