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

Re:NETCDF ON LINUX



 Thanks for youer help, Dr. McCarrick.
 But I can't succeed to complie netcdf.
 The following error occures.

============================================================

In file included from ncgen.y:681:
ncgenyy.c:69: conflicting types for `free'
/usr/include/stdlib.h:159: previous declaration of `free'
make[1]: *** [ncgentab.o] Error 1
make: *** [ncgen/all] Error 1

============================================================

 My "CUSTOMIZE" file is belows.

-------------------------------------------------------------

# Type of C compiler (default is `cc'):
 CC='gcc -traditional'
#
# C compiler flags (default is `-O'):
 CFLAGS=-g
#
# C preprocessor flags (default is `-DNDEBUG'):
 CPPFLAGS=-DDEBUG
#
# Installation prefix (default is `..'):
 prefix=/usr/local/unidata
#
# Whether to use the old floating-point fill values for backward
# compatibility (see INSTALL).  Uncomment to obtain the pre-2.3 default,
# floating-point fill values.
 OLD_FILLVALUES=yes
 OS=Linux
 YACC='bison -y '
 LEX='flex'
 FC=f77 

-----------------------------------------------------------------------

 Please help me.

Hisaji Ono
Tokyo
Japan