cant rotate with glut

im making an opengl app using glut on BeOS, and i cant get it to rotate using the glRotatef(); function why could this be?