Problems building xnu-792
Problems building xnu-792
- Subject: Problems building xnu-792
- From: Thane Heninger <email@hidden>
- Date: Thu, 5 May 2005 16:40:58 -0600
I'm trying to build xnu-792 from the darwin 8.0 sources. I'm following
the instructions given at
http://developer.apple.com/documentation/Darwin/Conceptual/
KernelProgramming/build/chapter_18_section_3.html
I ran into my first snag with an error at the step to "make install"
after "make" for the Libstreams. Changing that to a "sudo make
install" appeared to fix it.
Now I'm stuck at the instruction to "make RC_OS=macos" for cctools.
It progresses for a minute, then complains:
...
cc -O -g -I../../include -Wall -Wno-long-double -no-cpp-precomp
-static -DRLD -DSA_RLD -fno-builtin -finline -fno-keep-inline-functions
-fsigned-bitfields -force_cpusubtype_ALL -msoft-float -nostdinc
-I/System/Library/Frameworks/Kernel.framework/PrivateHeaders/libsa
-I/System/Library/Frameworks/Kernel.framework/PrivateHeaders
-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 -c \
-MD -dependency-file ./get_toc_byte_sex.d \
-o ./get_toc_byte_sex.o ../get_toc_byte_sex.c
../get_toc_byte_sex.c:25:16: No include path in which to find ar.h
../get_toc_byte_sex.c: In function `get_toc_byte_sex':
../get_toc_byte_sex.c:49: error: `SARMAG' undeclared (first use in this
function)
../get_toc_byte_sex.c:49: error: (Each undeclared identifier is
reported only once
../get_toc_byte_sex.c:49: error: for each function it appears in.)
../get_toc_byte_sex.c:52: error: invalid application of `sizeof' to an
incomplete type
../get_toc_byte_sex.c:53: error: dereferencing pointer to incomplete
type
../get_toc_byte_sex.c:54: error: invalid application of `sizeof' to an
incomplete type
../get_toc_byte_sex.c:56: error: dereferencing pointer to incomplete
type
../get_toc_byte_sex.c:57: error: dereferencing pointer to incomplete
type
../get_toc_byte_sex.c:61: error: invalid application of `sizeof' to an
incomplete type
../get_toc_byte_sex.c:68: error: dereferencing pointer to incomplete
type
make[2]: *** [get_toc_byte_sex.o] Error 1
make[1]: *** [static_kld] Error 2
make: *** [all] Error 1
I notice that ar.h can be found in xnu-792/EXTERNAL_HEADERS, but that
isn't referenced by the make.
Did anyone else run in to this problem?
Thanks,
Thane Heninger
Iomega
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden