OpenWRT - package missing dependencies when recompiling

前端 未结 4 1816
名媛妹妹
名媛妹妹 2021-02-15 11:17

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

4条回答
  •  终归单人心
    2021-02-15 11:41

    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.

提交回复
热议问题