compiling MESA-Motif widget app....undefined reference to `glwM2DrawingAreaWidgetClas
Hi,
I'm attempting to compile a MESA-Motif-Glut app on EL5. When this code is compiled, ld returns: oddgui.c:5474: undefined reference to `glwM2DrawingAreaWidgetClass' glwM2DrawingAreaWidgetClass is not referenced in the code: XtCreateWidget("OGLMwidget", glwMDrawingAreaWidgetClass, frame3, al, ac); It appears that GL/GLwDrawA.h is making the substitution: #if XmVERSION == 2 /* # define _GLwMDrawingAreaClassRec _GLwM2DrawingAreaClassRec # define _GLwMDrawingAreaRec _GLwM2DrawingAreaRec */ # define glwMDrawingAreaWidgetClass glwM2DrawingAreaWidgetClass # define glwMDrawingAreaClassRec glwM2DrawingAreaClassRec # define GLwCreateMDrawingArea GLwCreateM2DrawingArea #else #error "Sorry, unknown Motif version." #endif /* XmVERSION */ Yet both glwMDrawingAreaWidgetClass and glwM2DrawingAreaWidgetClass are in libGLw.so.1.0.0 I suspect that there's a problem in GLwDrawA because I don't see this problem under Solaris or Mac OSX. The relevant packages are: mesa-libGL-devel.i386 6.5.1-7.8.el5 mesa-libGLU-devel.i386 6.5.1-7.8.el5 mesa-libGLw-devel.i386 6.5.1-7.8.el5 openmotif-devel.i386 2.3.1-2.el5_4.1 freeglut-devel.i386 2.4.0-7.1.el5 Thanks, Jeff |
All times are GMT -5. The time now is 08:00 PM. |