[Rd] R-2.3.1 on AIX 5.3 installation.

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Aug 3 23:41:47 CEST 2006


That is not what I think those lines indicate in R-patched.  They are all
(in my copy, r38783, unchanged since r38499, 2006-07-06)

            case sizeof(long):

and all protected by

#if SIZEOF_LONG == 8

So the compiler used to do the configure and that used to do the 
compilation think 'long' is of different sizes.  This makes me think 
something has been altered (e.g. reverting from a 64- to a 32-bit build).

A quick fix would be to set SIZEOF_LONG to 4 in the config.h, but it would 
be better to fathom out how this is happening.  For example, was 
OBJECT_MODE set when configuring but not subsequently?


On Wed, 2 Aug 2006, Thomas Lumley wrote:

> On Wed, 2 Aug 2006, kamil Marcinkowski wrote:
> > latest R-patched: also fails.
> >
> >> /usr/vac/bin/xlc_r -I../../src/extra/zlib -I../../src/extra/bzip2 -
> >> I../../src/extra/pcre  -I. -I../../src/include -I../../src/include -
> >> I/usr/local/include -DHAVE_CONFIG_H   -O -qstrict -c connections.c -
> >> o connections.o
> >> "connections.c", line 2732.18: 1506-052 (S) Duplicate case label
> >> for value 4. Labels must be unique.
> >> "connections.c", line 2750.18: 1506-052 (S) Duplicate case label
> >> for value 4. Labels must be unique.
> >> "connections.c", line 2935.18: 1506-052 (S) Duplicate case label
> >> for value 4. Labels must be unique.
> >> "connections.c", line 2979.18: 1506-052 (S) Duplicate case label
> >> for value 4. Labels must be unique.
> 
> 
> This looks as if sizeof short = sizeof int = 4, which is permitted by the 
> C standard, but distinctly unusual.
> 
> If so, you could delete 
> or #ifdef out the
>    case sizeof(short):
> lines to remove the duplication.
> 
>  	-thomas
> 
> Thomas Lumley			Assoc. Professor, Biostatistics
> tlumley at u.washington.edu	University of Washington, Seattle
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list