Re: netcdf configure on a macbook pro

> "Christophe Donnier" <donnier@xxxxxxxxxxxxx> writes:
>
>> Hi,
>>
>> I can't ./configure netcdf 3.6.1 on a macbookpro (Mac os 10.4.7 ) with
>> X11. Seems that there is a problem with the GNU Fortran.
>> If I set FC to NULL, it works, but with FC not set explicitly, or set
>> to g77, I have the following error :
>>
>> configure: error: Could not link conftestf.o and conftest.o
>>
>> any idea of the problem ?
>>
>>
>> thanks
>>
>> Christophe
>>
>>
>
> You need to look in config.log for this error message, and see if
> there is enough information there...
>
> If not, post it, or email it to support-netcdf@xxxxxxxxxxxxxxxx.
>
> Thanks,
>
> Ed
> --
> Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx
>
> ==============================================================================
> To unsubscribe netcdfgroup, visit:
> http://www.unidata.ucar.edu/mailing-list-delete-form.html
> ==============================================================================

Thanks everyone, GCC is version 4.0.1, here is a part of the config.log
file, in fact I don't really need the fortran, but in case .....

configure:5742: checking for Fortran preprocessor
configure:5750: result: cc -E
configure:5767: checking for C-equivalent to Fortran routine "SUB"
configure:5774: gfortran -c  conftest.f
configure:5777: $? = 0
configure:5789: result: sub_
configure:5811: checking for Fortran "byte"
configure:5819: gfortran -c  conftest.f
configure:5822: $? = 0
configure:5824: result: yes
configure:5841: checking for Fortran "integer*2"
configure:5849: gfortran -c  conftest.f
configure:5852: $? = 0
configure:5854: result: yes
configure:5880: checking if Fortran "byte" is C "signed char"
configure:5890: cc -c  -Df2cFortran -g -O2 conftest.c
conftest.c: In function 'sub_':
conftest.c:4: warning: incompatible implicit declaration of built-in
function 'exit'
configure:5893: $? = 0
configure:5896: gfortran  -c conftestf.f
configure:5899: $? = 0
configure:5902: gfortran -o conftest   conftestf.o conftest.o
/usr/bin/ld: Undefined symbols:
___dso_handle
collect2: ld returned 1 exit status
configure:5905: $? = 1
configure:5927: error: Could not link conftestf.o and conftest.o


==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


  • 2006 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: