darwin-on-arm / xnu

Porting the Darwin kernel to the AArch64/ARMv7/ARMv6-A architectures.
Other
582 stars 146 forks source link

xnu can't find c library #17

Closed Otherworldman closed 10 years ago

Otherworldman commented 10 years ago

This is strange. I can compile the xnu from open source apple site. But I can't compile the xnu from winocm.

I am compiling winocm-xnu in x86_64, with Xcode 5.0.2, Mavericks, make TARGET_CONFIGS="debug arm OMAP3530"

In file included from /Developer/xnu/xnu/xnu//SETUP//config/externs.c:26: /Developer/xnu/xnu/xnu//SETUP//config/config.h:57:10: fatal error: 'stdio.h' file not found /Developer/xnu/xnu/xnu//SETUP//decomment/decomment.c:31:10: fatal error: 'stdio.h' file not found /Developer/xnu/xnu/xnu//SETUP//kextsymboltool/kextsymboltool.c:24:10: fatal error: 'stdio.h' file not found /Developer/xnu/xnu/xnu//SETUP//config/openp.c:53:10: fatal error: 'stdio.h' file not found /Developer/xnu/xnu/xnu//SETUP//setsegname/setsegname.c:24:10: fatal error: 'libc.h' file not found /Developer/xnu/xnu/xnu//SETUP//md/md.c:76:10: fatal error: 'sys/types.h' file not found

include <sys/types.h>

     ^

include

     ^

include #include

     ^

     ^

include

     ^

include

     ^

In file included from /Developer/xnu/xnu/xnu//SETUP//config/mkswapconf.c:56: /Developer/xnu/xnu/xnu//SETUP//config/config.h:57:10: fatal error: 'stdio.h' file not found

include

     ^

1 error1 error generated. generated.

winocm commented 10 years ago

Duplicate bug.