[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: netCDF bug fixed?
- Subject: Re: netCDF bug fixed?
- Date: Thu, 03 Feb 1994 10:50:31 -0700
> Keywords: 199402030929.AA27928
Greg,
> It seems that generating jackets.c by hand works.
> I have no idea why it works when one types the command by hand rather than
> the makefile doing it...
> Anyway, sorry to bother you.
>
> I did get another bug in trying to make ncgentab.c in the ncgen directory
> Output as follows
>
> gcc -traditional -O -c -I../libsrc -Dconst= -DNO_STRERROR -O ncgentab.c
> In file included from ncgentab.c:14:
> /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.1/2.2.2/include/stdlib.h:29:
> conflicti
> ng types for `malloc'
> ncgentab.c:1: previous declaration of `malloc'
> /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.1/2.2.2/include/stdlib.h:33:
> conflicti
> ng types for `realloc'
> ncgentab.c:1: previous declaration of `realloc'
> *** Error code 1
> make: Fatal error: Command failed for target `ncgentab.o'
> Current working directory
> /usr/local/disks/three/glewis/spectral/netcdf/src/ncge
> *** Error code 1
> make: Fatal error: Command failed for target `ncgen/all'
I can't reproduce this problem either. Perhaps gcc was installed on your
system without running the `fixincludes' script that comes with it, though
it is my understanding that running `fixincludes' is now the default for
installing gcc on Suns.
--Russ
__________________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden P.O. Box 3000
(303)497-8645 Boulder, Colorado 80307-3000