[vox-tech] X errors when running opengl hello world program

Peter Jay Salzman vox-tech@lists.lugod.org
Thu, 16 May 2002 16:51:37 -0700


hi all,

i had inspiration to take a couple of hours out of today and learn
some opengl basics.

i *know* DRI is working because quake3 runs on this machine with no
issues that i know about, along with a whole bunch of other loki games.

i compiled gabe's "example1" from his opengl lugod talk, and here's what
i was greeted with (it's fatal):

p@satan% ./main 
libGL: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
libGL error: dlopen failed: /usr/X11R6/lib/modules/dri/tdfx_dri.so:
undefined symbol: XF86DRICloseFullScreen
libGL: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
libGL error: dlopen failed: /usr/X11R6/lib/modules/dri/tdfx_dri.so:
undefined symbol: XF86DRICloseFullScreen
./main: relocation error: /usr/X11R6/lib/libglut.so.3: undefined symbol:
XmuLookupStandardColormap

i get a similar message (but non fatal) using wine.  note i can still
play windows games on this machine even though i get the errors:

p@satan% winex falloutw.exe 
libGL: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
libGL error: dlopen failed: /usr/X11R6/lib/modules/dri/tdfx_dri.so:
undefined symbol: XF86DRICloseFullScreen
libGL: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
libGL error: dlopen failed: /usr/X11R6/lib/modules/dri/tdfx_dri.so:
undefined symbol: XF86DRICloseFullScreen

i'm pretty stumped.  i'd like to learn opengl, but i have no idea how to
get the example program to run on this machine.

the thing is, tdfx_dri comes from X, so aside from recompiling X from
scratch (which i'd rather not do), i'm pretty stumped.

would this be a bug in the debian packaging of X?

pete