NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] netcdf3.6.3 not configuring with gcc4.3.3

  • To: undisclosed-recipients:;
  • Subject: [netcdfgroup] netcdf3.6.3 not configuring with gcc4.3.3
  • From: Chandan Maheshwari <cmaheshwari16@xxxxxxxxx>
  • Date: Wed, 16 May 2012 10:35:13 +0530
Hi All,

I am trying to compile netcdf 3.6.3 on linux 64 bit.
 uname -a    Linux 2.6.18-53.1.4.el5 #1 SMP Thu Nov 29 12:18:58 EST 2007
x86_64 x86_64 x86_64 GNU/Linux

my gcc version is 4.3.3

 gcc -v  Using built-in specs.
    Target: x86_64-unknown-linux-gnu
    Configured with: ./configure --prefix=/opt/gcc43
    Thread model: posix
    gcc version 4.3.3 (GCC)

I am configuring netcdf 3.6.3 using :

export FC=gfortran
export F90=gfortran
export F77=gfortran
export CC=gcc

./configure --prefix="<PATH>"

It gives below error :

    checking if Fortran "byte" is C "signed char"... configure: error:
Could not link conftestf.o and conftest.o

kindly provide some flags that can be used with configure command to solve
the above.

Moreover I am able to configure on the same machine ifort.
-- 
Regards,
Chandan
  • 2012 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: