Bug 6066 - Building OS X App Bundles is broken on OS X 10.9
Status: RESOLVED WORKSFORME
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Platform
Version: GIT MASTER
Hardware: Macintosh MacOS X
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2013-11-21 16:27 EST by Zack Middleton
Modified: 2013-12-08 17:26:18 EST
1 user (show)

See Also:



Description Zack Middleton 2013-11-21 16:27:26 EST
'./make-macosx-ub.sh' errors because gcc-4.0 is missing.

'./make-maoosx.sh x86' error:

LD build/release-darwin-x86/ioquake3.x86
LD build/release-darwin-x86/renderer_opengl1_x86.dylib
Undefined symbols for architecture i386:
  "___bzero", referenced from:
      _opus_decoder_ctl in opus_decoder.o
      _op_open1 in opusfile.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [build/release-darwin-x86/ioquake3.x86] Error 1
make[2]: *** Waiting for unfinished jobs....
Undefined symbols for architecture i386:
  "___bzero", referenced from:
      _R_Init in tr_init.o
      _RB_ShadowTessEnd in tr_shadows.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [build/release-darwin-x86/renderer_opengl1_x86.dylib] Error 1


MAN_AT_ARMS said Apple moved /Developer to some xcode directory (though I still have it from 10.6.8?).
Comment 1 Donny Springer 2013-11-23 15:15:58 EST
In newer versions of XCode the /Developer folder containing the SDK's are hidden within the xcode.app bundle (rather than being in the root of the drive as it was in older versions)

Also, The 10.5 SDK is no longer included in XCode. The make-macosx scripts specifically reference this SDK.

It is also no longer possible to build PPC binaries on newer versions of XCode because of this.
Comment 2 Zack Middleton 2013-12-08 17:26:18 EST
Deleted /Developer and rebooted, issues gone.