SRB2 depends on on outside libraries/programs (NASM, SDL, SDL_Mixer, FMOD, DirectX, libpng, zlib) so if you do not have them, then errors will come up!
now shut up, sit down and read the README file and how to get them or you will not get any more help with the SRB2 source code