Graham, actually, removing the --disable-printing option didn't seem to 
work for Ubuntu 14.04. I am not entirely sure we're using the debian 
rules...

In any event, it's definitely going down a rabbit hole... To get as far as 
I have, I've had to:
1) sudo apt-get build-dep motif (Needed to do this first as the next step 
fails without it)
2) apt-get source motif
3) sudo apt-get install x11proto-print-dev
4) cd to the motif-2.3.4 directory
5) edit debian/rules to remove the --disable-printing line
6) run the ./autogen.sh script
7) run make (since step 6 ran ./configure)
8) checked the /lib/Xm/.libs/libXm.so.4.0.4 file, and the needed symbol 
wasn't defined.
9) Checked the generated makefile, and references to PrintS.c are 
commented out.
10) removed the commenting out, ran make clean;make
11) Ran into an "not a function" error for _XmPrintShellGetValuesHook, 
whose definition in SyntheticI.h was ifdef'd out.
12) edited Xm.h to define PRINTING_SUPPORTED (in the "ifndef 
PRINTING_SUPPORTED" block @ line 46)

After doing all this, get a build error somewhere after libXm.so.4.0.4 
gets built, but the libXm.so.4.0.4 that contains the symbol I need, 

In classic "learn as you go" mode here. As I have to cross-compile for 32 
bit to test this old app, I added the i386 libc6 with
        sudo apt-get install libc6-dev-i386

But I'm not getting as far as the 64-bit compile did, which I would guess 
means that I'm currently using the wrong options (build/host/target) for 
./configure to get a 32-bit compile... Guessing target types...

=================================================================
Brian Cowan

Reply via email to