Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with linking (newbie to make and ld etc.)



Hi,

I'm not sure if this is a Darwin question - but its Darwin I'm using.

I try to link (in a makefile) an object file and two of my own libraries into an executable with the following command (result from make);

ld -X -o Binaries/C3DVectorTest -L./Binaries -L/Users/sjstar/Development/UnitTesting/Binaries \
.obj/C3DVectorTest.o -lUnitTesting -lGeometries -lc -lstdc++

and get the following missing symbols;

__._9exception
___builtin_delete
___builtin_new
___cp_pop_exception
___eh_rtime_match ... <truncated - you get the idea>

most of which seem to be in libstdc++.a Does anyone have any ideas? Sorry if this is easy and obvious!

Steve.

Dr. Stephen J Starkie, MEng, PhD. Lab: (020) 7589 5111 x57068
Research Associate, Mobile: (07939) 594 195
Mechatronics in Medicine Lab.
Imperial College.

"There are in fact two things, science and opinion; the former begets knowledge, the latter ignorance" - Hippocrates (430BC-377BC)
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.