SDL on Irix broken?

Hi!

I tried to compile SDL (the current CVS snapshot) under Irix 6.5.
Everythinh seemed to work ok. After make install I wanted to try the
tests that come with SDL:

killes at helios:/tmp/killes/SDL-1.2/test$ ./configure

ends with:

checking for sdl-config… /home/killes/bin/sdl-config
checking for SDL - version >= 1.2.6… 2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alSetSampFmt
2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alSetChannels
2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alWriteFrames
2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alNewConfig
2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alFreeConfig
2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alSetParams
2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alSetWidth
2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alOpenPort
2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alGetFillable
2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alClosePort
2075114:./conftest: rld: Error: unresolvable symbol in /home/killes/lib/libSDL-1.2.so.1: alSetQueueSize
2075114:./conftest: rld: Fatal Error: this executable has unresolvable symbols
no
*** Could not run SDL test program, checking why…
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you’ll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** SDL version 1.2.6 not found!

I have only one version of SDL installed. It is located in $HOME/lib
and this is where the sdl-config script looks for it.

Any hints?

Cheers,
Gerhard

Hello Gerhard ,

the errors seem to indicate that it is not linking to openal …
so several error possibilities

  • you dont have openal installed
  • configure should have found openal or flagged an error
  • it is looking in the wrong place for openal

Hope you fix it soon,

Steve Houseman–

currently : | for strace, an annotator see -
@steve_houseman | http://www.houseman.demon.co.uk/

steve houseman writes:

Hi Steve!

the errors seem to indicate that it is not linking to openal …
so several error possibilities

  • you dont have openal installed

Indeed, I had not. Compiling now.

  • configure should have found openal or flagged an error

It didn’t.

  • it is looking in the wrong place for openal

Hope you fix it soon,

I hope so too. But installing openAl did not help.

Actually, libSDL is not linked against openAl:

killes at helios:/home/killes/lib$ ldd libSDL-1.2.so.1.7
libm.so => /usr/lib32/libm.so
libdl.so => /usr/lib32/libdl.so
libX11.so.1 => /usr/lib32/libX11.so.1
libXext.so => /usr/lib32/libXext.so
libc.so.1 => /usr/lib32/libc.so.1

It should probably be. How can I get SDL to link against openAl?

None of the configure options look right.

Cheers,
Gerhard

snip

I hope so too. But installing openAl did not help.

Actually, libSDL is not linked against openAl:

killes at helios:/home/killes/lib$ ldd
libSDL-1.2.so.1.7
libm.so => /usr/lib32/libm.so
libdl.so => /usr/lib32/libdl.so
libX11.so.1 => /usr/lib32/libX11.so.1
libXext.so => /usr/lib32/libXext.so
libc.so.1 => /usr/lib32/libc.so.1

It should probably be. How can I get SDL to link
against openAl?

Not sure… but if compiling an application, just have
said application link openAL and you should be fine.

This should, of course, be fixed for future SDL releases.__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software