site_archiver(a)lists.apple.com
Delivered-To: Darwin-dev(a)lists.apple.com
# darwinbuild -init 8F46
# darwinbuild xnu
- Kevin
[1] <http://opendarwin.org/projects/darwinbuild>
On Nov 1, 2005, at 7:23 AM, Michael Tuexen wrote:
Dear all,
trying to compile the sources results in:
Any idea how to fix it?
Thank you very much for your help in advance.
Best regards
Michael
On Oct 31, 2005, at 11:14 PM, Kevin Van Vechten wrote:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (Darwin-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app…
The error indicates you don't have the libcc_kext.a library installed
on your system, which comes from one of the Mac OS X SDKs (in this
case you should use the 10.4 SDK).
gcc_os provides the file /usr/lib/gcc/darwin/3.3/libcc_kext.a, and
gcc_select links that file to /usr/lib/libcc_kext.a.
I recommend using DarwinBuild[1] for building xnu, it takes care of
installing dependencies such as these. Once it's installed, building
is as easy as:
/usr/bin/ld -static -force_cpusubtype_ALL -e __start -segalign
0x1000 -sectalign __TEXT __text 0x1000 -sectalign __DATA __common
0x1000 -sectalign __DATA __bss 0x1000 -sectcreate __PRELINK __text /
dev/null -sectcreate __PRELINK __symtab /dev/null -sectcreate
__PRELINK __info /dev/null -arch ppc -segaddr __VECTORS 0x0 -
segaddr __HIB 0x7000 -segaddr __TEXT 0xe000 /Users/tuexen/Desktop/
xnu-792.6.22/BUILD/obj/RELEASE_PPC/./osfmk/RELEASE/osfmk.o /Users/
tuexen/Desktop/xnu-792.6.22/BUILD/obj/RELEASE_PPC/./bsd/RELEASE/
bsd.o /Users/tuexen/Desktop/xnu-792.6.22/BUILD/obj/RELEASE_PPC/./
iokit/RELEASE/iokit.o /Users/tuexen/Desktop/xnu-792.6.22/BUILD/obj/
RELEASE_PPC/./pexpert/RELEASE/pexpert.o /Users/tuexen/Desktop/
xnu-792.6.22/BUILD/obj/RELEASE_PPC/./libkern/RELEASE/libkern.o /
Users/tuexen/Desktop/xnu-792.6.22/BUILD/obj/RELEASE_PPC/./libsa/
RELEASE/libsa.o /Users/tuexen/Desktop/xnu-792.6.22/BUILD/obj/
RELEASE_PPC/version.o -o /Users/tuexen/Desktop/xnu-792.6.22/BUILD/
obj/RELEASE_PPC/./mach_kernel.sys -lcc_kext; \
/usr/bin/strip -S -x /Users/tuexen/Desktop/xnu-792.6.22/BUILD/obj/
RELEASE_PPC/./mach_kernel.sys -o /Users/tuexen/Desktop/xnu-792.6.22/
BUILD/obj/RELEASE_PPC/./mach_kernel;
/usr/bin/ld: can't locate file for: -lcc_kext
make[2]: *** [do_build_mach_kernel] Error 1
make[1]: *** [build_all] Error 2
make: *** [all] Error 2
The Darwin team is pleased to announce the availability of the
source code for Darwin 8.3. These sources correspond to Mac OS X
10.4.3, and are available via the web at <http://
www.opensource.apple.com/darwinsource/>. [Oct 31 2005]
This email sent to site_archiver(a)lists.apple.com
site_archiver(a)lists.apple.com
Delivered-To: Darwin-dev(a)lists.apple.com
Dear all,
trying to compile the sources results in:
Any idea how to fix it?
Thank you very much for your help in advance.
Best regards
Michael
On Oct 31, 2005, at 11:14 PM, Kevin Van Vechten wrote:
This email sent to michael.tuexen(a)lurchi.franken.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (Darwin-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app…
/usr/bin/ld -static -force_cpusubtype_ALL -e __start -segalign 0x1000
-sectalign __TEXT __text 0x1000 -sectalign __DATA __common 0x1000 -
sectalign __DATA __bss 0x1000 -sectcreate __PRELINK __text /dev/null -
sectcreate __PRELINK __symtab /dev/null -sectcreate __PRELINK __info /
dev/null -arch ppc -segaddr __VECTORS 0x0 -segaddr __HIB 0x7000 -
segaddr __TEXT 0xe000 /Users/tuexen/Desktop/xnu-792.6.22/BUILD/obj/
RELEASE_PPC/./osfmk/RELEASE/osfmk.o /Users/tuexen/Desktop/
xnu-792.6.22/BUILD/obj/RELEASE_PPC/./bsd/RELEASE/bsd.o /Users/tuexen/
Desktop/xnu-792.6.22/BUILD/obj/RELEASE_PPC/./iokit/RELEASE/iokit.o /
Users/tuexen/Desktop/xnu-792.6.22/BUILD/obj/RELEASE_PPC/./pexpert/
RELEASE/pexpert.o /Users/tuexen/Desktop/xnu-792.6.22/BUILD/obj/
RELEASE_PPC/./libkern/RELEASE/libkern.o /Users/tuexen/Desktop/
xnu-792.6.22/BUILD/obj/RELEASE_PPC/./libsa/RELEASE/libsa.o /Users/
tuexen/Desktop/xnu-792.6.22/BUILD/obj/RELEASE_PPC/version.o -o /Users/
tuexen/Desktop/xnu-792.6.22/BUILD/obj/RELEASE_PPC/./mach_kernel.sys -
lcc_kext; \
/usr/bin/strip -S -x /Users/tuexen/Desktop/xnu-792.6.22/BUILD/obj/
RELEASE_PPC/./mach_kernel.sys -o /Users/tuexen/Desktop/xnu-792.6.22/
BUILD/obj/RELEASE_PPC/./mach_kernel;
/usr/bin/ld: can't locate file for: -lcc_kext
make[2]: *** [do_build_mach_kernel] Error 1
make[1]: *** [build_all] Error 2
make: *** [all] Error 2
The Darwin team is pleased to announce the availability of the
source code for Darwin 8.3. These sources correspond to Mac OS X
10.4.3, and are available via the web at <http://
www.opensource.apple.com/darwinsource/>. [Oct 31 2005]
--
Kevin Van Vechten
<kvv(a)apple.com>
Open Source Software Engineer
Apple Computer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (Darwin-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/michael.tuexen%
40lurchi.franken.de
This email sent to site_archiver(a)lists.apple.com
site_archiver(a)lists.apple.com
Delivered-To: Darwin-dev(a)lists.apple.com
Hi Greg,
- Kevin
[1] <http://opendarwin.org/projects/darwinbuild/>
On Oct 31, 2005, at 2:59 PM, Greg Shenaut wrote:
How do you download the whole distribution in a buildable form?
Greg Shenaut
On Oct 31, 2005, at 2:14 PM, Kevin Van Vechten wrote:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (Darwin-dev(a)lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app…
Darwin doesn't have the equivalent to FreeBSD's "make world", however
I suggest using DarwinBuild[1]. It helps automate the build process
for Darwin projects, and will download sources on-demand as you build
them.
When initializing your DarwinBuild setup, use the build number "8F46"
for Darwin 8.3.
The Darwin team is pleased to announce the availability of the
source code for Darwin 8.3. These sources correspond to Mac OS X
10.4.3, and are available via the web at <http://
www.opensource.apple.com/darwinsource/>. [Oct 31 2005]
This email sent to site_archiver(a)lists.apple.com