Ansujit Panda schrieb: > Hi, > > I am trying to build a busybox for my ARM NK9315 board.I ve mention the > method i used below > > > 1.I have downloaded the busybox 1.11.1 and extract and entered into that > busybox-1.11.1 directory. > 2.Then I run make menuconfig inside that directory. > 3.I entered to the Busybox Setting---> > 4.Inside Busybox Setting there is an option "Build Option--->",again I enter > here > 5.Inside Build Option there is another option as "()Cross Compiler prefix" > 6.I selected that option and I enter the cross compiler as "arm-linux-" > 7.Then exit from menuconfig by saving the configuration and ran "make" > But is is giving error as below > > > [EMAIL PROTECTED] busybox-1.11.1]# make > SPLIT include/autoconf.h -> include/config/* > GEN include/bbconfigopts.h > HOSTCC applets/usage > GEN include/usage_compressed.h > HOSTCC applets/applet_tables > GEN include/applet_tables.h > CC applets/applets.o > arm-linux-gcc: unrecognized option `-static-libgcc' > In file included from include/libbb.h:655, > from include/busybox.h:10, > from applets/applets.c:11: > include/xatonum.h:84: warning: `ULLONG_MAX' is not defined > include/xatonum.h:92: warning: `ULLONG_MAX' is not defined > include/xatonum.h:128: warning: `ULLONG_MAX' is not defined > include/xatonum.h:140: warning: `ULLONG_MAX' is not defined > In file included from include/busybox.h:10, > from applets/applets.c:11: > include/libbb.h:1310: field `masks' has incomplete type > make[1]: *** [applets/applets.o] Error 1 > make: *** [applets] Error 2 > > 8.After that I tried another thing in Crooss compiler Prefix.I provided the > path of the cross compiler ,means check the below line > In Cross Compiler prefix option I gave > "(/usr/local/arm/2.95.3/bin/arm-linux-)Cross > Compiler Prefix" > > > But still I am getting the same error. > > > > Please help me to make a busybox for ARM NK9315. > I am waiting for your reply > >
hello Ansujit, nice to have you here. You made nothing wrong with busybox this line here "arm-linux-gcc: unrecognized option `-static-libgcc'" indicates that gcc has been found. please remove the "-static-libgcc" to remove the error. What is worry me is this line: /usr/local/arm/2.95.3/bin indicating that you are using gcc (2.95) (current version is gcc (4.1) ) this will clearly cause problems since BB normally need atleast gcc 3. ULLONG_MAX should be defined with limits.h. You need to include that before. re, wh _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
