stdio.h and friends are not part of busybox. They are part of your system. Obviously you missed some important step in the setup. please try to compile 'hello world' first.
re, wh Am 20.07.2011 13:22, schrieb vaasuch kernel: > Hi, > $ make ARCH=arm defconfig > $ make ARCH=arm menuconfig > $ make ARCH=arm > > then I get this error, please help > > > /usr/lib/gcc/arm-linux-gnueabi/4.3.2/include-fixed/limits.h:122:61: > error: limits.h: No such file or directory > In file included from include/libbb.h:13, > from include/busybox.h:10, > from applets/applets.c:9: > include/platform.h:164:23: error: byteswap.h: No such file or directory > include/platform.h:165:21: error: endian.h: No such file or directory > include/platform.h:190:3: error: #error "Can't determine endianness" > include/platform.h:198:5: warning: "BB_BIG_ENDIAN" is not defined > In file included from include/busybox.h:10, > from applets/applets.c:9: > include/libbb.h:15:19: error: ctype.h: No such file or directory > include/libbb.h:16:20: error: dirent.h: No such file or directory > include/libbb.h:17:19: error: errno.h: No such file or directory > include/libbb.h:18:19: error: fcntl.h: No such file or directory > include/libbb.h:19:22: error: inttypes.h: No such file or directory > include/libbb.h:20:19: error: netdb.h: No such file or directory > include/libbb.h:21:20: error: setjmp.h: No such file or directory > include/libbb.h:22:20: error: signal.h: No such file or directory > include/libbb.h:23:20: error: stdint.h: No such file or directory > include/libbb.h:24:19: error: stdio.h: No such file or directory > include/libbb.h:25:20: error: stdlib.h: No such file or directory > include/libbb.h:28:20: error: string.h: No such file or directory > include/libbb.h:29:22: error: sys/poll.h: No such file or directory > include/libbb.h:30:23: error: sys/ioctl.h: No such file or directory > include/libbb.h:31:22: error: sys/mman.h: No such file or directory > include/libbb.h:32:24: error: sys/socket.h: No such file or directory > include/libbb.h:33:22: error: sys/stat.h: No such file or directory > include/libbb.h:34:22: error: sys/time.h: No such file or directory > include/libbb.h:35:23: error: sys/types.h: No such file or directory > include/libbb.h:36:22: error: sys/wait.h: No such file or directory > include/libbb.h:37:21: error: termios.h: No such file or directory > include/libbb.h:38:18: error: time.h: No such file or directory > include/libbb.h:39:20: error: unistd.h: No such file or directory > include/libbb.h:40:23: error: sys/param.h: No such file or directory > include/libbb.h:42:21: error: mntent.h: No such file or directory > include/libbb.h:45:25: error: sys/statfs.h: No such file or directory > include/libbb.h:61:17: error: pwd.h: No such file or directory > include/libbb.h:62:17: error: grp.h: No such file or directory > include/libbb.h:77:24: error: arpa/inet.h: No such file or directory > In file included from include/libbb.h:136, > from include/busybox.h:10, > from applets/applets.c:9: > include/pwd_.h:70: error: expected ‘)’ before ‘__uid’ > include/pwd_.h:87: error: expected ‘)’ before ‘__uid’ > include/pwd_.h:99: error: expected ‘)’ before ‘*’ token > In file included from include/libbb.h:137, > from include/busybox.h:10, > from applets/applets.c:9: > include/grp_.h:71: error: expected ‘)’ before ‘__gid’ > include/grp_.h:89: error: expected ‘)’ before ‘__gid’ > include/grp_.h:101: error: expected ‘)’ before ‘*’ token > include/grp_.h:109: error: expected declaration specifiers or ‘...’ > before ‘gid_t’ > include/grp_.h:110: error: expected declaration specifiers or ‘...’ > before ‘gid_t’ > include/grp_.h:115: error: expected declaration specifiers or ‘...’ > before ‘gid_t’ > In file included from include/busybox.h:10, > from applets/applets.c:9: > include/libbb.h:257: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘bb_bswap_64’ > include/libbb.h:274: error: expected ‘)’ before ‘mode’ > include/libbb.h:275: warning: ‘struct stat’ declared inside parameter list > include/libbb.h:275: warning: its scope is only this definition or > declaration, which is probably not what you want > include/libbb.h:308: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘recurse_flags_t’ > include/libbb.h:310: warning: ‘struct stat’ declared inside parameter list > include/libbb.h:311: warning: ‘struct stat’ declared inside parameter list > include/libbb.h:320: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘bb_copyfd_eof’ > include/libbb.h:321: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘bb_copyfd_size’ > include/libbb.h:322: error: expected declaration specifiers or ‘...’ > before ‘off_t’ > include/libbb.h:325: error: expected ‘)’ before ‘sz’ > include/libbb.h:345: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:346: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:373: error: ‘SIGHUP’ undeclared here (not in a function) > include/libbb.h:374: error: ‘SIGINT’ undeclared here (not in a function) > include/libbb.h:375: error: ‘SIGTERM’ undeclared here (not in a function) > include/libbb.h:376: error: ‘SIGPIPE’ undeclared here (not in a function) > include/libbb.h:377: error: ‘SIGQUIT’ undeclared here (not in a function) > include/libbb.h:378: error: ‘SIGABRT’ undeclared here (not in a function) > include/libbb.h:379: error: ‘SIGALRM’ undeclared here (not in a function) > include/libbb.h:380: error: ‘SIGVTALRM’ undeclared here (not in a function) > include/libbb.h:381: error: ‘SIGXCPU’ undeclared here (not in a function) > include/libbb.h:382: error: ‘SIGXFSZ’ undeclared here (not in a function) > include/libbb.h:383: error: ‘SIGUSR1’ undeclared here (not in a function) > include/libbb.h:384: error: ‘SIGUSR2’ undeclared here (not in a function) > include/libbb.h:401: warning: ‘struct sigaction’ declared inside parameter > list > include/libbb.h:409: error: expected ‘)’ before ‘gid’ > include/libbb.h:410: error: expected ‘)’ before ‘uid’ > include/libbb.h:417: warning: ‘struct stat’ declared inside parameter list > include/libbb.h:418: warning: ‘struct stat’ declared inside parameter list > include/libbb.h:428: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘xlseek’ > include/libbb.h:430: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘fdlength’ > include/libbb.h:444: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘socktype_t’ > include/libbb.h:445: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘family_t’ > include/libbb.h:448: error: ‘SOCK_STREAM’ undeclared here (not in a function) > include/libbb.h:449: error: ‘SOCK_DGRAM’ undeclared here (not in a function) > include/libbb.h:450: error: ‘SOCK_RDM’ undeclared here (not in a function) > include/libbb.h:451: error: ‘SOCK_SEQPACKET’ undeclared here (not in a > function) > include/libbb.h:452: error: ‘SOCK_RAW’ undeclared here (not in a function) > include/libbb.h:455: error: ‘AF_UNSPEC’ undeclared here (not in a function) > include/libbb.h:456: error: ‘AF_INET’ undeclared here (not in a function) > include/libbb.h:457: error: ‘AF_INET6’ undeclared here (not in a function) > include/libbb.h:458: error: ‘AF_UNIX’ undeclared here (not in a function) > include/libbb.h:471: warning: ‘struct tm’ declared inside parameter list > include/libbb.h:472: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘validate_tm_time’ > include/libbb.h:476: warning: ‘struct sockaddr’ declared inside parameter list > include/libbb.h:478: warning: ‘struct sockaddr’ declared inside parameter list > include/libbb.h:479: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘xsendto’ > include/libbb.h:495: error: field ‘sa’ has incomplete type > include/libbb.h:496: error: field ‘sin’ has incomplete type > include/libbb.h:498: error: field ‘sin6’ has incomplete type > include/libbb.h:506: error: field ‘sa’ has incomplete type > include/libbb.h:507: error: field ‘sin’ has incomplete type > include/libbb.h:509: error: field ‘sin6’ has incomplete type > include/libbb.h:559: error: expected declaration specifiers or ‘...’ > before ‘sa_family_t’ > include/libbb.h:560: error: expected declaration specifiers or ‘...’ > before ‘sa_family_t’ > include/libbb.h:585: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘send_to_from’ > include/libbb.h:589: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘recv_from_to’ > include/libbb.h:630: error: expected declaration specifiers or ‘...’ > before ‘FILE’ > include/libbb.h:647: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘safe_read’ > include/libbb.h:648: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘nonblock_safe_read’ > include/libbb.h:651: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘full_read’ > include/libbb.h:654: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘read_close’ > include/libbb.h:655: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘open_read_close’ > include/libbb.h:679: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘safe_write’ > include/libbb.h:682: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘full_write’ > include/libbb.h:685: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘full_write1_str’ > include/libbb.h:686: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘full_write2_str’ > include/libbb.h:693: error: expected ‘)’ before ‘*’ token > include/libbb.h:695: error: expected ‘)’ before ‘*’ token > include/libbb.h:696: error: expected ‘)’ before ‘*’ token > include/libbb.h:698: error: expected ‘)’ before ‘*’ token > include/libbb.h:700: error: expected ‘)’ before ‘*’ token > include/libbb.h:702: error: expected ‘)’ before ‘*’ token > include/libbb.h:704: error: expected ‘)’ before ‘*’ token > include/libbb.h:706: error: expected ‘)’ before ‘*’ token > include/libbb.h:710: error: expected ‘)’ before ‘*’ token > include/libbb.h:714: error: expected ‘)’ before ‘*’ token > include/libbb.h:715: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:717: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:719: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:720: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:721: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:722: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:723: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:724: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:725: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:726: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:735: error: expected declaration specifiers or ‘...’ > before ‘nfds_t’ > include/libbb.h:735: warning: ‘struct pollfd’ declared inside parameter list > include/libbb.h:766: error: expected ‘)’ before ‘*’ token > In file included from include/libbb.h:773, > from include/busybox.h:10, > from applets/applets.c:9: > include/xatonum.h:104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘BUG_xatou32_unimplemented’ > include/xatonum.h:105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘xatou32’ > include/xatonum.h:161: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘BUG_bb_strtou32_unimplemented’ > include/xatonum.h:163: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘bb_strtou32’ > In file included from include/busybox.h:10, > from applets/applets.c:9: > include/libbb.h:786: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘xatou16’ > include/libbb.h:798: error: expected specifier-qualifier-list before ‘uid_t’ > include/libbb.h:809: error: expected ‘)’ before ‘uid’ > include/libbb.h:810: error: expected ‘)’ before ‘gid’ > include/libbb.h:811: error: expected ‘)’ before ‘uid’ > include/libbb.h:812: error: expected ‘)’ before ‘gid’ > include/libbb.h:813: error: expected ‘)’ before ‘uid’ > include/libbb.h:814: error: expected ‘)’ before ‘gid’ > include/libbb.h:818: error: expected ‘)’ before ‘uid’ > include/libbb.h:819: error: expected ‘)’ before ‘gid’ > include/libbb.h:830: error: expected ‘)’ before ‘pid’ > include/libbb.h:831: error: expected ‘)’ before ‘pid’ > include/libbb.h:866: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘xfork’ > include/libbb.h:870: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘spawn’ > include/libbb.h:871: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘xspawn’ > include/libbb.h:873: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘safe_waitpid’ > include/libbb.h:874: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘wait_any_nohang’ > include/libbb.h:883: error: expected ‘)’ before ‘pid’ > include/libbb.h:887: error: expected specifier-qualifier-list before ‘jmp_buf’ > include/libbb.h:961: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘option_mask32’ > include/libbb.h:962: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘getopt32’ > include/libbb.h:1002: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘xfunc_error_retval’ > include/libbb.h:1003: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘die_jmp’ > include/libbb.h:1099: warning: ‘struct mntent’ declared inside parameter list > include/libbb.h:1103: error: expected ‘)’ before ‘speed’ > include/libbb.h:1104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘tty_value_to_baud’ > include/libbb.h:1126: error: expected declaration specifiers or ‘...’ > before ‘mode_t’ > include/libbb.h:1148: error: expected specifier-qualifier-list before ‘FILE’ > include/libbb.h:1154: error: expected declaration specifiers or ‘...’ > before ‘FILE’ > include/libbb.h:1256: warning: ‘struct termios’ declared inside parameter list > include/libbb.h:1273: warning: ‘struct stat’ declared inside parameter list > include/libbb.h:1274: warning: ‘struct stat’ declared inside parameter list > include/libbb.h:1338: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘read_key’ > include/libbb.h:1416: error: expected ‘)’ before ‘pid’ > include/libbb.h:1420: error: expected specifier-qualifier-list before ‘DIR’ > include/libbb.h:1504: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:1505: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:1518: error: expected ‘)’ before ‘*’ token > include/libbb.h:1521: error: expected specifier-qualifier-list before > ‘uint8_t’ > include/libbb.h:1529: error: expected specifier-qualifier-list before > ‘uint64_t’ > include/libbb.h:1546: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:1547: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘*’ token > include/libbb.h:1548: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘crc32_block_endian1’ > include/libbb.h:1549: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘crc32_block_endian0’ > include/libbb.h:1560: error: expected specifier-qualifier-list before ‘off_t’ > include/libbb.h:1568: error: expected declaration specifiers or ‘...’ > before ‘off_t’ > include/libbb.h:1568: error: expected declaration specifiers or ‘...’ > before ‘off_t’ > include/libbb.h:1569: error: expected declaration specifiers or ‘...’ > before ‘off_t’ > In file included from applets/applets.c:9: > include/busybox.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘applet_nameofs’ > include/busybox.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or > ‘__attribute__’ before ‘applet_install_loc’ > make[1]: *** [applets/applets.o] Error 1 > make: *** [applets_dir] Error 2 > > Thanks > Srinivas > _______________________________________________ > busybox mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/busybox > > _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
