[2051] in SIPB bug reports

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

Building xfig on a SparcStation 2GX running SunOS4.1.1

daemon@ATHENA.MIT.EDU (James C. Vlcek)
Mon Aug 26 10:56:36 1991

Date: Sun, 25 Aug 91 19:33:01 CDT
From: epimbe!vlcek@uunet.UU.NET (James C. Vlcek)
To: bug-sipb@ATHENA.MIT.EDU

I'm trying to build xfig on a SS2GX running SunOS4.1.1; the xfig is V2.0,
protocol 2.0 patch level 10.  I pulled the sources from
/afs/sipb/project/sipbsrc/src/xfig, and hacked the Makefile directly
(mainly because I'm not familiar with imake, and am still trying to piece
together an Imake.tmpl and whatever files I need to get imake to work
properly).

xfig is now up and running, with some small problems, most notably messages
like the following on startup:

  Warning: Widget class Form version mismatch (recompilation needed):
    widget 11004 vs. intrinsics 11003.

I presume that this means that the SS's libXt is X11R3 whereas the libXaw
I pulled down from /afs/net/system/sun4c_41/rsp.01/X/lib is X11R4.

At first, the executable tossed its cookies upon attempts to change the 
text font.  Upon inspection of font.c, I saw that there is #ifdef'd code
involving OpenWindows, so I #define'd OPENWIN (as one of the STD_DEFINES).
This had the immediate effect of making it impossible to link the final
executable, due to the undefined symbol _lower.  A call to lower() is 
made in the OpenWindows-specific section of font.c.  I haven't been able
to determine where lower() is defined.  Anyone have any ideas on this?

Thanks,
Jim Vlcek (epimbe!vlcek@uunet.uu.net)

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