questions:
1.最好用uclibc編譯,而不用glibc因為glibc比較大
错误信息如下:
#if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__)
#warning Static linking against glibc produces buggy executables
#warning (glibc does not cope well with ld --gc-sections).
#warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400
#warning Note that glibc is unsuitable for static linking anyway.
#warning If you still want to do it, remove -Wl,--gc-sections
#warning from top-level Makefile and remove this warning.
#endif
解决方法:
這個警告的定義在applets/applets.c中,將這段警告註釋掉就能够了。這段的意思就是告訴您最好用uclibc編譯,而不用glibc因為glibc比較大,busybox在寸土寸金的內嵌系統中運用比較多,所以會有這樣的需要。
阅读(1958) | 评论(0) | 转发(0) |