OpenCDE/opencde — Issue #17: Linker Error Ubuntu 11.10
Author: woomia
Created: 2012-01-23 02:58:01+00:00
State: open

In trying to compile the latest OpenCDE I get:

make[2]: Entering directory `/home/chris/OpenCDE-opencde-e387c96/src/dtpanel'
g++ -o ../../bin/dtpanel main.o PanelWindow.o ExitDialog.o Grab.o MenuWindow.o -L../../lib -L/usr/X11R6/lib -L/usr/local/lib -lmotifmm -lopencde
/usr/bin/ld: PanelWindow.o: undefined reference to symbol 'XpmReadFileToPixmap'
/usr/bin/ld: note: 'XpmReadFileToPixmap' is defined in DSO /usr/lib/libXpm.so.4 so try adding it to the linker command line
/usr/lib/libXpm.so.4: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [../../bin/dtpanel] Error 1
make[2]: Leaving directory `/home/chris/OpenCDE-opencde-e387c96/src/dtpanel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/chris/OpenCDE-opencde-e387c96/src'
make: *** [all] Error 2