Error on compiling OpenGl program: error linkin library : Hi Im new to opengl programming.. i installed ubuntu 64bit OS and installed all required libraries.. But today when compiling i got stuck with an error for which im unable to get solution 

so i compiled my program as

    cc aa.c -lglut  -lGLU -lGL

and following error appeared

    /urs/bin/ld: /tmp/ccCVosZx.o: undefined refrence to symbol 'cos@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line