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

20000728: building netcdf-3.4 using gcc & g77 on Solaris 8



Mark,

> To: Unidata Support <address@hidden>
> From: Mark Tucker <address@hidden>
> Subject: building netcdf
> Organization: Lyndon State College
> Keywords: 200007281545.e6SFjcT03066

The above message contained the following:

> I'm attempting to build netcdf-3.4 using gcc & g77 on Solaris 8.  Here are
> the (hopefully) relevant environment variables:
> 
> PATH=/usr/bin:/usr/ccs/bin:/usr/ucb:/opt/sfw/bin:/usr/local/ldm/bin:/usr/local/ldm/decoders
> CC=/opt/sfw/bin/gcc
> CPPFLAGS=
> CFLAGS=-g
> FC=/opt/sfw/bin/g77
> FFLAGS=-g -erroff=WDECL_LOCAL_NOTUSED
> 
> running ./configure from the src directory gives me the following output:
> 
> > ./configure
> loading cache ./config.cache
> checking for m4... m4
> checking user-defined C compiler "/opt/sfw/bin/gcc"
> checking C compiler... works
> checking how to make dependencies... cc -xM
> checking for CC... no
> checking for cxx... no
> checking for c++... c++
> checking C++ compiler "c++"... works
> checking how to run the C preprocessor... /opt/sfw/bin/gcc -E
> checking user-defined Fortran compiler "/opt/sfw/bin/g77"... works
> checking for Fortran .F compiler... 
> checking if Fortran compiler handles *.F files... no
> checking for Fortran preprocessor... /opt/sfw/bin/gcc -E
> 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"... configure: error: Could
> not link conftestf.o and conftest.o

The reason for the above error should be found in the file "config.log".

> Any ideas as to what I need to fix here?  Thanks.
> 
> Mark Tucker
> Information Technology
> Lyndon State College
> address@hidden
> http://apollo.lsc.vsc.edu


Regards,
Steve Emmerson   <http://www.unidata.ucar.edu>