Re: kextload error
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com --- At Thu, 27 Mar 2008 11:36:54 +0300, Brian Bergstrand wrote:
10.4.x PPC does not support the UUID cmd section. XCode 3 adds that by default (even if your min target is 10.4) when building with GCC4 and it breaks 10.4.x PPC.
You have to manually strip the section from the PPC side:
strip -arch ppc -no_uuid -S <KEXT_PATH>
So I'm confused how the ppc code would affect an Intel machine? You are correct though, that we are using Xcode 3.
On Mar 27, 2008, at 6:54 AM, Duane Murphy wrote:
--- At Wed, 26 Mar 2008 21:02:25 -0500, Paul Nelson wrote:
You probably did not build both intel and ppc
Nope. The exact same kext works on 10.4.11. This is on an intel iMac.
From: Duane Murphy <duanemurphy@mac.com> Date: Wed, 26 Mar 2008 17:59:03 -0700 To: Darwin Dev <darwin-dev@lists.apple.com> Subject: kextload error
We had the opportunity to run our kext on an older system (10.4.7 - I know ancient history) and discovered an unexpected load error from kextload:
load command 2 unknown cmd field
All of the dependency versions match up just fine. I found some notes that said using -fapple-kext should fix this problem. We are using that option.
We're wondering what else could be causing this and how do we fix it?
...Duane _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Duane Murphy