Bug 26904 - undefined symbol: GLwCreateM2DrawingArea
Summary: undefined symbol: GLwCreateM2DrawingArea
Status: RESOLVED WONTFIX
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: 6.5
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 02:04 UTC by Paul Jaques
Modified: 2018-04-24 01:16 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Paul Jaques 2010-03-05 02:04:00 UTC
I have an OpenGL application that uses the function GLwCreateMDrawingArea and
the libGLw libraries. When the application is run on RH5.4 it works fine. When
the application is run on Fedora 12, it crashes with undefined symbol:
GLwCreateM2DrawingArea. On examination of the /usr/lib/libGLw.so.1.0.0 library
on both RH5.4 & Fedora12, I can see that the GLwCreateM2DrawingArea routines
are missing from the library.

If I replace the Fedora12 libraries with the RH5.4 libraries then my app runs
fine.

On RH5.4 I have package mesa-libGLw-devel-6.5.1-7.7.el5 installed.

On Fedora 12, I have package mesa-libGLw-devel-6.5.1-8.fc12.i686 installed

I have 2 questions:

1. My concern is that on RH5.4 in a next release I could lose the
GLwCreateMDrawingArea functionality, and so is this something that may be
being depreciated. In which case do I need to implement an alternative?

2. Is this is bug in Fedora 12?

Thanks, Paul.
Comment 1 Brian Paul 2010-03-05 16:03:01 UTC
The Xt GL drawing area widget is created with the function GLwCreateDrawingArea() and the Motif version is called GLwCreateMDrawingArea().  There's no "M2" version that I'm aware of.

Perhaps you're using a customized version of the widget code?

You could go into mesa/src/glw/ and hack up an M2 version for yourself.  Maybe that'll work.
Comment 2 Paul Jaques 2010-03-06 08:37:40 UTC
It looks like others have found similar problems, I just looked at http://ubuntuforums.org/showthread.php?t=373104.

I've used GLwCreateMDrawingArea on various Red Hat releases and it's always worked, and this is pretty well eastablished and standard code. I'm not sure what happens exactly, but I guess GLwCreateMDrawingArea get's mapped to GLwCreateM2DrawingArea via the include files - I haven't checked this, so not sure. The GLwCreateM2DrawingArea function is in my RHEL5.4 libraries, just not in my Fedora libraries.

For the time being I have a workaround by just using my RH libraries on Fedora, so at least the code is working OK.

Regards, Paul.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.