> [root at RedHat share]# g++ -o test test.cpp -ISDL
That "-ISDL" probably needs to be "-lSDL" (lowercase L, not uppercase i).
You might want to do this, though:
g++ -o test test.cpp `sdl-config --cflags --libs`
(note the "`" is not a "'")
--ryan.