• 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
xnu kernel 517.11.1 compile errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xnu kernel 517.11.1 compile errors


  • Subject: xnu kernel 517.11.1 compile errors
  • From: Maarten Engelen <email@hidden>
  • Date: Fri, 11 Feb 2005 18:33:31 +0100

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: xnu-517.11.1 won't compile.
  • Next by Date: Re: Darwin-kernel Digest, Vol 2, Issue 34
  • Previous by thread: Re: xnu-517.11.1 won't compile.
  • Next by thread: Re: Darwin-kernel Digest, Vol 2, Issue 34
  • Index(es):
    • Date
    • Thread