Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!pprg.unm.edu!hc!lll-winken!uunet!vuwcomp!mark From: mark@comp.vuw.ac.nz (Mark Davies) Newsgroups: comp.windows.x Subject: Re: X11R3 on Pyramid Message-ID: <14775@comp.vuw.ac.nz> Date: 8 May 89 21:46:56 GMT References: <8905051503.AA07259@expo.lcs.mit.edu> Reply-To: mark@comp.vuw.ac.nz (Mark Davies) Organization: Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand. Lines: 32 In article <8905051503.AA07259@expo.lcs.mit.edu> S.Davey@CS.UCL.AC.UK writes: >I'm currently trying to compile X11R3 for our Pyramid >(running OSx4.2) but am having problems with the >Athena Widget Library (Xaw) [...] >To: mark@nz.ac.vuw.comp >Subject: X11R3 on Pyramid >I received a forwarded message which you sent out in December >concerning installation of X11R3 on Pyramids. >I followed the instructions given in your message >(i.e I altered Login.h for Xdm and also created >pyr.macros ) but I can't get the Athena widget set >Xawlib.a to compile. The compiler fails on >AsciiSink.c and complains that line 58 of TextSrcP.h has >a missing semi-colon but on investigation there is no >missing semi-colon. Whoops, sorry I forgot about this problem when I posted my instructions. As other people have pointed out the Pyramid compiler has a name clash problem between the global Display and the pointer to function Display that is a member of struct _XtTextSink. To fix this I renamed the struct member to DisplayX everywhere it occurs (TextSrcP.h, Text.c and AsciiSink.c). Martin Fong's fix (Ref: <8905051503.AA07259@expo.lcs.mit.edu>) of defining a typedef and then using that in the struct looks a better fix, as it requires only a minimal change to one file. cheers mark-- Domainised: mark@comp.vuw.ac.nz Bang form: ...!uunet!vuwcomp!mark