Re: Bug In Project Builder
Re: Bug In Project Builder
- Subject: Re: Bug In Project Builder
- From: Bill Bumgarner <email@hidden>
- Date: Wed, 13 Jun 2001 09:19:12 -0400
The bug is that PB fails to parse the link error and actually display
the undefined symbol in the build output pane (or the build log pane,
with default settings).
However, there is a workaround. If you go to the Building preferences
in Project Builder and set the 'Build log detail level' to 'Detailed',
it will actually spew the linker errors. See below for an example:
StandaloneExecutable.LinkUsingFileList /tmp/bbum-
build/Xmanview.app/Contents/MacOS/Xmanview
/usr/bin/cc -o "/tmp/bbum-
build/Xmanview.app/Contents/MacOS/Xmanview" "-L/tmp/bbum-build"
"-F/tmp/bbum-build/ProjectHeaders" "-F/tmp/bbum-build" -filelist
"/tmp/bbum-build/Xmanview.build/Xmanview.build/Objects/LinkFileList"
"-arch" "ppc" "-prebind" "-framework" "Foundation" "-framework"
"AppKit"
/usr/bin/ld: warning prebinding disabled because of undefined symbols
/usr/bin/ld: Undefined symbols:
_foobar
...failed StandaloneExecutable.LinkUsingFileList /tmp/bbum-
build/Xmanview.app/Contents/MacOS/Xmanview ...
b.bum
(cc'ing myself so I am reminded to go file a bug against not showing the
stupid undefined symbol in the parsed build output)
On Wednesday, June 13, 2001, at 03:42 AM, cocoa-dev-
email@hidden wrote:
Subject: Bug In Project Builder
Ok, I think I found a bug in project builder... The build log window
does not seem to show linker errors.... I was having a problem at link
time with some code... it was driving me nuts because it said buil
failed,check build log for details but the build log would only scroll
down to a line saying something like
failed linking myproject...
I tried redoing the source in ProjectBuilderWO and it actually did show
the last few lines of the build output which Project Builder was
chopping off and they were saying something about a symbol being defined
twice (which was the error)... jeez.... I hope they fix that! Is the
build being output into text form somewhere I can check it, or do I have
to use ProjectBuilderWO do get the whole story on a build?