我正在尝试在 Mac OS X Lion 上构建 CM9,我在设置环境时遵循了 android 开发人员网站的所有说明,然后通过 rsync 将 CM9 源代码从 Linux 笔记本移动到我的 MacBook,当我重建它时($ brunch crespo ),我收到此错误:
In file included from external/strace/syscall.c:121:
external/strace/linux/syscallent.h:359:3: error: #error fix me
In file included from external/strace/syscall.c:121:
external/strace/linux/syscallent.h:370: error: 'SYS_sub_send' undeclared here (not in a function)
external/strace/linux/syscallent.h:371: error: 'SYS_sub_recv' undeclared here (not in a function)
external/strace/linux/syscallent.h:372: error: 'SYS_sub_sendto' undeclared here (not in a function)
external/strace/linux/syscallent.h:373: error: 'SYS_sub_recvfrom' undeclared here (not in a function)
external/strace/linux/syscallent.h:381:3: error: #error fix me
syscallent.h 中的以下行:
#if SYS_socket_subcall != 300
#error fix me
#endif
{ 8, 0, printargs, "socket_subcall"}, /* 300 */
{ 3, TN, sys_socket, "socket" }, /* 301 */
{ 3, TN, sys_bind, "bind" }, /* 302 */
{ 3, TN, sys_connect, "connect" }, /* 303 */
{ 2, TN, sys_listen, "listen" }, /* 304 */
{ 3, TN, sys_accept, "accept" }, /* 305 */
{ 3, TN, sys_getsockname, "getsockname" }, /* 306 */
{ 3, TN, sys_getpeername, "getpeername" }, /* 307 */
{ 4, TN, sys_socketpair, "socketpair" }, /* 308 */
/* Line 370 */{ 4, TN, sys_send, "send", SYS_sub_send }, /* 309 */
Linux 上没有问题,为什么我在 Mac OS 上有这些问题?