Problem compiling on Panther then running on Jaguar
Problem compiling on Panther then running on Jaguar
- Subject: Problem compiling on Panther then running on Jaguar
- From: Jeff Schneiderman <email@hidden>
- Date: Thu, 27 Nov 2003 16:44:11 +0200
I've got a Cocoa app which is compiled in Xcode 1.0.1. It calls CGSetLocalEventsFilterDuringSupressionState() from the ApplicationServices framework. The project was originally built in and ran fine in Jaguar. I'm now building using the same code with Xcode in Panther (10.3.1). It builds and runs fine in Panther, but on Jaguar (10.2.8) it crashes. The console log shows the following error message:
dyld: Undefined symbols: undefined reference to _CGSetLocalEventsFilterDuringSuppressionState expected to be defined in ApplicationServices
The crash log shows:
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001Code[1]: 0x8fe01220
Thread 0 Crashed:
#0 0x8fe01220 in halt
#1 0x8fe10654 in link_in_need_modules
#2 0x8fe10270 in bind_lazy_symbol_reference
#3 0x8fe00e60 in stub_binding_helper_interface
#4 0x0000a9fc in -[KeyController init]
If I comment out the call to CGSetLocalEventsFilterDuringSupressionState, the rest of the app runs fine including calls to CGSetLocalEventsSuppressionInterval and CGEnableEventStateCombining.
Is there any significance in the dyld message spelling _CGSetLocalEventsFilterDuringSuppressionState (two "p"s) when the function name is documented and used as CGSetLocalEventsFilterDuringSupressionState?
Any ideas?
Jeff Schneiderman
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.