 From: eplan@kapsch.net& Sent: Sunday, January 09, 2000 2:47 PM To: Info-VAX@Mvb.Saic.Com . Subject: Re: XPDF 0.90 build problems on Alpha  R In article <858k81$mjl@gap.cco.caltech.edu>, mathog@seqaxp.bio.caltech.edu writes:X >In article <387677ac$1@news.kapsch.co.at>, eplan@kapsch.net (Peter LANGSTOEGER) writes:K >>I just tried to build XPDF 0.90 on VAX and Alpha. No problem on VAX but a F >>lot of messages on Alpha (approx 25000 lines !!) during VMS_MAKE.COM >>$ >>Most of the messages are like this >> >>extern XActivateScreenSaver( >>........^ L >>%CXX-W-NOSIMPINT, omission of explicit type is nonstandard ("int" assumed)? >>at line number 2011 in file SYS$COMMON:[DECW$INCLUDE]XLIB.H;1  > L >I just went through the same thing this afternon.  Here are enough fixes to >get you running:  > E >1. Add /warn=disable=NOSIMPINT to the CXXCOMP definition in the top   >   vms_make.com file.  E Yes. Fighting the symptom is a lot easier than fighting the cause ;-) D But preventing 25000 lines in logfile is worth to fight the symptom.F And I gave up the idea of finding out the real cause (the CXX V6.2 vs.< earlier versions differences are enough reasons for me now).  & >2. Add a definition in the same file: >  >   $ mylink :== cxxlink > C >3. replace all "$ LINK" with "$ MYLINK" in all vms_make.com files.  > H >(or you could just replace link  in those files directly with CXXLINK.)  G It's a shame. I should have known this. Now you told me, I remember it. N I went already through this with my last XPDF build (0.70, about 2 years ago)., Now I wonder why my docu of this got lost...  G >It should build ok after that, with just a few warnings.  (There's one 2 >variable which is used before it is initialized.)  K On VAX it builds without any message (just like before). On Alpha it builds  now ok with the message      obj5.free(); ..^ 0 %CXX-W-CODEUNREACHABLE, statement is unreachableM at line number 615 in file DISK$SOFT:[SOURCE.XPDF.XPDF-0_90.XPDF]GFXFONT.CC;1   /   if (dashLength > 0 && cap == CapProjecting) {  ......^ K %CXX-W-USEDBEFORESET, variable "dashLength" is used before its value is set Q at line number 1416 in file DISK$SOFT:[SOURCE.XPDF.XPDF-0_90.XPDF]XOUTPUTDEV.CC;1   J It seems, that the code has some shortcomings, which C++ V5.6A/V6.0 didn'tL note and C++ V6.2 (currently Alpha only) now complains at. This makes sense,9 since C++ V6.2 arrived weeks after XPDF 0.90 went public.   L >XPDF ran ok once I did the above, except that the "print" command is hosed,F >it tries to write to a file '[USRDISK:[USERS.MATHOG]]file.pxdf;1.ps'!L >That's a code problem and it looks kind of familiar, so maybe it was around! >all the way back in version 0.7.   & Omit the version number and try again. Beyond that, can't comment.    I did this now:    $ dif vms_make.com ************4 File DISK$SOFT:[SOURCE.XPDF.XPDF-0_90]VMS_MAKE.COM;21    69   $   IF F$GETSYI ("ARCH_NAME") .EQS. "VAX"     70   $   THEN	!C++ V5.6A 9    71   $   cxxcomp :== "CXX /PREFIX=ALL ''defs' ''incs'"     72   $   ELSE	!C++ V6.2M    73   $   cxxcomp :== "CXX /PREFIX=ALL /WARN=DIS=NOSIMPINT ''defs' ''incs'"     74   $   ENDIF !    75   $   link    :== "CXXLINK"     76   $ endif  ******4 File DISK$SOFT:[SOURCE.XPDF.XPDF-0_90]VMS_MAKE.COM;19    69   $   cxxcomp :== "CXX /PREFIX=ALL ''defs' ''incs'"     70   $ endif  ************  & Number of difference sections found: 1% Number of difference records found: 7     DIFFERENCES /IGNORE=()/MERGED=1-4     DISK$SOFT:[SOURCE.XPDF.XPDF-0_90]VMS_MAKE.COM;2-3     DISK$SOFT:[SOURCE.XPDF.XPDF-0_90]VMS_MAKE.COM;1    Many thanks.   --  < Peter "EPLAN" LANGSTOEGER           Tel.    +43 1 81111-2651; Network and OpenVMS system manager  Fax.    +43 1 81111-888 < FBFV/Information Services           E-mail  eplan@kapsch.netF <<< KAPSCH AG  Wagenseilgasse 1     PSImail PSI%(0232)281001141::EPLANH A-1121 VIENNA  AUSTRIA              "I'm not a pessimist, I'm a realist"N "VMS is today what Microsoft wants Windows NT V8.0 to be!" Compaq, 22-Sep-1998