MrmOpenHierarchy fails

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
MrmOpenHierarchy fails

Submitted by Anonymous (not verified) on Fri, 06/15/2012 - 12:07

An application which works perfectly on VMS and UNIX fails on Linux RedHat 4 AS with the following messages on the MrmOpenHierarchy function (return = 63):
_XmGetDEfaultDisplay cannot be used prior to VendorS.Initialize, returne NULL
Warning : Urm__OpenHierarchy: Display not yet opened - Invalid URM code
mwm is running and all seems OK (display has been opened by XtOpen Display)
Can somebody help me ??
Yoyo50690
‹ Motif 1.2 source code available help on ada95 with motif ›

lvdvelde

Tue, 06/14/2005 - 19:37#1

MrmOpenHierarchy fails

I had the same problem when porting some applications running on VMS and Tru64Unix workstations to SuSE Linux.
In my case, the problems were solved by correcting the order of the libraries in the link command

gcc -o

-L/usr/X11/lib -lMrm -lXm -lXt -lX11 The order is important put -lXm before -lXt and -lX11 !