[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 960503: netcdf-2.4.2 and IRIX 6.2 compile problem...



>Keywords: 199605032151.AA13669

Hi Mike,

>       I can't get netcdf to compile on a Power Challenge R10000 running IRIX 
> 6.2.
> It does compile on IRIX 5.3 on an Indy, so it must be a OS problem, or C or 
> maybe
> because the R10000/ IRIX 6.2  is 64 bit?  Thanks.

It builds and all the tests work fine on our R10000/IRIX64 6.1, so it may
be something in the change from 6.1 to 6.2?  We don't have a 6.2 platform
here, so I'll have to compare the output you sent with what we get on 6.1 to
see if I can spot a difference.  Thanks for sending all the output from
configure.

One difference I spot immediately is that "configure" run on IRIX 6.1
doesn't find the "c89" compiler, so uses "cc".  Is "c89" new with 6.2?

--Russ

> Configure....
> 
> mist 65# configure
> creating cache ./config.cache
> checking for catman... no
> checking for fill-value usage... new usage
> checking the installation prefix... /mlarge/root/netcdf-2.4.2
> checking the installation exec-prefix... /mlarge/root/netcdf-2.4.2
> checking for c89... c89
> checking type of operating system... irix64
> checking type of machine... ip25
> checking for ranlib... :
> checking how to run the C preprocessor... c89 -E
> checking the C preprocessor... works
> checking for f77... f77
> checking for CC... no
> checking for CC... no
> checking for cxx... no
> checking for c++... no
> checking for g++... no
> checking for gcc... no
> checking for yacc... yacc
> checking for neqn... cat
> configure: warning: configure: Can't find program `neqn'; setting to `cat'
> checking for tbl... cat
> configure: warning: configure: Can't find program `tbl'; setting to `cat'
> checking for ar... ar
> checking for makeinfo... no
> checking for tar flags... -chof
> checking for dependency generation mechanism... c89 -M
> checking whether cross-compiling... no
> checking size of int... 4
> checking size of long... 4
> checking type of nclong... long
> checking endianess... big endian
> checking type of netlong... long
> checking type of internal netlong... long
> checking for XDR header-file... -I/usr/include/rpc
> checking for XDR library...
> checking for xdr_long in default library... yes
> checking XDR implementation... ok
> checking type pointed to by inline XDR function... long
> checking XDR library for xdr_getint()... yes
> checking which XDR module to use... xdrposix
> checking for function prototype... yes
> checking for working const... yes
> checking for variadic function support... yes
> checking for strerror... yes
> checking compiler options for IEEE arithmetic...
> checking for size of block buffer... 8192
> checking for float.h... yes
> checking for stdlib.h... yes
> checking C header file <stdlib.h> for function malloc()... declared
> checking for package version... 2.4
> checking binary distribution directory... /home/ftp/pub/binary/ip25-irix64
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating xdr/Makefile
> creating libsrc/Makefile
> creating fortran/Makefile
> creating cxx/Makefile
> creating ncgen/Makefile
> creating ncdump/Makefile
> creating nctest/Makefile
> creating doc/Makefile
> creating port/master.mk
> creating port/Makefile
> creating libsrc/local_nc.h
> libsrc/local_nc.h is unchanged
> expanding `include's in file `Makefile'
> expanding `include's in file `xdr/Makefile'
> expanding `include's in file `libsrc/Makefile'
> expanding `include's in file `fortran/Makefile'
> expanding `include's in file `cxx/Makefile'
> expanding `include's in file `ncgen/Makefile'
> expanding `include's in file `ncdump/Makefile'
> expanding `include's in file `nctest/Makefile'
> expanding `include's in file `doc/Makefile'
> expanding `include's in file `port/master.mk'
> 
> - ----------------------------------------
> result of make.....
> 
> 
>                 c89 -c -O  string.c; \
>                 ;; \
>         esac
>         c89 -c -O  var.c
>         c89 -c -O  xdrposix.c
> cfe: Error: xdrposix.c, line 312: 'x_getint' undefined; reoccurrences will 
> not b
> e reported.
>             xdrposix_ops.x_getint = xdrposix_getint;
>         ----------------^
> cfe: Error: xdrposix.c, line 312: member of structure or union required
>             xdrposix_ops.x_getint = xdrposix_getint;
>         -----------------^
> cfe: Error: xdrposix.c, line 313: 'x_putint' undefined; reoccurrences will 
> not b
> e reported.
>             xdrposix_ops.x_putint = xdrposix_putint;
>         ----------------^
> cfe: Error: xdrposix.c, line 313: member of structure or union required
>             xdrposix_ops.x_putint = xdrposix_putint;
>         -----------------^
> *** Error code 1 (bu21)
> *** Error code 1 (bu21)
> 
> 
> ------- End of Forwarded Message
>