• 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: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2


  • Subject: Re: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2
  • From: Jay Reynolds Freeman <email@hidden>
  • Date: Sat, 29 Aug 2009 12:21:44 -0700

On Aug 29, 2009, at 12:05 PM, Chris Espinosa wrote:

> It would really help if you posted the actual and complete compiler invocation and errors, rather than paraphrasing them.

You asked for it! I have added some blank lines here to separate a mind-numbing list of source files from the rest of the invocation and errors, and I should also specify that (1) the -D compiler flags are for #ifdefs in my code, and that (2) this same compile and link works (and the code runs correctly) if the compiler used is "/usr/bin/g++" instead of "/Developer/usr/bin/llvm-gcc-4.2".

/Developer/usr/bin/llvm-gcc-4.2 -D DATE=`date +\"%D\"` -D TIME=`date + \"%T\"` -m64 -O3 -Wall -I/usr/include -I../include -D FLOATS_ARE_64_BIT -D USE_TTY_IO -o WraithScheme

CommandInterface.c++ Events.c++ TTYIO.c++ Apply.c++ Clowder.c++ DataTypes.c++ GarbageCollector.c++ IO.c++ Intern.c++ Main.c++ MainAux.c ++ ManyStrings.c++ MemoryManager.c++ MMapStuff.c++ NumberFormats.c++ Reader.c++ ReaderNumbers.c++ SECDEval.c++ SECDFloatStuff.c++ SECDIO.c+ + SECDMachine.c++ SECDRegisters.c++ SchemeAux.c++ SchemeCType.c++ SchemeFunctionStatics.c++ SchemeFunctions.c++ SchemeFunctions2.c++ SchemeFunctions3.c++ SchemeFunctions4.c++ SchemeFunctions5.c++ SchemeFunctions6.c++ SchemeFunctions7.c++ SchemeFunctions8.c++ SchemeFunctions9.c++ SchemeGlobals.c++ SchemeSpecials.c++ StreamHandling.c++ StringLoader.c++ Version.c++ WorldHandler.c++

Undefined symbols:
"operator delete(void*)", referenced from:
WorldHandler::examineWorld(unsigned char, char*, memorySpace volatile*, memorySpace volatile*)in ccmpfkZb.o
"operator new(unsigned long)", referenced from:
initialize(unsigned long*)in cc9MRfFN.o
initialize(unsigned long*)in cc9MRfFN.o
MemoryManager::initializeMemoryManager(unsigned char, char*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long*, unsigned char*, unsigned char*, unsigned char*)in ccpLCCia.o
MemoryManager::initializeMemoryManager(unsigned char, char*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long*, unsigned char*, unsigned char*, unsigned char*)in ccpLCCia.o
WorldHandler::examineWorld(unsigned char, char*, memorySpace volatile*, memorySpace volatile*)in ccmpfkZb.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [ws_tty_64] Error 1


--  Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)



_______________________________________________
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


  • Follow-Ups:
    • Re: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2
      • From: Jonas Maebe <email@hidden>
References: 
 >llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2 (From: Jay Reynolds Freeman <email@hidden>)
 >Re: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2 (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Verbose Output in Build Results Window - Xcode 3.2
  • Next by Date: Re: Verbose Output in Build Results Window - Xcode 3.2
  • Previous by thread: Re: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2
  • Next by thread: Re: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2
  • Index(es):
    • Date
    • Thread