rroux@rigel.sdd.trw.com (02/26/91)
I'm having problems running a Motif 1.0 application on a Sun Sparc running SunOS 4.1 and X11R4. Here's some vital statistics:
Machine: Sun Sparc 1+
Compiler: cc (for both the Motif libraries and application)
OS: SunOS 4.1
X11: R4
The only other Motif client that was compiled is mwm, which appears to be
working OK. The Motif libraries and application compiled without error,
I'm sure I'm using the correct includes and libs.
If I try to create a file selector:
myfsel = XmCreateFileSelectionDialog(mymain,fselwidgetname,arglist,0);
The program core dumps, dbx shows:
ConstraintGetValuesHook() at 0x3dd80
_XmManagerGetValuesHook() at 0x3df9c
CallGetValuesHook() at 0xa8098
CallGetValuesHook() at 0xa8068
XtGetValues() at 0xa8198
`SelectioB`Initialize() at 0x52b50
CallInitialize() at 0x98ce0
CallInitialize() at 0x98cb4
_XtCreate() at 0x9907c
XtCreateWidget() at 0x99274
XmCreateFileSelectionDialog() at 0x13bd0
If I don't create the file selector, it works just fine. The same code
runs (with file selector) just fine on a Sun 3/50 running SunOS 4.0.3 and
X11R4.
My guess is that the Motif libraries weren't built correctly. Any one have
an idea of what's wrong? Here's the defines that the Motif libraries
were built with:
-DSYS_DIR -DNO_REGEX -DSTRINGS_ALIGNED
Thanks,
Ray Roux
rroux@rigel.sdd.trw.com
Ray Roux
rroux@rigel.sdd.trw.com