Post by Nick WarneWhat is the few lines before that error? That will show what it is failing
on.
Pardon the amount of text that follows. I copied after I saw the first
warning:
src/linux/cd_sdl.c:30: SDL.h: No such file or directory
src/linux/cd_sdl.c:37: syntax error before `*'
src/linux/cd_sdl.c:37: warning: type defaults to `int' in declaration of
`cd_id'
src/linux/cd_sdl.c:37: warning: data definition has no type or storage class
src/linux/cd_sdl.c: In function `CDAudio_Eject':
src/linux/cd_sdl.c:51: warning: implicit declaration of function
`SDL_CDEject'
src/linux/cd_sdl.c: In function `CDAudio_Play':
src/linux/cd_sdl.c:57: syntax error before `cd_stat'
src/linux/cd_sdl.c:63: `cd_stat' undeclared (first use in this function)
src/linux/cd_sdl.c:63: (Each undeclared identifier is reported only once
src/linux/cd_sdl.c:63: for each function it appears in.)
src/linux/cd_sdl.c:63: warning: implicit declaration of function
`SDL_CDStatus'
src/linux/cd_sdl.c:67: warning: implicit declaration of function
`CD_INDRIVE'
src/linux/cd_sdl.c:67: request for member `numtracks' in something not a
structure or union
src/linux/cd_sdl.c:71: request for member `numtracks' in something not a
structure or union
src/linux/cd_sdl.c:77: `CD_PLAYING' undeclared (first use in this function)
src/linux/cd_sdl.c:79: request for member `cur_track' in something not a
structure or union
src/linux/cd_sdl.c:83: warning: implicit declaration of function
`SDL_CDPlay'
src/linux/cd_sdl.c:83: request for member `track' in something not a
structure or union
src/linux/cd_sdl.c:84: request for member `track' in something not a
structure or union
src/linux/cd_sdl.c:86: warning: implicit declaration of function
`SDL_GetError'
src/linux/cd_sdl.c: In function `CDAudio_RandomPlay':
src/linux/cd_sdl.c:96: syntax error before `cd_stat'
src/linux/cd_sdl.c:102: request for member `numtracks' in something not
a structure or union
src/linux/cd_sdl.c:109: request for member `numtracks' in something not
a structure or union
src/linux/cd_sdl.c:111: request for member `track' in something not a
structure or union
src/linux/cd_sdl.c:111: `SDL_AUDIO_TRACK' undeclared (first use in this
function)
src/linux/cd_sdl.c:127: request for member `numtracks' in something not
a structure or union
src/linux/cd_sdl.c:133: `cd_stat' undeclared (first use in this function)
src/linux/cd_sdl.c:137: request for member `numtracks' in something not
a structure or union
src/linux/cd_sdl.c:144: `CD_PLAYING' undeclared (first use in this function)
src/linux/cd_sdl.c:146: request for member `cur_track' in something not
a structure or union
src/linux/cd_sdl.c:153: request for member `track' in something not a
structure or union
src/linux/cd_sdl.c:154: request for member `track' in something not a
structure or union
src/linux/cd_sdl.c: In function `CDAudio_Stop':
src/linux/cd_sdl.c:176: `CD_PLAYING' undeclared (first use in this function)
src/linux/cd_sdl.c:176: `CD_PAUSED' undeclared (first use in this function)
src/linux/cd_sdl.c:178: warning: implicit declaration of function
`SDL_CDStop'
src/linux/cd_sdl.c: In function `CDAudio_Pause':
src/linux/cd_sdl.c:187: `CD_PLAYING' undeclared (first use in this function)
src/linux/cd_sdl.c:189: warning: implicit declaration of function
`SDL_CDPause'
src/linux/cd_sdl.c: In function `CDAudio_Resume':
src/linux/cd_sdl.c:197: `CD_PAUSED' undeclared (first use in this function)
src/linux/cd_sdl.c:199: warning: implicit declaration of function
`SDL_CDResume'
src/linux/cd_sdl.c: In function `CDAudio_Update':
src/linux/cd_sdl.c:229: `CD_PLAYING' undeclared (first use in this function)
src/linux/cd_sdl.c:230: `CD_PAUSED' undeclared (first use in this function)
src/linux/cd_sdl.c: In function `CDAudio_Init':
src/linux/cd_sdl.c:253: warning: implicit declaration of function
`SDL_WasInit'
src/linux/cd_sdl.c:253: `SDL_INIT_EVERYTHING' undeclared (first use in
this function)
src/linux/cd_sdl.c:254: warning: implicit declaration of function `SDL_Init'
src/linux/cd_sdl.c:254: `SDL_INIT_CDROM' undeclared (first use in this
function)
src/linux/cd_sdl.c:259: warning: implicit declaration of function
`SDL_InitSubSystem'
src/linux/cd_sdl.c:265: warning: implicit declaration of function
`SDL_CDOpen'
src/linux/cd_sdl.c:265: warning: assignment makes pointer from integer
without a cast
src/linux/cd_sdl.c:282: request for member `numtracks' in something not
a structure or union
src/linux/cd_sdl.c: In function `CDAudio_Shutdown':
src/linux/cd_sdl.c:297: warning: implicit declaration of function
`SDL_CDClose'
src/linux/cd_sdl.c:300: `SDL_INIT_EVERYTHING' undeclared (first use in
this function)
src/linux/cd_sdl.c:300: `SDL_INIT_CDROM' undeclared (first use in this
function)
src/linux/cd_sdl.c:301: warning: implicit declaration of function `SDL_Quit'
src/linux/cd_sdl.c:303: warning: implicit declaration of function
`SDL_QuitSubSystem'
src/linux/cd_sdl.c: In function `CD_f':
src/linux/cd_sdl.c:323: `CD_PLAYING' undeclared (first use in this function)
src/linux/cd_sdl.c:323: `CD_PAUSED' undeclared (first use in this function)
src/linux/cd_sdl.c:362: request for member `numtracks' in something not
a structure or union
src/linux/cd_sdl.c:366: request for member `cur_track' in something not
a structure or union
src/linux/cd_sdl.c:371: request for member `cur_track' in something not
a structure or union
gmake[1]: *** [debugi386/client/cd_sdl.o] Error 1
gmake[1]: Leaving directory `/home/m0gely/temp/quake2-r0.16.1'
gmake: *** [build_debug] Error 2
--
- m0gely
http://quake2.telestream.com/
Q2 | Q3A | Counter-strike