undefined reference to `XF86VidModeGetModeLine'
I've had this error for an awful long amount of time, and it stops me compiling things that I really need. Done several Google searches but haven't found anything too conclusive. More info:
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -DINFO_OPENGL_AVAILABLE -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -o kcm_info.la -rpath /home/kdedev/kde-unstable/lib/kde3 -L/home/kdedev/kde-unstable/lib -L/usr/share/qt3/lib -L/usr/X11R6/lib -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined main.lo memory.lo opengl.lo -lkdeui -lGLU -lGL -lX11
/usr/lib/libGL.a(glxcmds.o)(.text+0x2eea): In function `glXGetMscRateOML':
: undefined reference to `XF86VidModeQueryVersion'
/usr/lib/libGL.a(glxcmds.o)(.text+0x2f1a): In function `glXGetMscRateOML':
: undefined reference to `XF86VidModeGetModeLine'
collect2: ld returned 1 exit status
make[3]: *** [kcm_info.la] Error 1
make[3]: Leaving directory `/home/kdedev/src/kde/kdebase/kcontrol/info'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kdedev/src/kde/kdebase/kcontrol'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kdedev/src/kde/kdebase'
make: *** [all] Error 2
|