• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Darwin 8.3 Source Code Available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Darwin 8.3 Source Code Available


  • Subject: Re: Darwin 8.3 Source Code Available
  • From: Kevin Van Vechten <email@hidden>
  • Date: Tue, 1 Nov 2005 13:58:02 -0800

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:

# 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:

/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


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:

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]

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Darwin 8.3 Source Code Available (From: Michael Tuexen <email@hidden>)

  • Prev by Date: Re: Darwin 8.3 Source Code Available
  • Next by Date: File alteration monitoring
  • Previous by thread: Re: Darwin 8.3 Source Code Available
  • Next by thread: Darwin 8.3 Source Code Available
  • Index(es):
    • Date
    • Thread