kld_build Error on Darwin 6.5
kld_build Error on Darwin 6.5
- Subject: kld_build Error on Darwin 6.5
- From: "Michael A. Williams" <email@hidden>
- Date: Fri, 02 May 2003 15:08:27 +1200
Has anyone seen this compiling Darwin 6.5?
iBook with fresh install of OS X 10.2 then the December 2002 developer
tools followed by a 10.2.5 update cd.
Following the instructions for a kernel build from the November 2002
kernel programming pdf,
download and extract from www.opensource.apple.com/darwinsource/10.2.5
bootstrap_cmds, Libstreams, cctools and xnu,
everything looks to work as expected until the kld_build in cctools/ld
which comes up with an include path error.
Searching google and the mailing list archives did not supply any
answers.
[sd10x50:src/cctools/ld] mike# make RC_OS=macos kld_build
cc -g -I.. -I../../include -I. -Wall -Wno-precomp -Wno-long-double
-no-cpp-precomp -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
In file included from ../pass1.c:36:
/System/Library/Frameworks/Kernel.framework/Headers/sys/file.h:63:24: No
include path in which to find sys/unistd.h
make[1]: *** [pass1.o] Error 1
make: *** [kld_build] Error 2
-- Mike.
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.