Re: llvm-gcc-4.2 link-time error seen from command line but not in Xcode 3.2
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