xnu kernel 517.11.1 compile errors
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Today has not been a good day. :( I'm trying to compile the xnu 517.11.1 kernel, but I keep getting compile errors. First I got the following 'undefined symbols' error: /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 That was no success. I looked up the symbols ld mentions and I found that the file osfmk/ppc/machine_routines_asm.s is three times as small in xnu 517.11.1 compared to 517.9.5. A lot of code is missing in this file. After merging the two files and adding the missing code to 517.11.1 I tried to compile. It still gives me an undefined symbols error, but it is not as long as before: /usr/bin/ld: Undefined symbols: _ml_set_processor_speed_dfs _ml_set_processor_speed_dpll _ml_set_processor_speed_powertune make[2]: *** [do_build_mach_kernel] Error 1 make[1]: *** [build_all] Error 2 make: *** [all] Error 2 These functions are nowhere to be found in the 517.11.1 and the 517.9.5 code. I presume that the machine_routines_asm.s file is messed up pretty good in the source tarball. I tried the tarball from apple.com, opendarwin.org and the cvs version from opendarwin.org. Nothing works. :( Am I doing something wrong? In case the source tree is broken, is Apple aware of this? Any help is greatly appreciated. Maarten _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Maarten Engelen