• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Link Error: AESend defined in indirectly referenced dynamic library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Command line arguments... (From: Jeff LaMarche <email@hidden>)
 >Re: Command line arguments... (From: Chris Parker <email@hidden>)

  • Prev by Date: Re: Command line arguments...
  • Next by Date: Re: Develop with a Power/i Book
  • Previous by thread: Re: Command line arguments...
  • Next by thread: Re: NSDocument without Title - Solved
  • Index(es):
    • Date
    • Thread