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

Unidata Support: 970207: error in fan-2.0.2



Harvey answered this one:

>To: address@hidden
>From: Bob Janssen <address@hidden>
>Subject: error in fan-2.0.2
>Organization: .
>Keywords: 199702070843.BAA23035

> Sir,
> 
> while attempting to install the fan-2.0.2 package I was confronted
> with a fatal error. My system is sunos 5.5 on a sparc ultra.
> 
> Any ideas what's going wrong ?
> 
> Many thanks for your otherwise excellent software.
> 
> Yours faithfully,
> 
> Bob Janssen
> Leeds University
> - - ----------
> 
> loading cache ./config.cache
> checking for catman... (cached) catman
> checking the installation prefix... 
> /local/disk2/guest/vartfar/software/whips/fan-2.0.2
> checking the installation exec-prefix... 
> /local/disk2/guest/vartfar/software/whips/fan-2.0.2
> checking for C compiler... gcc

I believe final line above indicates problem. It should be:

checking for C compiler... gcc -ansi

So include following line in file CUSTOMIZE:

CC='gcc -ansi'

>  ...
> making `all' in directory 
> /local/disk2/guest/vartfar/software/whips/fan-2.0.2/src/fanlib
> 
> gcc -c -g -I.. 
> -I/local/disk2/guest/vartfar/software/whips/netcdf-3.3a/include 
> -I/local/disk2/guest/vartfar/software/whips/udunits-1.11.3/include nasParse.c
> nasParse.y: In function `ncaAtt':
> nasParse.y:1360: warning: passing arg 2 of `newDIM' makes integer from 
> pointer without a cast
> nasParse.y:1362: incompatible type for argument 14 of `newNCA'
> *** Error code 1
> make: Fatal error: Command failed for target `nasParse.o'