Compiling help.

I’m trying to compile Blender from source, and I get this error:

intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:47:17: error: SDL.h: No such file or directory
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp: In member function ‘void SND_SDLCDDevice::init()’:
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:61: error: ‘SDL_INIT_CDROM’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:61: error: ‘SDL_InitSubSystem’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:68: error: ‘SDL_CDNumDrives’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:76: error: ‘SDL_CDOpen’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:81: error: ‘SDL_GetError’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp: In destructor ‘SND_SDLCDDevice::~SND_SDLCDDevice()’:
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:89: error: ‘SDL_CDClose’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp: In member function ‘void SND_SDLCDDevice::NextFrame()’:
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:97: error: ‘SDL_CDStatus’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:97: error: ‘CD_STOPPED’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:102: error: invalid use of undefined type ‘struct SDL_CD’
intern/SoundSystem/sdl/SND_SDLCDDevice.h:35: error: forward declaration of ‘struct SDL_CD’
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp: In member function ‘void SND_SDLCDDevice::PlayCD(int)’:
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:121: error: ‘SDL_CDStatus’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:121: error: ‘CD_INDRIVE’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:122: error: ‘SDL_CDPlayTracks’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp: In member function ‘void SND_SDLCDDevice::PauseCD(bool)’:
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:135: error: ‘SDL_CDPause’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:137: error: ‘SDL_CDResume’ was not declared in this scope
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp: In member function ‘void SND_SDLCDDevice::StopCD()’:
intern/SoundSystem/sdl/SND_SDLCDDevice.cpp:143: error: ‘SDL_CDStop’ was not declared in this scope
scons: *** [/home/tynach/My Documents/Blender/build/linux2/intern/SoundSystem/sdl/SND_SDLCDDevice.o] Error 1
scons: building terminated because of errors.

What does this mean, and how do I solve it? I’m new to compiling…

Using 32 bit Linux.

wrong forum.
but install development header files for your SDL.

.b