Game Development Community

TGE linker error: XMissingExtension

by Mike Nelson · in Torque Game Engine · 01/08/2003 (8:52 pm) · 3 replies

I installed Linux for the first time a little bit ago and just got around to playing with it a bit. Man this OS is way cool!

Anyway, I've been messing with getting TGE working. But I'm getting linker errors like the following on a bunch of the object files.
Xinerama.lo(.text+0x615): undefined reference to 'XMissingExtension'
Xinerama.lo(.text+0x633): undefined reference to '_XFlush'
Xinerama.lo(.text+0x66c): undefined reference to '_XReply'
Xinerama.lo(.text+0x6db): undefined reference to '_XRead'
Xinerama.lo(.text+0x72f): undefined reference to '_XEatData'
After reading through a bunch of posts on several sites I think that this has something to do with one or more of the following: XFree86, MesaLib, GLUT. So I went out and reinstalled all of these with no luck (by the way I installed the Mesa tutorials to effectively install GLUT). This didn't have any effect. I even went did a 'make clean' to be sure.

Maybe I didn't do something right when installing the libs. I'm not sure how to validate that the libs are installed correctly, and I'm really new at this Linux stuff. Am I on the right path?

Thanks,
Mike

#1
01/09/2003 (9:53 am)
Hmmm...what distro are you running? Xinerma isn't even used by torque, its probably getting pulled in by SDL. It should still link ok though...
#2
01/09/2003 (10:10 am)
I'm using the Redhat 8.0 distro.

Edit: I realized I forgot to put the most important piece of information in this post. :P
#3
01/09/2003 (5:30 pm)
Installing the latest SDL rpm's fixed it. Thanks for the tip John.