From: Annette J. <ja...@ma...> - 2000-06-29 07:22:54
|
> I have installed mesa-3.2 under Redhat Linux 6.2, along with > the Openmotif libraries so that I can port a finite element > postprocessor called "griz" from SGI IRIX6.5 to Linux. I > have managed to get everything to compile but at link time > I am getting the undefined references listed below. > > Not sure what is going on here, seems like all the libraries > are being found but am still missing these references. Any > suggestions appreciated. > > Thanks, > > Jeff Weiss > we...@am... > > > hppc:/usr/local/griz/Griz_2.0 >make > cc -O -o griz.bin viewer.o faces.o geometric.o mdg_mem.o > mdg_in.o misc.o interpret.o time.o show.o draw.o results.o > iso_surface.o gui.o contour.o video.o stress.o strain.o node.o > frame.o time_hist.o shape.o flow.o poly.o explode.o > /usr/local/griz/Griz_2.0/Hershey/src/libhershey.a > /usr/local/griz/Griz_2.0/Image/libimage.a -L/usr/X11R6/lib -lXm > -lXt -lX11 -L/usr/local/lib -lMesaGLw -LMesaGLwM -lGLU -lGL -lm Theres a little Syntax error: *** Try to write -lMesaGLwM instead of -L, maybe this is the problem with glwMDrawingAreaWidgetClass! If not, You can really try to set the library path where libMesaGLwM.so lives: -L/some/path -lMesaGLwM. > gui.o: In function `gui_start': > gui.o(.text+0x43c): undefined reference to `glwMDrawingAreaWidgetClass' > gui.o: In function `create_mtl_manager': > gui.o(.text+0x1e5d): undefined reference to `glwMDrawingAreaWidgetClass' > /usr/X11R6/lib/libXm.so: undefined reference to `XpGetDocumentData' > /usr/X11R6/lib/libXm.so: undefined reference to `XpGetPageDimensions' > /usr/X11R6/lib/libXm.so: undefined reference to `XpGetOneAttribute' > /usr/X11R6/lib/libXm.so: undefined reference to `XpStartPage' > /usr/X11R6/lib/libXm.so: undefined reference to `XpGetScreenOfContext' > /usr/X11R6/lib/libXm.so: undefined reference to `XpQueryExtension' > /usr/X11R6/lib/libXm.so: undefined reference to `XpEndPage' > /usr/X11R6/lib/libXm.so: undefined reference to `XpSetImageResolution' > /usr/X11R6/lib/libXm.so: undefined reference to `XpEndJob' > /usr/X11R6/lib/libXm.so: undefined reference to `XpSelectInput' > /usr/X11R6/lib/libXm.so: undefined reference to `XpGetPdmStartParams' > /usr/X11R6/lib/libXm.so: undefined reference to `XpGetContext' > collect2: ld returned 1 exit status > make: *** [griz.bin] Error 1 > Maybe You can find Xp-Routines in another library like libXp*.so? You can use nm, if available, to look for the routines in the library. Maybe there are manpages for these X Routines and it tells You something about the library, to which the routine belong to. Bye, Annette Jaekel Technical University Berlin, Germany > > Jeffrey A. Weiss, Ph.D. > Biomedical Engineering Program, University of Arizona > phone: 520-626-5230 fax: 520-621-8191 we...@am... > http://biomech.ame.arizona.edu/~weiss/mrl > > _______________________________________________ > Mesa3d-users mailing list > Mes...@li... > http://lists.sourceforge.net/mailman/listinfo/mesa3d-users > |