Author
|
Topic: missing "unistd.h"
|
Jacky
Junior Member
Member # 499
|
posted September 05, 2002 08:09 AM
Hi all,Last week, I started to use MacOSX, and I tried to build kernel(XNU). But I have a serious problem. When I try to build cctools, I get following error message. %sudo make RC_OS=macos kld_build cc -g -I.. -I../../include -I. -Wall -Wno-precomp -Wno-long-double -static -DRLD -DKLD -fno-builtin -finline -fno-keep-inline-functions -fsigned-bitfields -force_cpusubtype_ALL -msoft-float -nostdinc -I/System/Library/Frameworks/Kernel.framework/Headers/libsa -I/System/Library/Frameworks/Kernel.framework/Headers/bsd -I/System/Library/Frameworks/Kernel.framework/Headers -DKERNEL -DKERNEL_PRIVATE -DAPPLE -DNeXT -DLIBSA_PRIVATE -O -c -MD \ -dependency-file ./pass1.d -o ./pass1.o ../pass1.c /System/Library/Frameworks/Kernel.framework/Headers/sys/file.h:63: header file 'sys/unistd.h' not found cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make[1]: *** [pass1.o] Error 1 make: *** [kld_build] Error 2 Truely, there is no such a header file. How can I get the file? Please help me.
Posts: 2 | Registered: Sep 2002
| IP: Logged
|
|
|
|
|
|