[Openal] Compiling libraries on OS X

Mark Landis landi001 at csusm.edu
Tue Oct 31 21:13:55 PST 2006


Hi everyone,

I searched through the last couple of months of archives and found  
some information regarding the status of OAL on OS X, but didn't find  
the exact information I was looking for.

I've experienced a lot of problems with popping noises using the AL  
framework and OS X 10.4.8 (I can't say whether versions of X before  
this behaved differently).  I'm also experiencing problems with long  
delays before buffers are looped when looping is turned on (the  
source audio files themselves don't have long gaps at the end).  I'm  
currently working on a project for class, and my group is developing  
for OS X, Linux and Windows.  Only OS X exhibits these problems.  Has  
anyone experienced anything similar?

My second inquiry -- I decided to grab the source and build it myself  
so I could try debugging or at least see what's going on.  I ran into  
some snags during linking with the dynamic library, so I disabled it  
and opted for a static.  That compiled fine, but there are two  
unresolved symbols when I attempt to link the static lib into my  
project:

__alDetectx86CPUCaps
__alMMXmemcpy

These symbols are suspiciously similar to the errors I was seeing  
while building the shared library:

/usr/bin/libtool: file: .libs/libopenal.lax/libx86_asm_routines.a/ 
memcpy_mmx_prk.o is not an object file (not allowed in a library)
/usr/bin/libtool: file: .libs/libopenal.lax/libx86_asm_routines.a/ 
x86_cpu_caps_detect_prk.o is not an object file (not allowed in a  
library)

A quick check of the two files above show file sizes that are way too  
small: 184 and 88 bytes respectively.  When I "file" them, they are  
just reported as data.

Anyone have any clues?

Sorry for the long post, thanks for reading it though.

Mark
Cal State San Marcos



More information about the Openal mailing list