[Openal] Issues building OpenAL CVS (GNU/Linux)

wwp subscript at free.fr
Tue Nov 22 09:43:15 PST 2005


Hello there,


I'm trying hard to compile openal from CVS (HEAD) on my FC3 GNU/Linux system,
to match FlightGear 0.9.9's new dependencies.


First, the compilation issues I got. After checkouting from CVS/HEAD, I
ran ./autogen.sh from linux/src, then ./configure --prefix=/my/prefix.

I had to manually edit linux/src/Makefile in order to add the following bytes
to the CFLAGS line: -I ../include -I /usr/include/kde/artsc -I /usr/include/SDL

I could make and install openal w/o any other problem. I made another try:
removed all files, checkouted again, ./autogen.sh then:

./configure --prefix=/my/prefix --enable-esd --enable-sdl --enable-alsa
--enable-vorbis --enable-waveout --enable-capture --enable-arts --enable-null

and no need to edit linux/src/Makefile anymore! Funny. Did I miss anything?


Then, w/ alut: I had to manually edit alut/examples/Makefile and
alut/test_suite/Makefile to add the following bytes to the LIBS line:
-lopenal

but I finally got to skip building in alut/examples and alut/test_suite,
since I got this link error:
/usr/local/lib/libopenal.so: undefined reference to `_alFloatMul'

Bad chance, trying to link flightgear against openal shows the same problem,
so I'm stuck here w/ that undefine symbol issue.


I dug a lil' bit to find that this symbol is a function defined in
linux/src/arch/portable/floatmul.c and linux/src/arch/i386/floatmul.c, and
that the i386 files are referred in linux/src/Makefile as in variable
ARCH_OBJS.. which are not even compiled or linked anywhere in any Makefile.

What's wrong here? Any hint?


Regards,

-- 
wwp



More information about the Openal mailing list