Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Freeglut linker errors

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2012
    Posts
    2

    Freeglut linker errors

    Hi,

    I'm trying to recreate from scratch tutorials from Learning Modern 3D Graphics Programming guide and I have a problem with invoking glutInit function. This is my program:
    Code :
    #include <glload/gl_3_3.h>
    #include <GL/freeglut.h>
    #include <iostream>
     
    int main(int argc, char ** argv)
    {
    	glutInit(&argc, argv);
    	return 0;
    }
    I've added appropriate C++ preprocesor and linker options for including freeglut and glload headers and libraries but I'm getting linker errors:
    Code :
    make  all-recursive
    make[1]: Wejście do katalogu `/home/tomasz/tut06hierarchy'
    Making all in src
    make[2]: Wejście do katalogu `/home/tomasz/tut06hierarchy/src'
      CXXLD  tut06hierarchy
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_init.o): In function `fghGetAtom':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:104: undefined reference to `XInternAtom'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_init.o): In function `fghGetWindowProperty':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:132: undefined reference to `XGetWindowProperty'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_init.o): In function `fghNetWMSupported':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:197: undefined reference to `XFree'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:201: undefined reference to `XFree'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_init.o): In function `fghInitialize':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:243: undefined reference to `XOpenDisplay'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:246: undefined reference to `XDisplayName'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:248: undefined reference to `glXQueryExtension'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:249: undefined reference to `XDisplayName'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_init.o): In function `fgDeinitialize':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:396: undefined reference to `glXDestroyContext'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:482: undefined reference to `XSetCloseDownMode'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:488: undefined reference to `XCloseDisplay'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_init.o): In function `glutInit':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_init.c:840: undefined reference to `XParseGeometry'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_main.o): In function `fghReshapeWindow':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_main.c:101: undefined reference to `XResizeWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_main.c:103: undefined reference to `XFlush'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_main.c:166: undefined reference to `glViewport'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_main.o): In function `fghSleepForEvents':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_main.c:462: undefined reference to `XPending'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_main.o): In function `glutMainLoopEvent':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_main.c:975: undefined reference to `XNextEvent'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_main.c:1041: undefined reference to `glViewport'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_main.c:1091: undefined reference to `XRefreshKeyboardMapping'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_main.c:1284: undefined reference to `XQueryKeymap'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_main.c:1326: undefined reference to `XLookupString'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_main.c:973: undefined reference to `XPending'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_menu.o): In function `fghGetVMaxExtent':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:150: undefined reference to `XTranslateCoordinates'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_menu.o): In function `fghDisplayMenuBox':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:326: undefined reference to `glColor4f'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:327: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:328: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:329: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:330: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:331: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:332: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_menu.o):/home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:333: more undefined references to `glVertex2i' follow
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_menu.o): In function `fghDisplayMenuBox':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:334: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:337: undefined reference to `glColor4f'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:338: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:339: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:340: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:341: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:342: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:343: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_menu.o):/home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:344: more undefined references to `glVertex2i' follow
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_menu.o): In function `fghDisplayMenuBox':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:345: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:347: undefined reference to `glColor4fv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:348: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:349: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:350: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:351: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:352: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:353: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:371: undefined reference to `glColor4fv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:372: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:373: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:375: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:377: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:379: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:381: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:387: undefined reference to `glColor4fv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:395: undefined reference to `glColor4fv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:399: undefined reference to `glRasterPos2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:415: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:416: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:417: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:419: undefined reference to `glVertex2i'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:420: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:425: undefined reference to `glColor4fv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_menu.o): In function `fgDisplayMenu':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:494: undefined reference to `glPushAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:497: undefined reference to `glDisable'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:498: undefined reference to `glDisable'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:499: undefined reference to `glDisable'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:500: undefined reference to `glDisable'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:502: undefined reference to `glMatrixMode'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:503: undefined reference to `glPushMatrix'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:504: undefined reference to `glLoadIdentity'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:505: undefined reference to `glOrtho'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:511: undefined reference to `glMatrixMode'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:512: undefined reference to `glPushMatrix'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:513: undefined reference to `glLoadIdentity'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:517: undefined reference to `glPopAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:519: undefined reference to `glMatrixMode'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:520: undefined reference to `glPopMatrix'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:521: undefined reference to `glMatrixMode'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_menu.c:522: undefined reference to `glPopMatrix'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `fgChooseFBConfig':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:205: undefined reference to `glXChooseFBConfig'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:226: undefined reference to `glXGetFBConfigAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:232: undefined reference to `glXGetFBConfigAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:244: undefined reference to `XFree'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:251: undefined reference to `glXChooseFBConfig'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `fgSetWindow':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:597: undefined reference to `glXMakeContextCurrent'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `fghCreateNewContext':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:718: undefined reference to `glXCreateNewContext'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `fgOpenWindow':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:799: undefined reference to `glXGetVisualFromFBConfig'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:821: undefined reference to `XCreateColormap'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:839: undefined reference to `XCreateWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:872: undefined reference to `glXGetCurrentContext'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:881: undefined reference to `glXIsDirect'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:917: undefined reference to `XStringListToTextProperty'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:919: undefined reference to `XSetWMProperties'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:930: undefined reference to `XFree'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:932: undefined reference to `XSetWMProtocols'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:935: undefined reference to `glXMakeContextCurrent'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:942: undefined reference to `XMapWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:944: undefined reference to `XFree'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1118: undefined reference to `glDrawBuffer'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1119: undefined reference to `glReadBuffer'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `fgCloseWindow':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1131: undefined reference to `glXDestroyContext'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1132: undefined reference to `XFree'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1133: undefined reference to `XDestroyWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `glutShowWindow':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1308: undefined reference to `XMapWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1309: undefined reference to `XFlush'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `glutHideWindow':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1331: undefined reference to `XWithdrawWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1335: undefined reference to `XUnmapWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1337: undefined reference to `XFlush'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `glutIconifyWindow':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1359: undefined reference to `XIconifyWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1361: undefined reference to `XFlush'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `glutSetWindowTitle':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1390: undefined reference to `XSetWMName'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1396: undefined reference to `XFlush'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `glutSetIconTitle':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1432: undefined reference to `XSetWMIconName'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1438: undefined reference to `XFlush'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `glutPositionWindow':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1490: undefined reference to `XMoveWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1492: undefined reference to `XFlush'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `glutPushWindow':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1524: undefined reference to `XLowerWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `glutPopWindow':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1548: undefined reference to `XRaiseWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `ewmh_fullscr_toggle':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1600: undefined reference to `XSendEvent'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_window.o): In function `resize_fullscr_toogle':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1619: undefined reference to `XGetWindowAttributes'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_window.c:1627: undefined reference to `XMoveResizeWindow'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_ext.o): In function `fghGetProcAddress':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_ext.c:210: undefined reference to `glXGetProcAddressARB'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_spaceball.o): In function `spnav_x11_open':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:250: undefined reference to `XInternAtom'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:251: undefined reference to `XInternAtom'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:252: undefined reference to `XInternAtom'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:253: undefined reference to `XInternAtom'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_spaceball.o): In function `spnav_x11_window':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:294: undefined reference to `XSetErrorHandler'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:306: undefined reference to `XSendEvent'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:307: undefined reference to `XSync'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:309: undefined reference to `XSetErrorHandler'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_spaceball.o): In function `spnav_remove_events':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:374: undefined reference to `XCheckIfEvent'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_spaceball.o): In function `get_daemon_window':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:426: undefined reference to `XGetWindowProperty'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:432: undefined reference to `XFree'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:434: undefined reference to `XGetWMName'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_spaceball.o): In function `catch_badwin':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_spaceball.c:448: undefined reference to `XGetErrorText'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_gamemode.o): In function `glutEnterGameMode':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_gamemode.c:447: undefined reference to `XSync'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_gamemode.c:458: undefined reference to `XGrabPointer'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_gamemode.c:471: undefined reference to `XSetInputFocus'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_gamemode.c:479: undefined reference to `XWarpPointer'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_gamemode.c:521: undefined reference to `XGrabKeyboard'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_gamemode.o): In function `glutLeaveGameMode':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_gamemode.c:548: undefined reference to `XUngrabPointer'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_gamemode.c:549: undefined reference to `XUngrabKeyboard'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_display.o): In function `glutSwapBuffers':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_display.c:55: undefined reference to `glFlush'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_display.c:60: undefined reference to `glXSwapBuffers'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_misc.o): In function `glutExtensionSupported':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_misc.c:58: undefined reference to `glGetString'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_misc.o): In function `glutReportErrors':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_misc.c:129: undefined reference to `glGetError'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_teapot.o): In function `fghTeapot':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:91: undefined reference to `glPushAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:92: undefined reference to `glEnable'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:93: undefined reference to `glEnable'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:94: undefined reference to `glEnable'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:95: undefined reference to `glEnable'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:97: undefined reference to `glPushMatrix'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:98: undefined reference to `glRotated'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:99: undefined reference to `glScaled'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:100: undefined reference to `glTranslated'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:148: undefined reference to `glMap2d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:150: undefined reference to `glMap2d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:152: undefined reference to `glMapGrid2d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:153: undefined reference to `glEvalMesh2'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:154: undefined reference to `glMap2d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:156: undefined reference to `glEvalMesh2'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:158: undefined reference to `glMap2d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:160: undefined reference to `glEvalMesh2'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:161: undefined reference to `glMap2d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:163: undefined reference to `glEvalMesh2'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:168: undefined reference to `glPopMatrix'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_teapot.c:169: undefined reference to `glPopAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_state.o): In function `fghGetConfig':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:58: undefined reference to `glXGetFBConfigAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_state.o): In function `glutGet':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:204: undefined reference to `glGetIntegerv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:246: undefined reference to `glXGetVisualFromFBConfig'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:251: undefined reference to `XFree'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:271: undefined reference to `XTranslateCoordinates'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:285: undefined reference to `XTranslateCoordinates'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:304: undefined reference to `XGetWindowAttributes'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:332: undefined reference to `XFree'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_state.o): In function `glutDeviceGet':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:617: undefined reference to `XGetPointerMapping'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_state.o): In function `glutGetModeValues':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:844: undefined reference to `glXChooseFBConfig'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:863: undefined reference to `glXGetFBConfigAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_state.c:882: undefined reference to `XFree'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_font.o): In function `glutBitmapCharacter':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:115: undefined reference to `glPushClientAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:116: undefined reference to `glPixelStorei'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:117: undefined reference to `glPixelStorei'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:118: undefined reference to `glPixelStorei'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:119: undefined reference to `glPixelStorei'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:120: undefined reference to `glPixelStorei'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_font.o):/home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:121: more undefined references to `glPixelStorei' follow
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_font.o): In function `glutBitmapCharacter':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:122: undefined reference to `glBitmap'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:128: undefined reference to `glPopClientAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_font.o): In function `glutBitmapString':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:142: undefined reference to `glPushClientAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:143: undefined reference to `glPixelStorei'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:144: undefined reference to `glPixelStorei'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:145: undefined reference to `glPixelStorei'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:146: undefined reference to `glPixelStorei'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:147: undefined reference to `glPixelStorei'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_font.o):/home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:148: more undefined references to `glPixelStorei' follow
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_font.o): In function `glutBitmapString':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:158: undefined reference to `glBitmap'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:165: undefined reference to `glBitmap'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:175: undefined reference to `glPopClientAttrib'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_font.o): In function `glutStrokeCharacter':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:255: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:257: undefined reference to `glVertex2f'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:258: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:259: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:261: undefined reference to `glVertex2f'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:262: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:264: undefined reference to `glTranslatef'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_font.o): In function `glutStrokeString':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:289: undefined reference to `glTranslatef'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:301: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:303: undefined reference to `glVertex2f'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:306: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_font.c:310: undefined reference to `glTranslatef'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_cursor.o): In function `getEmptyCursor':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_cursor.c:59: undefined reference to `XCreateBitmapFromData'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_cursor.c:63: undefined reference to `XCreatePixmapCursor'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_cursor.c:66: undefined reference to `XFreePixmap'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_cursor.o): In function `fgSetCursor':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_cursor.c:130: undefined reference to `XCreateFontCursor'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_cursor.c:151: undefined reference to `XUndefineCursor'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_cursor.c:153: undefined reference to `XDefineCursor'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_cursor.o): In function `glutWarpPointer':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_cursor.c:255: undefined reference to `XWarpPointer'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_cursor.c:263: undefined reference to `XFlush'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireCube':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:77: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:77: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:77: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:77: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:77: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:77: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:77: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:78: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:78: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:78: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:78: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:78: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:78: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:78: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:79: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:79: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:79: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:79: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:79: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:79: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:79: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:80: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:80: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:80: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:80: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:80: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:80: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:80: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:81: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:81: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:81: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:81: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:81: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:81: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:81: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:82: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:82: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:82: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:82: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:82: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:82: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:82: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidCube':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:101: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:102: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:102: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:102: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:102: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:102: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:103: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:103: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:103: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:103: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:103: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:104: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:104: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:104: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:104: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:104: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:105: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:105: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:105: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:105: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:105: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:106: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:106: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:106: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:106: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:106: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:107: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:107: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:107: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:107: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:107: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:108: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidSphere':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:196: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:198: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:199: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:203: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:204: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:207: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:216: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:220: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:221: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:222: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:223: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:226: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:234: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:236: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:237: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:241: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:242: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:245: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireSphere':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:284: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:291: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:292: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:295: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:302: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:310: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:311: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:314: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidCone':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:361: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:363: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:364: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:367: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:369: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:375: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:379: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:380: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:381: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:387: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:392: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:394: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:398: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:399: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:400: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:401: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:404: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireCone':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:444: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:448: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:449: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:452: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:462: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:466: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:467: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:468: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:471: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidCylinder':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:502: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:503: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:504: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:506: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:507: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:509: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:510: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:511: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:513: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:514: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:526: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:529: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:530: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:531: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:533: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireCylinder':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:571: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:575: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:576: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:579: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:586: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:590: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:591: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:592: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:595: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireTorus':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:622: undefined reference to `glPushMatrix'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:653: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:658: undefined reference to `glNormal3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:659: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:662: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:667: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:672: undefined reference to `glNormal3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:673: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:676: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:681: undefined reference to `glPopMatrix'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidTorus':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:707: undefined reference to `glPushMatrix'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:736: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:742: undefined reference to `glNormal3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:743: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:744: undefined reference to `glNormal3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:745: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:746: undefined reference to `glNormal3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:747: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:748: undefined reference to `glNormal3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:749: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:753: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:757: undefined reference to `glPopMatrix'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireDodecahedron':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:773: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:774: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:774: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:774: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:774: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:774: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:774: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:775: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:776: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:777: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:777: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:777: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:777: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:777: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:777: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:778: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:779: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:780: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:780: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:780: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:780: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:780: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:780: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:781: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:782: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:783: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:783: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:783: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:783: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:783: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:783: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:784: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:786: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:787: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:787: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:787: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:787: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:787: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:787: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:788: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:789: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:790: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:790: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:790: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:790: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:790: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:790: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:791: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:792: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:793: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:793: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:793: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:793: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:793: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:793: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:794: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:795: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:796: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:796: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:796: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:796: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:796: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:796: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:797: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:799: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:800: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:800: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:800: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:800: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:800: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:800: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:801: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:802: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:803: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:803: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:803: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:803: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:803: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:803: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:804: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:805: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:806: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:806: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:806: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:806: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:806: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:806: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:807: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:808: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:809: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:809: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:809: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:809: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:809: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:809: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:810: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidDodecahedron':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:826: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:827: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:827: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:827: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:827: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:827: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:827: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:828: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:829: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:830: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:830: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:830: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:830: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:830: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:830: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:831: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:832: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:833: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:833: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:833: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:833: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:833: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:833: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:834: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:835: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:836: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:836: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:836: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:836: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:836: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:836: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:837: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:839: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:840: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:840: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:840: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:840: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:840: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:840: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:841: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:842: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:843: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:843: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:843: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:843: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:843: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:843: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:844: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:845: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:846: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:846: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:846: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:846: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:846: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:846: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:847: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:848: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:849: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:849: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:849: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:849: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:849: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:849: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:850: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:852: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:853: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:853: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:853: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:853: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:853: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:853: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:854: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:855: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:856: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:856: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:856: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:856: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:856: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:856: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:857: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:858: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:859: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:859: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:859: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:859: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:859: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:859: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:860: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:861: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:862: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:862: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:862: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:862: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:862: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:862: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:863: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireOctahedron':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:874: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:875: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:875: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:875: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:875: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:876: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:876: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:876: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:876: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:877: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:877: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:877: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:877: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:878: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:878: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:878: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:878: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:879: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:879: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:879: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:879: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:880: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:880: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:880: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:880: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:881: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:881: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:881: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:881: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:882: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:882: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:882: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:882: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:883: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidOctahedron':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:895: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:896: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:896: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:896: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:896: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:897: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:897: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:897: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:897: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:898: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:898: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:898: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:898: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:899: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:899: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:899: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:899: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:900: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:900: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:900: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:900: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:901: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:901: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:901: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:901: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:902: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:902: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:902: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:902: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:903: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:903: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:903: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:903: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:904: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireTetrahedron':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:937: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:938: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:938: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:938: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:938: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:939: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:939: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:939: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:939: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:940: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:940: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:940: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:940: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:941: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:941: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:941: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:941: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:942: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidTetrahedron':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:952: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:953: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:953: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:953: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:953: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:954: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:954: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:954: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:954: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:955: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:955: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:955: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:955: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:956: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:956: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:956: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:956: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:957: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireIcosahedron':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1013: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1014: undefined reference to `glNormal3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1015: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1016: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1017: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1018: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidIcosahedron':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1031: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1038: undefined reference to `glNormal3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1039: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1040: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1041: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1044: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireRhombicDodecahedron':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1105: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1106: undefined reference to `glNormal3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1107: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1108: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1109: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1110: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1111: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidRhombicDodecahedron':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1124: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1127: undefined reference to `glNormal3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1128: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1129: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1130: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1131: undefined reference to `glVertex3dv'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1134: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutWireSierpinskiSponge':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1148: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1149: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1155: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1158: undefined reference to `glEnd'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/lib/libfreeglutD.a(freeglut_geometry.o): In function `glutSolidSierpinskiSponge':
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1184: undefined reference to `glBegin'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1188: undefined reference to `glNormal3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1194: undefined reference to `glVertex3d'
    /home/tomasz/tut06hierarchy/glsdk_0.4.4/freeglut/src/freeglut_geometry.c:1198: undefined reference to `glEnd'
    collect2: ld returned 1 exit status
    make[2]: *** [tut06hierarchy] Błąd 1
    make[2]: Opuszczenie katalogu `/home/tomasz/tut06hierarchy/src'
    make[1]: *** [all-recursive] Błąd 1
    make[1]: Opuszczenie katalogu `/home/tomasz/tut06hierarchy'
    make: *** [all] Błąd 2
    What am I doing wrong?

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2006
    Location
    Downey, CA
    Posts
    20
    What operating system are you using?

    In case it helps I have a freeGLUT tutorial that helps you set up for Linux or OSX.
    Visit Lazy Foo' Productions home of my SDL tutorials

    Want to transition from OpenGL 2.1 to 3.0+? Check out my OpenGL Tutorial

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2012
    Posts
    2
    Thanks for answer!

    I've already soloved it, I didin't linked GL and GLU libraries. Btw. Thanks for freeGLUT tutorial, I'm definitely going to check it out!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •