SDL_loadso.h in less than recent SDL?

vincent at cojot.name vincent at cojot.name
Thu Dec 1 16:26:43 EST 2005


Hi everyone,

Just so you know:

I hadn't tried building ioq3 under Linux for some time and tonight I 
realized it fails on the following:

gcc  -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe 
-DUSE_OPENAL=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/SDL 
-D_REENTRANT -m32 -DNDEBUG -O3 -march=i686 -fomit-frame-pointer 
-ffast-math -funroll-loops -falign-loops=2 -falign-jumps=2 
-falign-functions=2 -fstrength-reduce -MMD -o 
releasei386-glibc/client/unix_main.o -c ../unix/unix_main.c
../unix/unix_main.c:51:24: SDL_loadso.h: No such file or directory
../unix/unix_main.c: In function `Sys_UnloadDll':
../unix/unix_main.c:733: warning: implicit declaration of function `SDL_UnloadObject'
../unix/unix_main.c: In function `try_dlopen':
../unix/unix_main.c:773: warning: implicit declaration of function `SDL_LoadObject'
../unix/unix_main.c:773: warning: assignment makes pointer from integer without a cast
../unix/unix_main.c: In function `Sys_LoadDll':
../unix/unix_main.c:839: warning: implicit declaration of function `SDL_LoadFunction'
../unix/unix_main.c:839: warning: assignment makes pointer from integer without a cast
../unix/unix_main.c:840: warning: assignment makes pointer from integer without a cast
gmake[2]: *** [releasei386-glibc/client/unix_main.o] Error 1
gmake[2]: Leaving directory 
`/export/home/raistlin/SVN/icculus/quake3-Solaris/code/unix'
gmake[1]: *** [build_release] Error 2
gmake[1]: Leaving directory 
`/export/home/raistlin/SVN/icculus/quake3-Solaris/code/unix'
gmake: *** [release] Error 2

I -do- have SDL installed, this never was a problem but perhaps my SDL 
version is a tad old..

[raistlin at thorbardin quake3-Solaris]$ rpm -q SDL
SDL-1.2.5-6
[raistlin at thorbardin quake3-Solaris]$ rpm -q SDL-devel
SDL-devel-1.2.5-6

[raistlin at thorbardin raistlin]$ ls /usr/include/SDL/
begin_code.h     SDL_cdrom.h    SDL_getenv.h    SDL_keysym.h  SDL_name.h 
SDL_syswm.h    SDL_video.h
close_code.h     SDL_copying.h  SDL.h           SDL_main.h    SDL_net.h 
SDL_thread.h
SDL_active.h     SDL_endian.h   SDL_image.h     SDL_mixer.h   SDL_opengl.h 
SDL_timer.h
SDL_audio.h      SDL_error.h    SDL_joystick.h  SDL_mouse.h   SDL_quit.h 
SDL_types.h
SDL_byteorder.h  SDL_events.h   SDL_keyboard.h  SDL_mutex.h   SDL_rwops.h 
SDL_version.h

That's on RHEL3 with RHEL's default SDL...

-- 
,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coyote at NOSPAM4cojot.name

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost





More information about the quake3 mailing list