Hi all,
Thanks for support.
I am cross compiling busybox to port android platform. I have configured
arm-linux-androideabi tool chain in build options of busybox. I am getting the
below errors in cross busybox cross compilation.
include/platform.h:149:23: error: byteswap.h: No such file or directory
include/platform.h:150:21: error: endian.h: No such file or directory
include/platform.h:175:3: error: #error "Can't determine endianness"
include/platform.h:183:5: warning: "BB_BIG_ENDIAN" is not defined
include/platform.h:206:20: error: stdint.h: No such file or directory
In file included from include/libbb.h:13,
from include/busybox.h:8,
from applets/applets.c:9:
include/platform.h:208: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'bb__aliased_uint16_t'
include/platform.h:209: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'bb__aliased_uint32_t'
include/platform.h:283:20: error: unistd.h: No such file or directory
In file included from include/busybox.h:8,
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:30:19: error: stdio.h: No such file or directory
include/libbb.h:31:20: error: stdlib.h: No such file or directory
include/libbb.h:34:20: error: string.h: No such file or directory
include/libbb.h:35:22: error: sys/poll.h: No such file or directory
include/libbb.h:36:23: error: sys/ioctl.h: No such file or directory
include/libbb.h:37:22: error: sys/mman.h: No such file or directory
include/libbb.h:38:24: error: sys/socket.h: No such file or directory
include/libbb.h:39:22: error: sys/stat.h: No such file or directory
include/libbb.h:40:22: error: sys/time.h: No such file or directory
include/libbb.h:41:23: error: sys/types.h: No such file or directory
include/libbb.h:43:28: error: sys/sysmacros.h: No such file or directory
include/libbb.h:45:22: error: sys/wait.h: No such file or directory
include/libbb.h:46:21: error: termios.h: No such file or directory
include/libbb.h:47:18: error: time.h: No such file or directory
include/libbb.h:48:23: error: sys/param.h: No such file or directory
include/libbb.h:50:21: error: mntent.h: No such file or directory
include/libbb.h:53:25: error: sys/statfs.h: No such file or directory
include/libbb.h:68:19: error: utmp.h: No such file or directory
include/libbb.h:78:17: error: pwd.h: No such file or directory
include/libbb.h:79:17: error: grp.h: No such file or directory
include/libbb.h:107:24: error: arpa/inet.h: No such file or directory
In file included from include/libbb.h:180,
from include/busybox.h:8,
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:181,
from include/busybox.h:8,
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:8,
from applets/applets.c:9:
include/libbb.h:301: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'bb_bswap_64'
include/libbb.h:318: error: expected ')' before 'mode'
include/libbb.h:319: warning: 'struct stat' declared inside parameter list
include/libbb.h:319: warning: its scope is only this definition or declaration,
which is probably not what you want
include/libbb.h:352: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'recurse_flags_t'
include/libbb.h:354: warning: 'struct stat' declared inside parameter list
include/libbb.h:355: warning: 'struct stat' declared inside parameter list
include/libbb.h:364: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'bb_copyfd_eof'
include/libbb.h:365: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'bb_copyfd_size'
include/libbb.h:366: error: expected declaration specifiers or '...' before
'off_t'
include/libbb.h:369: error: expected ')' before 'sz'
include/libbb.h:394: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:395: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:422: error: 'SIGHUP' undeclared here (not in a function)
include/libbb.h:423: error: 'SIGINT' undeclared here (not in a function)
include/libbb.h:424: error: 'SIGTERM' undeclared here (not in a function)
include/libbb.h:425: error: 'SIGPIPE' undeclared here (not in a function)
include/libbb.h:426: error: 'SIGQUIT' undeclared here (not in a function)
include/libbb.h:427: error: 'SIGABRT' undeclared here (not in a function)
include/libbb.h:428: error: 'SIGALRM' undeclared here (not in a function)
include/libbb.h:429: error: 'SIGVTALRM' undeclared here (not in a function)
include/libbb.h:430: error: 'SIGXCPU' undeclared here (not in a function)
include/libbb.h:431: error: 'SIGXFSZ' undeclared here (not in a function)
include/libbb.h:432: error: 'SIGUSR1' undeclared here (not in a function)
include/libbb.h:433: error: 'SIGUSR2' undeclared here (not in a function)
include/libbb.h:450: warning: 'struct sigaction' declared inside parameter list
include/libbb.h:458: error: expected ')' before 'gid'
include/libbb.h:459: error: expected ')' before 'uid'
include/libbb.h:466: warning: 'struct stat' declared inside parameter list
include/libbb.h:467: warning: 'struct stat' declared inside parameter list
include/libbb.h:477: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'xlseek'
include/libbb.h:479: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'fdlength'
include/libbb.h:493: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'socktype_t'
include/libbb.h:494: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'family_t'
include/libbb.h:497: error: 'SOCK_STREAM' undeclared here (not in a function)
include/libbb.h:498: error: 'SOCK_DGRAM' undeclared here (not in a function)
include/libbb.h:499: error: 'SOCK_RDM' undeclared here (not in a function)
include/libbb.h:500: error: 'SOCK_SEQPACKET' undeclared here (not in a function)
include/libbb.h:501: error: 'SOCK_RAW' undeclared here (not in a function)
include/libbb.h:504: error: 'AF_UNSPEC' undeclared here (not in a function)
include/libbb.h:505: error: 'AF_INET' undeclared here (not in a function)
include/libbb.h:506: error: 'AF_INET6' undeclared here (not in a function)
include/libbb.h:507: error: 'AF_UNIX' undeclared here (not in a function)
include/libbb.h:520: warning: 'struct tm' declared inside parameter list
include/libbb.h:521: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'validate_tm_time'
include/libbb.h:525: warning: 'struct sockaddr' declared inside parameter list
include/libbb.h:527: warning: 'struct sockaddr' declared inside parameter list
include/libbb.h:528: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'xsendto'
include/libbb.h:544: error: field 'sa' has incomplete type
include/libbb.h:545: error: field 'sin' has incomplete type
include/libbb.h:547: error: field 'sin6' has incomplete type
include/libbb.h:555: error: field 'sa' has incomplete type
include/libbb.h:556: error: field 'sin' has incomplete type
include/libbb.h:558: error: field 'sin6' has incomplete type
include/libbb.h:608: error: expected declaration specifiers or '...' before
'sa_family_t'
include/libbb.h:609: error: expected declaration specifiers or '...' before
'sa_family_t'
include/libbb.h:634: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'send_to_from'
include/libbb.h:638: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'recv_from_to'
include/libbb.h:679: error: expected declaration specifiers or '...' before
'FILE'
include/libbb.h:696: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'safe_read'
include/libbb.h:697: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'nonblock_immune_read'
include/libbb.h:700: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'full_read'
include/libbb.h:703: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'read_close'
include/libbb.h:704: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'open_read_close'
include/libbb.h:728: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'safe_write'
include/libbb.h:731: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'full_write'
include/libbb.h:734: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'full_write1_str'
include/libbb.h:735: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'full_write2_str'
include/libbb.h:742: error: expected ')' before '*' token
include/libbb.h:749: error: expected ')' before '*' token
include/libbb.h:751: error: expected ')' before '*' token
include/libbb.h:753: error: expected ')' before '*' token
include/libbb.h:755: error: expected ')' before '*' token
include/libbb.h:757: error: expected ')' before '*' token
include/libbb.h:759: error: expected ')' before '*' token
include/libbb.h:763: error: expected ')' before '*' token
include/libbb.h:767: error: expected ')' before '*' token
include/libbb.h:768: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:770: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:772: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:773: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:774: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:775: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:776: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:777: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:778: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:779: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:788: error: expected declaration specifiers or '...' before
'nfds_t'
include/libbb.h:788: warning: 'struct pollfd' declared inside parameter list
include/libbb.h:819: error: expected ')' before '*' token
In file included from include/libbb.h:826,
from include/busybox.h:8,
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:8,
from applets/applets.c:9:
include/libbb.h:839: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'xatou16'
include/libbb.h:851: error: expected specifier-qualifier-list before 'uid_t'
include/libbb.h:862: error: expected ')' before 'uid'
include/libbb.h:863: error: expected ')' before 'gid'
include/libbb.h:864: error: expected ')' before 'uid'
include/libbb.h:865: error: expected ')' before 'gid'
include/libbb.h:866: error: expected ')' before 'uid'
include/libbb.h:867: error: expected ')' before 'gid'
include/libbb.h:868: error: expected ')' before 'uid'
include/libbb.h:869: error: expected ')' before 'gid'
include/libbb.h:871: error: expected ')' before 'uid'
include/libbb.h:872: error: expected ')' before 'gid'
include/libbb.h:875: error: 'uid_t' undeclared here (not in a function)
include/libbb.h:883: error: expected ')' before 'pid'
include/libbb.h:884: error: expected ')' before 'pid'
include/libbb.h:922: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'xfork'
include/libbb.h:926: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'spawn'
include/libbb.h:927: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'xspawn'
include/libbb.h:929: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'safe_waitpid'
include/libbb.h:930: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'wait_any_nohang'
include/libbb.h:939: error: expected ')' before 'pid'
include/libbb.h:1006: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'option_mask32'
include/libbb.h:1007: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'getopt32'
include/libbb.h:1051: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'xfunc_error_retval'
include/libbb.h:1052: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'die_jmp'
include/libbb.h:1148: warning: 'struct mntent' declared inside parameter list
include/libbb.h:1152: error: expected ')' before 'speed'
include/libbb.h:1153: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'tty_value_to_baud'
include/libbb.h:1175: error: expected declaration specifiers or '...' before
'mode_t'
include/libbb.h:1197: error: expected specifier-qualifier-list before 'FILE'
include/libbb.h:1204: error: expected declaration specifiers or '...' before
'FILE'
include/libbb.h:1322: warning: 'struct termios' declared inside parameter list
include/libbb.h:1339: warning: 'struct stat' declared inside parameter list
include/libbb.h:1340: warning: 'struct stat' declared inside parameter list
include/libbb.h:1404: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'read_key'
include/libbb.h:1485: error: expected ')' before 'pid'
include/libbb.h:1489: error: expected specifier-qualifier-list before 'DIR'
include/libbb.h:1567: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:1568: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:1581: error: expected ')' before '*' token
include/libbb.h:1584: error: expected specifier-qualifier-list before 'uint8_t'
include/libbb.h:1592: error: expected specifier-qualifier-list before 'uint64_t'
include/libbb.h:1609: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:1610: error: expected '=', ',', ';', 'asm' or '__attribute__'
before '*' token
include/libbb.h:1611: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'crc32_block_endian1'
include/libbb.h:1612: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'crc32_block_endian0'
In file included from applets/applets.c:9:
include/busybox.h:18: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'applet_nameofs'
include/busybox.h:19: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'applet_install_loc'
make[1]: *** [applets/applets.o] Error 1
make: *** [applets_dir] Error 2
Can anybody please suggest on this or send the busybox source ported to android
platform.
Thanks in advance.
Regards,
Rajender.G
Larsen & Toubro Limited
www.larsentoubro.com
This Email may contain confidential or privileged information for the intended
recipient (s) If you are not the intended recipient, please do not use or
disseminate the information, notify the sender and delete it from your system.
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list