Linking not possible... with XCode
Linking not possible... with XCode
- Subject: Linking not possible... with XCode
- From: JoanBa <email@hidden>
- Date: Tue, 18 Nov 2003 10:59:26 +0100
Hi,
I'm upgrading an small application, just a preference pane from MacOS X
10.2.8 to 10.3.1 ( Panther ). Of course the prefPane runs fine on 10.2
and there is no problem building it on Project Builder.
But things are different in 10.3. XCode compiles the code but doesn't
link it. I'm using XCode version 1.1 ( with update 7K105 ).
My prefPane uses the IOKit framework to modify the behaviour of an
standard Apple driver ( ADB Keyboard ), and it uses the functions
IOHIDSetParameter and IOHIDGetParameter to configure the driver. The
header where this functions are defined is <IOKit/hidsystem/IOHIDLib.h>
and the source code is in the file IOEventStatusAPI.c ( from the
Darwin sources, IOKitUser 174 ).
I've converted my project from Project Builder and I've upgraded the
target to be native, adapted sources and when I build the project I get
this error:
Native Build of Target "fnSwitch"
Ld build/fnSwitch.prefPane/Contents/MacOS/fnSwitch
cd "/Volumes/Keith/projectes/fnSwitch 1.1.0"
/usr/bin/g++-3.3 -o build/fnSwitch.prefPane/Contents/MacOS/fnSwitch
-Lbuild -Fbuild -filelist
build/fnSwitch.build/fnSwitch.build/Objects-normal/
fnSwitch.LinkFileList -framework Cocoa -framework PreferencePanes
-framework IOKit -arch ppc -bundle
ld: Undefined symbols:
IOHIDGetParameter(unsigned, __CFString const*, unsigned long, void*,
unsigned long*)
IOHIDSetParameter(unsigned, __CFString const*, void const*, unsigned
long)
I don't understand why I'm getting the 'undefined symbols' message. Any
idea ?
Best regards,
Joan
_______________________________________________
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.