Linker needs 2 attempts to succeed
Linker needs 2 attempts to succeed
- Subject: Linker needs 2 attempts to succeed
- From: "Robert J. Lang" <email@hidden>
- Date: Mon, 14 Nov 2005 11:17:24 -0800
- Thread-topic: Linker needs 2 attempts to succeed
Having dealt with the case of the missing std::__ioinit, I've now got the
situation where after modifying a file and rebuilding, the linker fails the
first time; but if I attempt to build again, it links successfully. This is
now happening with every edit-compile-link iteration.
The build log ends with:
cd /Users/rjlang/C++Projects/TreeMaker_5
/usr/bin/g++-4.0 -o
/Users/rjlang/C++Projects/TreeMaker_5/build/Development/TreeMaker\
5-Development.app/Contents/MacOS/TreeMaker\ 5-Development
-L/Users/rjlang/C++Projects/TreeMaker_5/build/Development
-L/Users/rjlang/C++Projects/TreeMaker_5/../wxMac-HEAD/build-release/lib
-F/Users/rjlang/C++Projects/TreeMaker_5/build/Development -filelist
/Users/rjlang/C++Projects/TreeMaker_5/build/TreeMaker.build/Development/Tree
Maker.build/Objects-normal/ppc/TreeMaker\ 5-Development.LinkFileList
-framework Carbon -framework System -framework IOKit -arch ppc -lwx_mac-2.6
-lwx_mac_gl-2.6 -lwxtiff-2.6 -lwxjpeg-2.6 -lwxpng-2.6 -lwxexpat-2.6 -lz
-lpthread -liconv
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
collect2: ld returned 1 exit status
Build failed (1 error)
Obviously, simply trying to link twice is a workaround, but it would be nice
if it worked on the first try. Any suggestions?
Thanks,
Robert
_______________________________________________
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