Bug 6090 - OSX Mavericks (10.9.1) - bad architecture for USE_CODEC_VORBIS=1
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: GIT MASTER
Hardware: Macintosh MacOS X
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2014-02-10 08:12 EST by Stig M. Halvorsen
Modified: 2021-11-02 15:31:37 EDT
2 users (show)

See Also:



Description Stig M. Halvorsen 2014-02-10 08:12:32 EST
OSX Mavericks (10.9.1). Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn).

Setting USE_CODEC_VORBIS=1 in Makefile.local gives a linker error related to bad architecture for the vorbis libraries. I have currently no fix for this.

----------
ld: warning: ingoring file /usr/local/lib/libvorbisfile.a, file was built for archive which is not in the architecture being linked (i386): /usr/local/lib/libvorbisfile.a
ld: warning: ingoring file /usr/local/lib/libvorbisfile.a, file was built for archive which is not in the architecture being linked (i386): /usr/local/lib/libvorbisfile.a
Undefined symbols for arccitecture i386
  "_ov_clear", referenced from:
      _S_OGG_CodecOpenStream in snd_codec_ogg.o
      _S_OGG_CodecCloseStream in snd_codec_ogg.o
  "_ov_info", referenced from:
      _S_OGG_CodecOpenStream in snd_codec_ogg.o
  "_ov_open_callbacks", referenced from:
      _S_OGG_CodecOpenStream in snd_codec_ogg.o
  "_ov_pcm_total", referenced from:
      _S_OGG_CodecOpenStream in snd_codec_ogg.o
  "_ov_read", referenced from:
      _S_OGG_CodecReadStream in snd_codec_ogg.o
  "_ov_seekable", referenced from:
      _S_OGG_CodecOpenStream in snd_codec_ogg.o
  "_ov_streams", referenced from:
      _S_OGG_CodecOpenStream in snd_codec_ogg.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
----------
Comment 1 Zack Middleton 2014-07-26 02:35:15 EDT
USE_CODEC_VORBIS=1 now uses vorbis from ioq3 code tree by default. I tested and it compiled successfully on OS X 10.9.3.