Re: Darwin 7.9 Source Code Available
Re: Darwin 7.9 Source Code Available
- Subject: Re: Darwin 7.9 Source Code Available
- From: Kevin Van Vechten <email@hidden>
- Date: Mon, 18 Apr 2005 15:51:28 -0700
Hi Michael,
The xnu-517.12.7 tar.gz has been updated again, to correct this issue. I have tested it locally to verify that it indeed compiles and links. Thanks for reporting this.
- Kevin
On Apr 16, 2005, at 1:56 PM, Michael Tuexen wrote:
Using the new sources I get:
ELEASE_PPC/./libsa/RELEASE/libsa.o kernel_vers.o -o /Users/tuexen/Documents/xnu-517.12.7/BUILD/obj/RELEASE_PPC/./mach_kernel.sys -lcc_kext; \
/usr/bin/strip -S -x /Users/tuexen/Documents/xnu-517.12.7/BUILD/obj/RELEASE_PPC/./mach_kernel.sys -o /Users/tuexen/Documents/xnu-517.12.7/BUILD/obj/RELEASE_PPC/./mach_kernel;
/usr/bin/ld: Undefined symbols:
_cacheDisable
_cacheInit
_clock_get_uptime
_cpu_number
_mach_absolute_time
_machine_idle_ret
_ml_get_timebase
_ml_read_temp
_ml_scom_read
_ml_scom_write
_ml_set_processor_speed_dfs
_ml_set_processor_speed_dpll
_ml_set_processor_speed_powertune
_ml_thrm_init
_set_machine_current_act
_current_act
_current_thread
make[2]: *** [do_build_mach_kernel] Error 1
make[1]: *** [build_all] Error 2
make: *** [all] Error 2
Any idea how to link a kernel?
Best regards
Michael
On Apr 16, 2005, at 22:11 Uhr, Kevin Van Vechten wrote:
I've updated the xnu tar.gz to correct this issue. Yes, this is the same issue that Ben pointed out.
Thanks,
- Kevin
On Apr 16, 2005, at 7:03 AM, Tsuyoshi MOMOSE / ももせつよし wrote:
On 2005/04/16, at 11:48, Kevin Van Vechten wrote:
The Darwin team is pleased to announce the availability of the source code for Darwin 7.9. These sources correspond to Mac OS X 10.3.9, and are available via the web at <http://www.opensource.apple.com/darwinsource/>. [Apr 15 2004]
I could not build a kernel by the source code.
The error message is as followed:
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c: In function `chudxnu_set_shadowed_spr':
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c:224: error: `chud_7400_msscr1' undeclared (first use in this function)
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c:224: error: (Each undeclared identifier is reported only once
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c:224: error: for each function it appears in.)
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c: In function `chudxnu_set_shadowed_spr64':
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c:260: error: `chud_970_hid0' undeclared (first use in this function)
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c:272: error: `chud_970_hid1' undeclared (first use in this function)
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c:284: error: `chud_970_hid4' undeclared (first use in this function)
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c:296: error: `chud_970_hid5' undeclared (first use in this function)
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c: In function `chudxnu_clear_cpu_rupt_counters':
xnu-517.12.7/osfmk/ppc/chud/chud_cpu.c:444: warning: passing arg 1 of `bzero' from incompatible pointer type
I don't know this is the same problem that Ben pointed out.
---
Tsuyoshi MOMOSE _______________________________________________
_______________________________________________
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