xcode-2.4 cctools-622.3 ld and KEXTs
xcode-2.4 cctools-622.3 ld and KEXTs
- Subject: xcode-2.4 cctools-622.3 ld and KEXTs
- From: "Bhavesh Davda" <email@hidden>
- Date: Tue, 15 Aug 2006 18:02:06 -0700
Hello,
I was wondering what's changed in cctools-622.3's ld (from xcode-2.4)
versus its previous version from xcode-2.3, that could lead to
kextload failures of my KEXT.
The basic difference I see in the kext Mach-O object generated is an
extra "load command" that looks like this:
Load command 2
cmd LC_UUID
cmdsize 24
uuid 0x52 0xf8 0xd5 0x38 0xc7 0xce 0x46 0x63
0x90 0xae 0x6b 0x1b 0x06 0x76 0x0c 0xe2
My compile flags:
c++-4.0 -o foo bar1.o bar2.o bar3.o -static -nostdlib -r -lkmodc++
-lkmod -lcc_kext -lcpp_kext
kextload error:
kextload: extension ... appears to be valid
kld(): ... load command 2 unknown cmd field
kextload: kld_load_from_memory() failed for module ...
kextload: a link/load error occured for kernel extension ,,,
Load command 2 is LC_UUID, that the dynamic loader on my MacBook Pro
(Mac OS 10.4.7) doesn't understand.
Thanks
- Bhavesh
--
Bhavesh P. Davda
_______________________________________________
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