• 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: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard


  • Subject: Re: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard
  • From: "B.J. Buchalter" <email@hidden>
  • Date: Wed, 09 Jan 2008 00:58:14 -0500

As a follow up to my question, if I kextload -t the kext on the older systems, I get the following from kextload:

kld(): <path to kext> load command 2 unknown cmd field

so it seems that the problem is that Xcode 3 is building a binary that is incompatible with the kernel loader on the older systems.

If I use otool -l on the two executables, the most obvious (non- trivial) difference is that the Xcode 3 built kext has:

Load command 2
    cmd LC_UUID
cmdsize 24
  uuid 0xd4 0xbe 0x60 0x0f 0xba 0xbf 0x46 0x3b
       0x9b 0x5f 0x1c 0xdd 0xd3 0x09 0xfa 0xc3

and the Xcode 2.4.1 built kext does not.

Anyone know how I either remove this UUID or keep it from being built into the binary in the first place under Xcode 3?

Thanks!




On Jan 8, 2008, at 10:31 PM, B.J. Buchalter wrote:

We have a kext project that we have been building with a split SDK for the ppc side and the intel side; we used the 10.3.9 SDK for ppc and the 10.4u SDK for intel; this had been working fine for Xcode 2.4.1 under Panther for deployment on 10.3.9 and 10.4.x. We migrated the project to Xcode 3 and 10.5 and everything built fine (no compile or link errors) and the built driver loads fine on 10.5.x but does not appear to load on 10.3.9 nor 10.4.x

Any suggestions as to what we need to do to configure the Xcode build process to work properly targeting the older OS versions while still building from Xcode 3?

TIA,

B.J. Buchalter
Metric Halo
http://www.mhlabs.com
	


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

B.J. Buchalter Metric Halo http://www.mhlabs.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard
      • From: "B.J. Buchalter" <email@hidden>
References: 
 >Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard (From: "B.J. Buchalter" <email@hidden>)

  • Prev by Date: Xcode ignoring "open counterpart in same editor" preference?
  • Next by Date: Re: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard
  • Previous by thread: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard
  • Next by thread: Re: Building kext for 10.3.9 and/or 10.4 with Xcode 3 on Leopard
  • Index(es):
    • Date
    • Thread