[11782] in Athena Bugs

home help back first fref pref prev next nref lref last post

rsaix 7.6H: motif1.2 - lib/Xm/XmString.c

daemon@ATHENA.MIT.EDU (Bruce R. Lewis)
Thu Feb 24 11:53:58 1994

To: bugs@MIT.EDU
Date: Thu, 24 Feb 94 11:53:43 EST
From: "Bruce R. Lewis" <brlewis@MIT.EDU>

System name:		washington
Type and version:	POWER 7.6H
Display type:		colorgda

What were you trying to do?
	Compile xtechinfo with motif1.2

What's wrong:

No window appears.

(dbx) run

segmentation violation in ptrgl.strcmp [xtechinfo] at 0x1000f410
0x1000f410 (strcmp+0x8) 7ca01a2b     lscbx.   r5,r0,r3
(dbx) where
ptrgl.strcmp() at 0x1000f410
FontListSearch(0x6443616e, 0x2005e450, 0x1, 0x200c5178, 0x46) at 0x100968dc

I then compiled XmString.c with -g and when I ran xtechinfo again a
window appeared and the program ran pretty much normally.  Here's how I
compiled XmString.c:

xlc -D_ALL_SOURCE -g -D__STR31__   -I/mit/wcl -I/mit/wcl/include  -I/usr/athena/include -I/mit/x11/include  -DSYSV -DAIXV3 -D_ALL_SOURCE -I../libti/include -I/mit/wcl/include -I/mit/motifdev/src/MOTIF1.2.2/lib/Xm -c XmString.c

What should have happened:
	Just linking -lXm should have worked

home help back first fref pref prev next nref lref last post