Are you using the SDL sources from - http://www.icculus.org/freespace2/?