Problems with SDL 1.2.8 on solaris


I’m having some issues with SDL-1.2.8 on solaris. (I was trying
to compile SDL_mixer-1.2.6 and I’m getting the following:

[15:37] e[1m/scratch/jessica/crap/SDL_mixer-1.2.6e[m(mein@e[1mcce[m) % make
Making all in timidity
make[1]: Entering directory /scratch/jessica/crap/SDL_mixer-1.2.6/timidity' make[1]: Nothing to be done forall’.
make[1]: Leaving directory /scratch/jessica/crap/SDL_mixer-1.2.6/timidity' make[1]: Entering directory/scratch/jessica/crap/SDL_mixer-1.2.6’
/bin/bash ./libtool --mode=link gcc -g -O2 -I/usr/local/include/SDL -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -o playwave playwave.o -L/usr/local/lib -R/usr/local/lib -lSDL -lpthread -lposix4
gcc -g -O2 -I/usr/local/include/SDL -D_REENTRANT -DUSE_RWOPS -DCMD_MUSIC -DWAV_MUSIC -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -DOGG_MUSIC -o .libs/playwave playwave.o ./.libs/ /opt/local/lib/ -L/opt/local/lib /opt/local/lib/ /opt/local/lib/ -L/usr/local/lib -L/scratch/jessica/cc/sparc-sun-solaris2.8/libstdc+±v3/src -L/scratch/jessica/cc/sparc-sun-solaris2.8/libstdc+±v3/src/.libs -L/scratch/jessica/cc/gcc -L/usr/ccs/bin -L/usr/ccs/lib -L/usr/openwin/lib /usr/local/lib/ /soft/gcc-3.4/SunOS5.8/lib/ -lgcc_s -lm -ldl -lX11 -lXext -lpthread -lposix4 -R/usr/local/lib -R/opt/local/lib -R/soft/gcc-3.4/SunOS5.8/lib
Undefined first referenced
symbol in file
SDL_RWFromFP ./.libs/
SDL_ReadBE16 ./.libs/
SDL_ReadBE32 ./.libs/
SDL_LoadWAV_RW ./.libs/
SDL_ReadLE32 ./.libs/
SDL_RWFromFile playwave.o
SDL_FreeWAV ./.libs/
SDL_MixAudio ./.libs/
ld: fatal: Symbol referencing errors. No output written to .libs/playwave
collect2: ld returned 1 exit status
make[1]: *** [playwave] Error 1
make[1]: Leaving directory `/scratch/jessica/crap/SDL_mixer-1.2.6’
make: *** [all-recursive] Error 1

I think the shared library is losing stuff:
% nm /usr/local/lib/libSDL.a | grep SDL_RWFromFile
000000000000047c T SDL_RWFromFile
% nm /usr/local/lib/ |grep SDL_RWFromFile
returns nothing though…

Anyone have any ideas how to fix this?


Kent Mein–