/usr/local/lib/libIrrlicht.a(CIrrDeviceLinux.o): In function `irr::CIrrDeviceLinux::getVideoModeList()':
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1077: undefined reference to `XOpenDisplay'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1113: undefined reference to `XRRQueryExtension'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1116: undefined reference to `XRRGetScreenInfo'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1117: undefined reference to `XRRConfigCurrentConfiguration'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1118: undefined reference to `XRRConfigSizes'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1126: undefined reference to `XRRFreeScreenConfigInfo'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1136: undefined reference to `XCloseDisplay'
...
(also happen with COpenGL*)
I'm not sure what it is. I have search over the net but no luck.
//! On some Linux systems the XF86 vidmode extension or X11 RandR are missing. Use these flags
//! to remove the dependencies such that Irrlicht will compile on those systems, too.
#if defined(LINUX) && !defined(__sun__)
#define _IRR_LINUX_X11_VIDMODE_
//#define _IRR_LINUX_X11_RANDR_
#endif
//Change it so that fourth and fifth lines look like this:
//#define _IRR_LINUX_X11_VIDMODE_
#define _IRR_LINUX_X11_RANDR_
You have to put the mentioned command line option to you LDFLAGS line. After all, your compiler needs to know that you want to use libXrandr.so and that's the way to do this. Read up on linker flags for gcc and search your computer for this library.
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:300: undefined reference to `glXQueryVersion'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:330: undefined reference to `glXChooseFBConfig'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:336: undefined reference to `glXChooseFBConfig'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:342: undefined reference to `glXChooseFBConfig'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:365: undefined reference to `glXChooseFBConfig'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:371: undefined reference to `glXChooseFBConfig'
/usr/local/lib/libIrrlicht.a(CIrrDeviceLinux.o):/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:377: more undefined references to `glXChooseFBConfig' follow
/usr/local/lib/libIrrlicht.a(CIrrDeviceLinux.o): In function `irr::CIrrDeviceLinux::createWindow()':
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:429: undefined reference to `glXGetVisualFromFBConfig'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:449: undefined reference to `glXChooseVisual'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:459: undefined reference to `glXChooseVisual'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:464: undefined reference to `glXChooseVisual'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:579: undefined reference to `glXCreateWindow'
...
/usr/local/lib/libIrrlicht.a(COpenGLDriver.o): In function `irr::video::COpenGLDriver::deleteAllDynamicLights()':
/home/tntonly/.devapi/irrlicht/source/Irrlicht/COpenGLDriver.cpp:2228: undefined reference to `glDisable'
/usr/local/lib/libIrrlicht.a(COpenGLDriver.o): In function `irr::video::COpenGLDriver::uploadClipPlane(unsigned int)':
/home/tntonly/.devapi/irrlicht/source/Irrlicht/COpenGLDriver.cpp:2980: undefined reference to `glClipPlane'
/usr/local/lib/libIrrlicht.a(COpenGLDriver.o): In function `irr::video::COpenGLDriver::enableClipPlane(unsigned int, bool)':
/home/tntonly/.devapi/irrlicht/source/Irrlicht/COpenGLDriver.cpp:2994: undefined reference to `glEnable'
/home/tntonly/.devapi/irrlicht/source/Irrlicht/COpenGLDriver.cpp:2998: undefined reference to `glDisable'
/usr/local/lib/libIrrlicht.a(COpenGLDriver.o): In function `irr::video::COpenGLDriver::clearZBuffer()':
/home/tntonly/.devapi/irrlicht/source/Irrlicht/COpenGLDriver.cpp:2855: undefined reference to `glGetBooleanv'
..
EDIT: Well, I've just add one more libglut.so, and every errors disappear. The HelloWord is able to compile properly. Thanks everyone ^^