[comp.sys.hp] Problems with Motif/gcc/R4

njw@doc.ic.ac.uk (N J Williams) (06/24/91)

Since we've had our hp's, one of the first things we did was ditch all
of the R3 stuff and install an r4 distribution of X.  This all worked
fine, but we've had difficulties with Motif - the applications give
strange error messages about undefined keys, the system is slow (okay,
slower than usual for motif :-) and often glitches on the display.

Fed up with this, I pulled across the binaries from me10 of motif1.1
built against r4.  Now every motif application I compile dies in the
Initialize functions: when built 'normally', the application just
blocks within malloc, and when built -lmalloc, it gives "Error: cannot
perform calloc".

This all happens during the first call.
E.g.
>       app_shell = XtInitialize(NULL, "Flawed", NULL, 0, &argc, argv);
wanders off through the X libraries until it hits ?alloc.

I don't know where the bad interaction is occuring... we have R4 libs
and client built from standard src. R4 server is the entity from me10.
The application in the above example is built using gcc-1.39 (It's in
ansi code so it needs gcc). I tried building a simpler application
using cc, but that barfed for some reason I forget on the motif header
files [sigh].

This is all on a hp9000/350 running hpux7.0

--
Nick Williams, Dept of Computing, Imperial College, London, UK.

jbb@hpcvlx.cv.hp.com. (Jim B. Byers) (06/25/91)

I don't know the source of the problem you mentioned but I want to let
you know where to get an updated server.


You can get the R4 server from hpcvaaz (15.255.72.15).  This is
the server based on the 7.03 R4 server.  It was modified to also
run fast on the 98550 graphics card (1280x1024 8 plane).  It is much
faster than the stock MIT tape R4 server on many displays and contains
many bug fixes over the one from MIT.  It is a supported server on Series
300 and 400 7.x systems.

It is worth getting!

It is available via anonymous ftp in pub/XServers

Jim Byers
Interface Technology Operation
Hewlett Packard

"Have you writen 1000 lines of Motif source with a click of a button
 using HP Interface Architect today?"