MOTIF 2.x and higher needs you to link to libXp add -lXp to your linker. Suhaib
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Rob Lahaye > Sent: Tuesday, May 16, 2000 3:11 AM > To: opendx > Subject: [opendx-users] problems with OpenMotif on Linux PC > > > > Hi, > > I have problems compiling OpenDX 4.1.0 against > the OpenMotif rpm's (the "ICS" rpm's) on my > RedHat Linux 6.2 PC. > > These problems do not occur when I compile it against > LessTif. Isn't that strange? > > I wonder whether other run into the same problems. > > At the end of the make I get: > > c++ -g -O2 -I/usr/X11R6/include -L/usr/local/Mesa/lib -o dxui > ColormapDefinition.o Colorm apNode.o ComputeDefinition.o > ComputeNode.o DXLInputDefinition.o DXLInputNode.o DXLOutputDef > [snip; many more .o files] > ../dxuilib/libDXUI.a ../base/libBASE.a ../widgets/libWIDGETS.a > -L/usr/X11R6/lib -L/usr/local/lib -lm -lXm -lXmu -lXt -lX11 > -lXext -lnsl -ltiff -ljpeg -lpng -lbz2 -lz -ldl -lm -lSM -lICE > -L/usr/X11R6/lib -lXe xt -lXt -lX11 -L/usr/X11R6/lib > /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[3]: *** [dxui] Error 1 > make[3]: Leaving directory `/home/software/DX/dx/src/uipp/dxui' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/software/DX/dx/src/uipp' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/software/DX/dx/src' > make: *** [all-recursive] Error 1 > > > > Regards, > > Rob.
