From Martin Maechler <maechler@stat.math.ethz.ch>  Thu Aug 14 13:01:31 1997
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Thu, 14 Aug 1997 14:01:31 +0200
Subject: R-alpha: Re: R-beta:  R-0.49 on IRIX6.1 does not compile
In-Reply-To: <9708140950.AA23517@isdux1.bham.ac.uk> (message from Dr X Cai on
 Thu, 14 Aug 1997 10:50:08 +0100)
Message-ID: <199708141201.OAA01160@sophie.ethz.ch>

>>>>> "XC" == X Cai <caix@isdugp.bham.ac.uk> writes:

    XC> Dear Martin, I am sorry to put the message for the alpha testing
    XC> software.  In fact, when I compiled version R-0.49, the same error
    XC> occurred to me.  Is R-0.49 also at alpha testing stage?  This means
    XC> that I cannot use any version of R.  Do you have any idea about the
    XC> compiling error?


Dear Cai,

R-0.49  was released as beta. 
and
it's good to know about compilation problems, even for alpha releases.

My point really was that you should send reports like these to R-devel
rather than R-help.

    XC> Your kind assistance would be greatly appreciated!

I can only help a little:

1) The 'statement is unreachable' is really just a warning.
   [ I also get a few of those when compiling 
     under Solaris 2.5.1 with Sun's cc.]
 
   They shouldn't have caused your compilation problem.

   [now, see below]

    XC> p.s.: The last few lines of message when compiling R-0.49:

    XC> 	cc -g -I../include -DPOSIX_MISTAKE -c regerror.c
    XC> 	cc -g -I../include -DPOSIX_MISTAKE -c regexec.c
    XC> "engine.c", line 604: warning(1110): statement is unreachable
    XC>   		break;
    XC>   		^

    XC> "engine.c", line 610: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 616: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 627: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 648: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 659: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 670: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 604: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 610: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 616: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 627: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 648: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 659: warning(1110): statement is unreachable
    XC> break; ^

    XC> "engine.c", line 670: warning(1110): statement is unreachable
    XC> break; ^



    XC> Signal: SIGSEGV in Scope Setup phase.
    XC> ### Error (user routine 'sdissect'):
    XC> ### Signal SIGSEGV in phase Scope Setup -- processing aborted
    XC> cc ERROR:  /usr/lib64/cmplrs/fec died due to signal 4
    XC> cc ERROR:  core dumped
    XC> *** Error code 2 (bu21)
    XC> *** Error code 1 (bu21)
    XC> *** Error code 1 (bu21)

Just above lies the compilation error culprit.
Unfortunately, I have no idea what  "Scope Setup phase"  means...

Can you find out what  'fec' is doing, or where  'bu21' comes from?


Probably someone else from the R-devel  list can help you better than I
do...
-- Martin

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: Re: R-beta: R-0.49 on IRIX6.1 does not compile
Martin Maechler