• 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
Re: help - command /usr/bin/g++-4.0 failed with exit code 1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help - command /usr/bin/g++-4.0 failed with exit code 1


  • Subject: Re: help - command /usr/bin/g++-4.0 failed with exit code 1
  • From: Eric Albert <email@hidden>
  • Date: Mon, 10 Jul 2006 16:36:08 -0700

On Jul 10, 2006, at 3:21 PM, James Closs wrote:

I'm new to C++ (but not to XCode). I've been working with the AUDemo project and things were going fine, now suddenly my project has stopped compiling.

I've tried creating a new project from the AUDemo template and am getting the same error:

symbols names listed in -exported_symbols_list: AUDemo.exp not in linked objects
command /usr/bin/g++-4.0 failed with exit code 1


The detailed report is as follows:

Ld "/Volumes/docs/development/audio/DSP Library/build/Development/ AUDemo.component/Contents/MacOS/AUDemo" normal ppc
mkdir "/Volumes/docs/development/audio/DSP Library/build/ Development/AUDemo.component/Contents/MacOS"
cd "/Volumes/docs/development/audio/DSP Library"
/usr/bin/g++-4.0 -o /Volumes/docs/development/audio/DSP\ Library/build/Development/AUDemo.component/Contents/MacOS/AUDemo -L/ Volumes/docs/development/audio/DSP\ Library/build/Development -F/ Volumes/docs/development/audio/DSP\ Library/build/Development - filelist /Volumes/docs/development/audio/DSP\ Library/build/ dsp.build/Development/AUDemo.build/Objects-normal/ppc/ AUDemo.LinkFileList -framework AudioToolbox -framework AudioUnit - framework CoreServices -framework Cocoa -arch ppc - exported_symbols_list AUDemo.exp -Wl,-Y,1455 -bundle -bundle
/usr/bin/ld: symbols names listed in -exported_symbols_list: AUDemo.exp not in linked objects
_AUDemoEntry
collect2: ld returned 1 exit status


It seems the problem is 'symbols names listed in - exported_symbols_list: AUDemo.exp not in linked objects' but with my lack of knowledge of C++ and how the linker is working I have no idea what an .exp file is, let alone how to fix this problem!

This is saying that you have a file, AUDemo.exp, in your project which is being used to provide a list of the symbols which your component should export. That's just a plain text file which includes one symbol name per line. One of those lines apparently says "_AUDemoEntry", which is a symbol that your project doesn't define. If you delete that line you'll be able to link.


Hope this helps,
Eric

_______________________________________________
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


References: 
 >help - command /usr/bin/g++-4.0 failed with exit code 1 (From: James Closs <email@hidden>)

  • Prev by Date: Re: FileMerge ineffective comparisons
  • Next by Date: Re: Question about MD5
  • Previous by thread: help - command /usr/bin/g++-4.0 failed with exit code 1
  • Next by thread: universal binaries
  • Index(es):
    • Date
    • Thread