Page 1 of 1

OS X Build Errors, 4187

Posted: Thu Aug 25, 2011 2:43 am
by Bigjoe5

Code: Select all

Undefined symbols:
  "_condition3_p", referenced from:
      _condition3_p$non_lazy_ptr in libCommon.a(ConditionParser.o)
     (maybe you meant: _condition3_p$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status

Re: OS X Build Errors, 4187

Posted: Thu Aug 25, 2011 3:18 am
by Geoff the Medio
Did you update your project files to include the recently-added ConditionParser3.cpp?

A .cpp file being added is usually the cause of these errors when you report them. I can't update the XCode project files, so you'll need to do it yourself, or get night to.

Re: OS X Build Errors, 4187

Posted: Thu Aug 25, 2011 3:29 am
by Bigjoe5
I get the same results after adding the file to the project.

Edit: It's probably something obvious that I'm doing wrong, so I'll just try again later.

Re: OS X Build Errors, 4187

Posted: Thu Aug 25, 2011 8:45 am
by night
I'm having this problem, too.
I tried to start with a fresh SDK and SVN compile from scratch, but no luck.
Maybe it's an anonymous namespace problem again.

EDIT: Sorry, I did not read Geoff's post properly :D I'll try to fix that soon.

Code: Select all

Undefined symbols for architecture i386:
  "_condition3_p", referenced from:
      (anonymous namespace)::Init()in libCommon.a(ConditionParser.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

Re: OS X Build Errors, 4187

Posted: Thu Aug 25, 2011 2:25 pm
by night
Please try the Xcode project I attached. If it works for you, I'll make a new version of the SDK.

Re: OS X Build Errors, 4187

Posted: Thu Aug 25, 2011 2:30 pm
by Geoff the Medio
A new version of the SDK shouldn't be necessary to just update the project files to add a new file... I should be able to just update the project file in SVN. (I assume only project.pbxproj needs to be updated?)

Re: OS X Build Errors, 4187

Posted: Thu Aug 25, 2011 4:39 pm
by Bigjoe5
night wrote:Please try the Xcode project I attached. If it works for you, I'll make a new version of the SDK.
I have the same error as before. This time it only happens once, instead of 3 times, though. I also tried redownloading the sdk, updating, and replacing the XCode project, but I got the same result.

Re: OS X Build Errors, 4187

Posted: Fri Aug 26, 2011 1:59 pm
by night
Okay now everything should be working just fine.

Re: OS X Build Errors, 4187

Posted: Fri Aug 26, 2011 7:27 pm
by Bigjoe5
This one works - thanks.