Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[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: