資源描述:
《BUSYBOX編譯錯誤提示及解決辦法集綿.doc》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫。
1、BUSYBOX編譯錯誤提示及解決辦法集綿1、提示如下:#warningStaticlinkingagainstglibcproducesbuggyexecutables#warning(glibcdoesnotcopewellwithld--gc-sections).#warningSeesources.redhat.com/bugzilla/show_bug.cgi?id=3400#warningNotethatglibcisunsuitableforstaticlinkinganyway.#warningIfyoustillwanttodoit,remove-Wl,--gc-s
2、ections#warningfromscripts/trylinkandremovethiswarning.解決方法:applets/applets.c:15-21行2、CCmiscutils/taskset.o miscutils/taskset.c:17:error:parseerrorbefore'*'token miscutils/taskset.c:18:warning:functiondeclarationisn'taprototype miscutils/taskset.c:Infunction`__from_cpuset': miscutils/tasks
3、et.c:22:error:`CPU_SETSIZE'undeclared(firstuseinthisfunction) miscutils/taskset.c:22:error:(Eachundeclaredidentifierisreportedonlyonce miscutils/taskset.c:22:error:foreachfunctionitappearsin.) miscutils/taskset.c:26:warning:implicitdeclarationoffunction`CPU_ISSET' miscutils/taskset.c:26:er
4、ror:`mask'undeclared(firstuseinthisfunction) miscutils/taskset.c:Infunction`taskset_main': miscutils/taskset.c:47:error:`cpu_set_t'undeclared(firstuseinthisfunction) miscutils/taskset.c:47:error:parseerrorbefore"mask" miscutils/taskset.c:68:warning:implicitdeclarationoffunction`CPU_ZERO'
5、miscutils/taskset.c:68:error:`new_mask'undeclared(firstuseinthisfunction) miscutils/taskset.c:69:error:`CPU_SETSIZE'undeclared(firstuseinthisfunction) miscutils/taskset.c:71:warning:implicitdeclarationoffunction`CPU_SET' miscutils/taskset.c:78:error:`mask'undeclared(firstuseinthisfunction)
6、 make[1]:***[miscutils/taskset.o]Error1 make:***[miscutils]Error2 makemenuconfig???去掉?MiscellaneousUtilities-->taskset3、libbb/time.c:20:error:"CLOCK_MONOTONIC"undeclared(firstuseinthisfunction)makemenuconfig?去掉BusyboxSettings->BusyboxLibraryTuning->[]Useclock_gettie(CLOCK_MONOTONIC)syscall4、
7、Infileincludedfrom/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/fs.h:12,????????from/usr/local/arm/2.95.3/lib/gcc-lib/arm-linux/2.95.3/../../../../arm-linux/sys-include/linux/capability.h:17,