Link Error: AESend defined in indirectly referenced dynamic library
Link Error: AESend defined in indirectly referenced dynamic library
- Subject: Link Error: AESend defined in indirectly referenced dynamic library
- From: Chuck Rice <email@hidden>
- Date: Sun, 22 Jun 2003 17:50:50 -0700
I am writing a Cocoa application, but I may be following off the
Cocoa Beaten Path here. Perhaps one of you can set me straight.
I want to put the computer in my car to sleep when I turn off the
ignition. I have ignition switched power to the iBook and using the
IOKit, I can tell that the computer has switched to battery power.
This much is working.
Now I want to tell the iBook to sleep. I did not find a Cocoa
example, but I did find:
http://developer.apple.com/qa/qa2001/qa1134.html
Which (the example) compiles and links fine. But when I try to add
this to my Cocoa Project, it compiles, but then the link fails with:
/usr/bin/gcc3 -o
/Users/chuck/BlueCabbie/build/BlueCabbie.app/Contents/MacOS/BlueCabbie
"-L/Users/chuck/BlueCabbie/build" "-F/Users/chuck/BlueCabbie/build"
-filelist
/Users/chuck/BlueCabbie/build/BlueCabbie.build/BlueCabbie.build/Objects-normal/LinkFileList
"-arch" "ppc" "-prebind" "-Wl,-no_arch_warnings" "-framework"
"Cocoa" "-framework" "IOKit" "-framework" "AppleScriptKit"
"-framework" "Scripting"
ld:
/Users/chuck/BlueCabbie/build/BlueCabbie.build/BlueCabbie.build/Objects-normal/ppc/Controller.o
illegal reference to symbol: _AESend defined in indirectly referenced
dynamic library
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
ld:
/Users/chuck/BlueCabbie/build/BlueCabbie.build/BlueCabbie.build/Objects-normal/ppc/Controller.o
illegal reference to symbol: _AESend defined in indirectly referenced
dynamic library
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
Am I doing something that I should not... Is there a better way...
What does the error "_AESend defined in indirectly referenced dynamic
library" mean?
For more details on the project, visit
http://www.wildrice.com/BlueCabbie/
Thanks for any help. -Chuck-
--
Fight Spam! Join CAUCE! ==
http://www.cauce.org/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.