Hi,
I am building ( or trying to) on RH 7.1.
I removed all the config.cache files and did a make clean before re-running
configure. I added options to --disable-video-dga as well as any sound
support and anything that referenced dga in the output from
"configure --help".
Everything built and installed OK but I am still unable to build anything in
the test directory. I’ve tried a make all and a make on each individual file
but I get the same thing.
Any takers?
Failing that can somebody give me a URL for a good RPM of both the runtime
and development packages and some tutorial examples to help me get up and
running?
TIA,
Richard.
Does anyone have any advice for me?
It seems that almost every call made in libSDL.a contains an undefined
reference to something or other. Is this normal?
Rebuild the SDL library, but when you configure it, do so like this:
./configure --disable-video-dga
You might have to disable other SDL drivers if the support is missing on
your system.
–ryan.
---------------------original info------------------------------------
which sdl-config:
/usr/bin/sdl-config
sdl-config --version:
1.2.2
locate libSDL:
/usr/lib/libSDL-1.1.so.0
/usr/lib/libSDL-1.1.so.0.5.2
/usr/lib/libSDL.a
/usr/lib/libSDL.so
/usr/lib/libSDLmain.a
tail config.log:
configure:1863: gcc -o conftest -g -O2 conftest.c 1>&5
configure:1927: checking for shmat
configure:1955: gcc -o conftest -g -O2 conftest.c 1>&5
configure:2028: checking for IceConnectionNumber in -lICE
configure:2047: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c
-lICE 1>&5
configure:2123: checking for sdl-config
configure:2158: checking for SDL - version >=3D 1.2.0
configure:2243: gcc -o conftest -g -O2 -I/usr/X11R6/include
-I/usr/include/SDL -D_REENTRANT conftest.c -L/usr/lib
-Wl,-rpath,/usr/lib -lSDL -lpthread 1>&5
configure:2330: checking for OpenGL support
configure:2347: gcc -c -g -O2 -I/usr/X11R6/include -I/usr/include/SDL
-D_REENTRANT conftest.c 1>&5
errors:
gcc -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT
-DHAVE_OPENGL -o testver testver.o -L/usr/lib -Wl,-rpath,/usr/lib
-lSDL -lpthread
gcc -g -O2 -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT
-DHAVE_OPENGL -o testver testver.o -L/usr/lib -Wl,-rpath,/usr/lib
-lSDL -lpthread