project-navigation
Personal tools

Author Topic: ref_glx.so: undefined symbol: XF86VidModeQueryVersion  (Read 1929 times)

thetargos

  • Guest
ref_glx.so: undefined symbol: XF86VidModeQueryVersion
« on: April 05, 2007, 08:55:59 am »
Just stumbled into another brick wall... this error message which I don't know how to interpret. Any pointers appreciated, though.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
ref_glx.so: undefined symbol: XF86VidModeQueryVersion
« Reply #1 on: April 05, 2007, 09:10:12 am »
you have two options here:
* use sdl renderer - ./ufo +set vid_ref sdl
* change this function in your code - XF86VidMode... should be XVidMode - same applies for XF85DGA... calls - they should be XDGA.. calls.
these change are easy and you should make them in src/ports/linux/gl_glx.c and recompile. Currently the autodetection in our configure script lacks the supports for this - i'm sorry.

anyone can handle autoconf configure.ac?

thetargos

  • Guest
ref_glx.so: undefined symbol: XF86VidModeQueryVersion
« Reply #2 on: April 05, 2007, 09:16:46 am »
Thanks a lot, I'll try both, one for testing current build and the other for deffinitive fix. Thanks a LOT (maybe some #ifdefs are in order in gl_glx.c? Just an idea, I'm by no means, a coder)