[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 19990324: compilation problem: ptrdiff_t
- Subject: Re: 19990324: compilation problem: ptrdiff_t
- Date: Wed, 24 Mar 1999 12:17:00 -0700
Dear Gilles,
> To: address@hidden
> From: Gilles Moreau <address@hidden>
> Subject: netCDF library installation
> Organization: .
> Keywords: 199903241549.IAA14965
In the above message, you wrote:
> As I have got some difficulties in the installation of netCDF library, I
> send you the following pieces of information, according to the "Reporting
> Problems" section of the file INSTALL in the netCDF-3 release :
>
> Output of uname -a command : IRIX64 malle 6.5 07271714 IP27
...
> malle 40% which c89
> access control enabled, only authorized clients can connect
> xhost: must be on local machine to enable or disable access control.
> 147.210.67.1 being added to access control list
> xhost: must be on local machine to add or remove hosts.
> /usr/bin/c89
> malle 41% which CC
> access control enabled, only authorized clients can connect
> xhost: must be on local machine to enable or disable access control.
> 147.210.67.1 being added to access control list
> xhost: must be on local machine to add or remove hosts.
> /usr/bin/CC
> malle 42% which f77
> access control enabled, only authorized clients can connect
> xhost: must be on local machine to enable or disable access control.
> 147.210.67.1 being added to access control list
> xhost: must be on local machine to add or remove hosts.
> /usr/bin/f77
...
> creating cache ./config.cache
> checking for m4... m4
> checking for xlc... no
> checking for c89... c89
> checking C compiler... works
> checking how to make dependencies... cc -M
> checking for CC... CC
> checking C++ compiler "CC"... works
> checking how to run the C preprocessor... /lib/cpp
> checking for f77... f77
> checking for Fortran .F compiler...
> checking if Fortran compiler handles *.F files... yes
> checking for C-equivalent to Fortran routine "SUB"... sub_
> checking for Fortran "byte"... yes
> checking for Fortran "integer*2"... yes
> checking if Fortran "byte" is C "signed char"... yes
> checking if Fortran "byte" is C "short"... no
> checking if Fortran "byte" is C "int"... no
> checking if Fortran "byte" is C "long"... no
> checking if Fortran "integer*2" is C "short"... yes
> checking if Fortran "integer*2" is C "int"... no
> checking if Fortran "integer*2" is C "long"... no
> checking if Fortran "integer" is C "int"... yes
> checking if Fortran "real" is C "float"... yes
> checking if Fortran "doubleprecision" is C "double"... yes
> checking for Fortran-equivalent to netCDF "byte"... byte
> checking for Fortran-equivalent to netCDF "short"... integer*2
> checking for math library
> checking for -lc... no
> checking for -lm... yes
> checking for ar... ar
> checking for ranlib... :
> checking for stdlib.h... yes
> checking for sys/types.h... yes
> checking for strerror... yes
> checking whether cross-compiling... no
> checking for working ftruncate()... yes
> checking for working alloca.h... yes
> checking for alloca... yes
> checking for st_blksize in struct stat... yes
> checking for IEEE floating point format... yes
> checking for ANSI C header files... no
> checking for size_t... no
> checking for off_t... yes
> checking for ssize_t... no
> checking for ptrdiff_t... no
> checking for uchar... no
> checking whether char is unsigned... yes
> checking whether byte ordering is bigendian... yes
> checking size of short... 0
> checking size of int... 0
> checking size of long... 0
> checking size of float... 0
> checking size of double... 0
> checking size of off_t... 0
> checking size of size_t... 0
> checking for catman... no
> checking for makewhatis... no
> checking for manual-page index command...
> checking binary distribution directory...=
> /home/ftp/pub/binary/dummy_system
> updating cache ./config.cache
> creating ./config.status
> creating macros.make
> udcreating fortran/nfconfig.inc
> creating libsrc/ncconfig.h
...
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a=
> mistake.
>
> configure:1020: c89 -c -O -DNDEBUG conftest.c 1>&5
> Feature has expired (-10,32)
>
> The MIPSpro C Compiler
> (license FEATURE string =3D cc)
> requires a license password.
>
> For license installation and trouble shooting
> information visit the web page:
>
> http://www.sgi.com/Support/Licensing/install_docs.html
>
> To obtain a Permanent license (proof of purchase
> required) or an Evaluation license please
> visit our license request web page:
>
> http://www.sgi.com/Products/license.html
>
> or send a blank email message to:
>
> address@hidden
>
> In North America, Silicon Graphics' customers may request
> Permanent licenses by sending a facsimile to:
>
> (650) 932-0537
>
> or by calling our technical support hotline
>
> 1-800-800-4SGI
>
> If you are Outside of North America or you are not a Silicon
> Graphics support customer then contact your local support provider.=
Diagnosing the problem is more difficult and time-consuming if your
compiler includes the above message every time it is executed.
...
> Making `all' in directory /usr/people/moreau/netcdf-3.4/src/libsrc
>
> c89 -c -O -I. -DNDEBUG attr.c
> Feature has expired (-10,32)
>
> The MIPSpro C Compiler
> (license FEATURE string =3D cc)
> requires a license password.
>
> For license installation and trouble shooting
> information visit the web page:
>
> http://www.sgi.com/Support/Licensing/install_docs.html
>
> To obtain a Permanent license (proof of purchase
> required) or an Evaluation license please
> visit our license request web page:
>
> http://www.sgi.com/Products/license.html
>
> or send a blank email message to:
>
> address@hidden
>
> In North America, Silicon Graphics' customers may request
> Permanent licenses by sending a facsimile to:
>
> (650) 932-0537
>
> or by calling our technical support hotline
>
> 1-800-800-4SGI
>
> If you are Outside of North America or you are not a Silicon
> Graphics support customer then contact your local support provider.=
>
>
> "/usr/include/stddef.h", line 37: error(1084): invalid combination of type
> specifiers
> typedef int ptrdiff_t;
> ^
>
> "/usr/include/stddef.h", line 46: warning(1213): duplicate specifier in
> declaration
> typedef unsigned int size_t;
> ^
>
> "/usr/include/stddef.h", line 46: warning(1349): declaration requires a
> typedef name
> typedef unsigned int size_t;
> ^
>
> "/usr/include/sys/types.h", line 218: error(1084): invalid combination of=
> type
> specifiers
> typedef int ssize_t;
> ^
>
> 2 errors detected in the compilation of "attr.c".
> *** Error code 2 (bu21)
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
To help diagnose the problem, would you please compile the following
program:
$ cat foo.c
#include <sys/types.h>
#include <sys/param.h>
int main() { return 0; }
with the following command
$ c89 -c -O -DNDEBUG foo.c
and send me any output (both standard output and standard error).
--------
Steve Emmerson <http://www.unidata.ucar.edu>