Re: Symbol(s) not found error for _vm_region, migrating to Xcode 3.2
Re: Symbol(s) not found error for _vm_region, migrating to Xcode 3.2
- Subject: Re: Symbol(s) not found error for _vm_region, migrating to Xcode 3.2
- From: Jean-Daniel Dupas <email@hidden>
- Date: Sun, 11 Oct 2009 18:57:17 +0200
Le 11 oct. 2009 à 17:51, Ben Haller a écrit :
Hi! I'm moving an old project forward to Xcode 3.2 and building it
for x86_64. I'm getting a mysterious link error:
"_vm_region", referenced from:
_SSCanWriteToAddress in SSCocoaExtra.o
Symbol(s) not found
I'm building against the 10.6 SDK with a min version of 10.6.
The .m file imports <mach/mach.h>. This all used to build just fine
on 10.5 (sorry, don't know what version of Xcode and what SDK
exactly).
This problem is reminiscent of the problem discussed here:
http://www.mailinglistarchive.com/email@hidden/msg16823.html
But I'm just using Obj-C, no C++, and I'm on the 10.6 SDK, not the
10.4 SDK, so it's not exactly the same problem. Maybe it is again a
bug in the header in the SDK, in which case a suggested workaround
would be welcome; I don't understand Mach stuff very well, so I'm
nervous to just go hacking my way in...
Any help? I'm happy to forward on any extra information needed,
but I'm not sure what would be useful. Thanks!
vm_region() is part of the old vm API which was superseded by the
mach_vm API.
This function (as other vm_xxx function) is not 64 bit safe, so using
it in a 64 bits code will probably failed, even if you managed to
compile and link it.
You will have to update this code before using it in a 64 bit product.
-- Jean-Daniel
_______________________________________________
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