Vitaliy Ivanov wrote: > On Mon, 2008-08-18 at 17:17, Brian Paul wrote: >> /Vitaliy Ivanov wrote: >> > On Fri, 2008-08-15 at 17:45, Vitaliy Ivanov wrote: >> >> Hello list, >> >> >> >> >> >> I'm experiencing the following issue: >> >> >> >> appname: symbol lookup error: applib.so: undefined symbol: >> >> glwMDrawingAreaWidgetClass >> >> >> >> I'm using mesa from the rpms on CentOS 5.1: >> >> >> >> mesa-libGL-6.5.1-7.5.el5 >> >> mesa-libGL-devel-6.5.1-7.5.el5 >> >> mesa-libGLw-devel-6.5.1-7.5.el5 >> >> mesa-libGLU-6.5.1-7.5.el5 >> >> mesa-libGLw-6.5.1-7.5.el5 >> >> mesa-libGLU-devel-6.5.1-7.5.el5 >> >> >> >> I googled that it can be fixed by downloading libGLw from official >> >> mesa >> >> site and substitute the one from rpms. >> >> >> >> >> //_http://downloads.sourceforge.net/mesa3d/libGLw.tar.gz?modtime=1011916800&big_mirror=0_ >> >> <http://downloads.sourceforge.net/mesa3d/libGLw.tar.gz?modtime=1011916800&big_mirror=0> >> >> >> >> Can anyone advise what is wrong with the lib from rpms? >> >> Why there is special lib for it on the mesa site? >> >> >> >> I know it has smth to do with __GLX_MOTIF during compilation stage as >> >> there is the following in src/glw/GLwDrawA.c >> >> >> >> #ifdef __GLX_MOTIF >> >> #define GLwDrawingAreaWidget GLwMDrawingAreaWidget >> >> #define GLwDrawingAreaClassRec GLwMDrawingAreaClassRec >> >> #define glwDrawingAreaClassRec glwMDrawingAreaClassRec >> >> #define glwDrawingAreaWidgetClass glwMDrawingAreaWidgetClass >> >> #define GLwDrawingAreaRec GLwMDrawingAreaRec >> >> #endif >> >> >> >> So official lib from the CentOS rpms don't define it during >> >> compilation? >> >> Why? >> >> >> >> Any help will be appreciated. >> >> >> >> Vitaliy >> > >> > Guys, no news at all? Any advises will be appreciated. >> >> The widget code can be build with or without Motif support (the 'M' in >> the symbols) with a preprocessor flag. I guess the rpm was >> built/compiled without that flag. The flag is off by default since >> Motif header files aren't always present. >> >> -Brian/ > > Tnx Brian. Yeah, it seems to be the only one reason. I didn't try to do > this for now. > I'm also interested what is special with libGLw at: > > /_http://downloads.sourceforge.net/mesa3d/libGLw.tar.gz?modtime=1011916800&big_mirror=0_/ > > <http://downloads.sourceforge.net/mesa3d/libGLw.tar.gz?modtime=1011916800&big_mirror=0> > > that mesa guys put it as a separate lib for download?
That's an old file. The GLw sources are included in the regular MesaLib tarball nowadays. There's probably no difference in the code. -Brian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev