Linker Errors

I am pretty new to programming. I learned C++ a while ago, and am now reading the "OpenGL SuperBible Second Edition". It is slightly old, teaches OpenGL 1.2. I am trying to compile a simple program using Dev C++, but it keeps throwing several linker errors. Can anyone please help me out?
Code:

//Simple.cpp
#include<windows.h>
#include<glut.h>
//Called to draw scene
void RenderScene()
{
//Clear the window with current clearing color
glClear(GL_COLOR_BUFFER_BIT);
//Flush draw commands
glFlush();
}

//Set up the rengering state
void SetupRC()
{
glClearColor(0.0f, 0.0f, 1.0f, 1.0f);
}

//Main
int main()
{
glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
glutCreateWindow("Simple");
glutDisplayFunc(RenderScene);
SetupRC(); glutMainLoop();
}

The linker errors are:

[Linker Error] undefined reference to 'glClear@4'
[Linker Error] undefined reference to 'glFlush@0'
[Linker Error] undefined reference to 'glClearColor@16'
[Linker Error] undefined reference to 'glutInitDisplayMode@4'
[Linker Error] undefined reference to 'glutCreateWindow@4'
[Linker Error] undefined reference to 'glutDisplayFunc'
[Linker Error] undefined reference to 'glutMainLoop@0'
Id returned 1 exit status

Any help is greatly appreciated
-sotsilent
[1497 byte] By [sotsilent] at [2007-11-19 19:42:06]
# 1 Re: Linker Errors
Add Opengl32.lib and glut.lib to the list of libraries for linker.
BTW, old Superbible edition is quite good, 90% of OpenGL is still the same, and you can use it without problems.
Alex F at 2007-11-10 3:49:40 >