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

Re: 20051122: Installation error on Red Hat Enterprise Linux ES release 3 (Taroon Update 6) .....



Unidata Support <address@hidden> writes:

> ------- Forwarded Message
>
>>To: address@hidden
>>From: jargon <address@hidden>
>>Subject: Installation error on Red Hat Enterprise Linux ES release 3 (Taroon 
>>Update 6) .....
>>Organization: Monash University
>>Keywords: 200511220600.jAM60Z7s013825 netCDF RHES3 ifc
>
> Hi,
>
> I am getting the following error message whicle configuring with intel 
> fortran compiler ..
>
> The compiler options are as follows,
>
> -bash-2.05b$    export FC=ifc
> -bash-2.05b$    export F90=ifc
> -bash-2.05b$    export CC=gcc
> -bash-2.05b$    export CXX=g++
> -bash-2.05b$    export CPPFLAGS=-DNAGf90Fortran
> -bash-2.05b$    ./configure --prefix=/home/jagan/netcdf
>
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking for top-level source-directory... 
> /home/jagan/netcdf/netcdf-3.6.0-p1/src
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking C++ compiler "g++"... works
> checking whether we are using the GNU Fortran compiler... no
> checking whether ifc accepts -g... yes
> checking if Fortran-related pre-processor flag needed... -DNAGf90Fortran
> checking user-defined Fortran-90 compiler "ifc"... works
> configure: checking for m4 preprocessor...
> checking for m4... m4
> checking m4 flags... -B10000
> checking how to make dependencies... false
> checking if we need to set _LARGE_FILES on AIX with OBJECT_MODE=64 or 
> CFLAGS includes -q64...
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for _LARGE_FILES value needed for large files... no
> configure: checking for ar utility...
> checking for ar... ar
> checking ar flags... cru
> configure: checking for nm utility...
> checking for nm... nm
> checking nm flags...
> checking for ranlib... ranlib
> checking for a BSD-compatible install... /usr/bin/install -c
> checking CPPFLAGS... -DNAGf90Fortran
> checking CC CFLAGS... gcc -g
> checking which gcc... /usr/bin/gcc
> checking CXX... g++
> checking CXXFLAGS... -g -O2
> checking which g++... /usr/bin/g++
> checking FC... ifc
> checking FFLAGS...
> checking which ifc... /pkg/intel/fc/9.0/bin/ifc
> checking F90... ifc
> checking F90FLAGS...
> checking which ifc... /pkg/intel/fc/9.0/bin/ifc
> checking AR... ar
> checking ARFLAGS... cru
> checking which ar... /usr/bin/ar
> checking NM... nm
> checking NMFLAGS...
> checking which nm... /usr/bin/nm
> checking RANLIB... ranlib
> checking RANLIBFLAGS...
> checking which ranlib... /usr/bin/ranlib
> checking for SunOS Fortran -ftrap= option...
> checking how to run the C preprocessor... gcc -E
> checking user-defined Fortran-77 compiler "ifc"... works
> checking for Fortran .F compiler...
> checking if Fortran-77 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"... IPO Error: unresolved : 
> sub_
>         Referenced in conftestf.o
> configure: error: Could not link conftestf.o and conftest.o
>
> Could you mind to advise me where I am going wrong?
>
> with regards,
>
> Jagan Kommineni
>
>
>
>
> --
> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.
>
> ------- End of Forwarded Message
>
>


Your fortran compiler is not working.

Look towards the end of the config.log file that the configure script
generated. You will see an attempt to compile which fails for some
reason. You must get your compiler working or netcdf will not be able
to be built.

Thanks,

Ed
-- 
Ed Hartnett  -- address@hidden