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

970521: Netcdf3.3 build trouble



Dear Eek Hyun Cho,

> Keywords: 199705210701.BAA18722
> Date: Wed, 21 May 1997 16:03:15 +0900
> From: Eek Hyun Cho <address@hidden>
> Organization: Atmospheric Sciences
> To: address@hidden
> Subject: Can't Make

In the above message, you wrote:

> I try to install for netcdf-3.3, but can't build 'make'.
> This is description of problem.
> 
> 1. uname -a
>    SunOs 5.5.1 Generic sun4m sparc sun4m
> 2. netcdf-3.3
> 3. I try "./configure --prefix=/usr/local"  
>    output is ...
> 
> creating cache ./config.cache
> checking for m4... no
> checking for gm4... no
> checking for xlc... no
> checking for c89... c89
> checking C compiler... works
> checking for how to make dependencies... cc -xM
> checking for CC... no
> checking for cxx... no
> checking for c++... no
> checking for g++... no
> checking for gcc... no
> checking for f77... f77
> checking for math library
> checking for -lc... no
> checking for -lm... yes
> checking FORTRAN-type equivalent to netCDF "byte"... byte
> checking FORTRAN-type equivalent to C "signed char"... byte
> checking FORTRAN fill-value for netCDF version 2 byte... -127
> checking FORTRAN-type equivalent to netCDF "short"... integer*2
> checking FORTRAN-type equivalent to C "short"... integer*2
> checking FORTRAN-type equivalent to netCDF "long"... integer*4
> checking FORTRAN-type equivalent to C "int"... integer
> checking FORTRAN-type equivalent to netCDF "float"... real*4
> checking FORTRAN-type equivalent to C "float"... real*4
> checking FORTRAN-type equivalent to netCDF "double"... real*8
> checking FORTRAN-type equivalent to C "double"... real*8
> checking for ar... :
> checking for ranlib... :
> checking how to run the C preprocessor... c89 -E
> checking for stdlib.h... yes
> checking for sys/types.h... yes
> checking for strerror... yes
> checking for ftruncate... yes
> checking for st_blksize in struct stat... yes
> checking whether cross-compiling... no
> checking for IEEE floating point format... yes
> checking for ANSI C header files... yes
> checking for size_t... yes
> checking for off_t... yes
> checking for ssize_t... yes
> checking for ptrdiff_t... yes
> checking for uchar... no
> checking whether char is unsigned... no
> checking whether byte ordering is bigendian... yes
> checking size of short... 2
> checking size of int... 4
> checking size of long... 4
> checking size of float... 4
> checking size of double... 8
> checking size of off_t... 4
> checking size of size_t... 4
> checking for command to create manual-page index... catman -w -M
> $(MANDIR)
> checking binary distribution directory...
> /home/ftp/pub/binary/dummy_system
> updating cache ./config.cache
> creating ./config.status
> creating macros.make
> creating libsrc/ncconfig.h
> creating fortran/netcdf-cpp.inc
> 
> 4. config.log is .....
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:989: c89 -c -O -DNDEBUG conftest.c 1>&5
> configure:1272: f77 -c -O  conftest.f
> conftest.f:
>  MAIN:
> configure:1313: f77 -c -O  conftest.F
> /tmp/cpp.05980.0.f:
>       foo:
> configure:1345: c89 -o conftest -O -DNDEBUG  conftest.c -lc   1>&5
> Undefined                     first referenced
>  symbol                           in file
> tanh                                conftest.o
> ld: fatal: Symbol referencing errors. No output written to conftest
> configure:1379: c89 -o conftest -O -DNDEBUG  conftest.c -lm   1>&5
> configure:1421: f77 -c -O  conftest.f
> conftest.f:
>  MAIN:
> "conftest.f", line 1: Warning: local variable "foo" never used
> configure:1448: f77 -c -O  conftest.f
> conftest.f:
>       sub:
> configure:1465: c89 -o conftest -DNDEBUG -O  conftest.c conftestf.o 
> configure:1475: ./conftest
> configure:1512: f77 -c -O  conftest.f
> conftest.f:
>  MAIN:
> "conftest.f", line 1: Warning: local variable "foo" never used
> configure:1539: f77 -c -O  conftest.f
> conftest.f:
>       sub:
> configure:1556: c89 -o conftest -DNDEBUG -O  conftest.c conftestf.o 
> configure:1566: ./conftest
> configure:1591: f77 -c -O  conftest.f
> conftest.f:
>  MAIN:
> "conftest.f", line 1: Warning: local variable "foo" never used
> configure:1618: f77 -c -O  conftest.f
> conftest.f:
>       sub:
> configure:1635: c89 -o conftest -DNDEBUG -O  conftest.c conftestf.o 
> configure:1645: ./conftest
> configure:1670: f77 -c -O  conftest.f
> conftest.f:
>  MAIN:
> "conftest.f", line 1: Warning: local variable "foo" never used
> configure:1697: f77 -c -O  conftest.f
> conftest.f:
>       sub:
> configure:1714: c89 -o conftest -DNDEBUG -O  conftest.c conftestf.o 
> configure:1724: ./conftest
> configure:1749: f77 -c -O  conftest.f
> conftest.f:
>  MAIN:
> "conftest.f", line 1: Warning: local variable "foo" never used
> configure:1776: f77 -c -O  conftest.f
> conftest.f:
>       sub:
> configure:1793: c89 -o conftest -DNDEBUG -O  conftest.c conftestf.o 
> configure:1803: ./conftest
> configure:1898: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:1944: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:1978: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:2028: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2076: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2110: c89 -c -O -DNDEBUG conftest.c 1>&5
> configure:2142: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2194: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2223: c89 -E -DNDEBUG conftest.c >/dev/null 2>conftest.out
> configure:2288: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2506: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> "configure", line 2502: warning: initializer does not fit or is out of
> range: 255
> configure:2544: c89 -c -O -DNDEBUG conftest.c 1>&5
> "configure", line 2539: undefined symbol: bogus
> "configure", line 2539: syntax error before or at: endian
> cc: acomp failed for conftest.c
> configure:2590: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2628: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2662: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2696: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2730: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2764: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2802: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5
> configure:2840: c89 -o conftest -O -DNDEBUG  conftest.c  1>&5

All of the above looks OK.  

At this point you should be able to execute the command "make", e.g.

    make >all.log 2>&1

> 
> 5. make command is not excute.

I'm sorry, but I don't understand what you mean.  Did you not try to
execute the "make" command?  Did you try, but it failed for some reason
(if so, what was the reason).  Would you please explain what you mean in
more detail.

--------
Steve Emmerson   <address@hidden>