Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!umriscc!ee.umr.edu From: jmd@ee.umr.edu (Jim Dumser) Newsgroups: comp.text.tex Subject: TeX with SunWindows Message-ID: <1320@umriscc.isc.umr.edu> Date: 23 Aug 90 22:08:52 GMT Sender: news@umriscc.isc.umr.edu Organization: EE Dept. - University of Missouri - Rolla Lines: 31 I've been trying to install TeX on our new Solbourne. It compiles fine with X11, but when trying to add SunWindows to it, I have problems with sun.c. It looks like this file was mangled as I got it. Lines 21 thru 26 look like this: /* * Gray background for graphics area */ short mf_graybackground_image[] = {0x5555, 0xaaaa}; mpr_static(mf_graybackground, 2, 2, 1, mf_graybackground_image); I get errors on line 26 (parse error before `_data', initializer for scalar variable requires one element, & warning: data definition lacks type or storage class). I can understand the errors -- line 26 is a function call, but it is at the global level (it isn't inside a function definition), but I don't know what is supposed to be going on. I've tried finding mpr_static(), but can't find it in any of the source files. I also tried commenting the line out, but then I get errors later in the file about mf_graybackground being undefined. Jim +-------------------------------------------------------+ | The fear of the Lord is the beginning of knowledge, | | but fools despise wisdom and discipline. Proverbs 1:7 | |-------------------------------------------------------| | Internet: jmd@ee.umr.edu | M S - D O S . . . | | UUCP: ...uunet!umree!jmd | Just say "NO!" | +-------------------------------------------------------+