[comp.windows.x] compiling Motif applications with C++

ken@csis.dit.csiro.au (Ken Yap) (10/29/90)

Has anybody encountered this problem with linking C++ programs with
Motif widgets? To be specific the program is Mri, from Widget Creation
Library.

Compiler: g++ 1.37.2
System: Sparcstation 1+, OS 4.1
Motif version: 1.0 binary only

Here's what happens when the program is run under gdb:

% gdb Mri
(gdb) r
Starting program: /proj/dbp/edss/v1/wcl/Mri

Program received signal 11, Segmentation fault
0xb8b70 in _XtLangExpand ()
(gdb) bt
#0  0xb8b70 in _XtLangExpand ()
#1  0xb9118 in XtLangExpand ()
#2  0xb68dc in XtToolkitInitialize ()
#3  0xb6c20 in XtToolkitInitialize ()
#4  0xb707c in _XtDisplayInitialize ()
#5  0xb132c in XtDisplayInitialize ()
#6  0xb1204 in XtOpenDisplay ()
#7  0xb744c in XtInitialize ()
#8  0x24f4 in main (...) (...)

Should I give up and wait for 1.1 with source? Thanks for any help.