[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #MBQ-177890]: RE: MinGW check failure
- Subject: [netCDF #MBQ-177890]: RE: MinGW check failure
- Date: Wed, 27 Apr 2011 12:20:41 -0600
> Thanks, Ed. I was out all last week on jury duty and just got back to look at
> this.
>
> Version ed2011042501:
> - CC=gcc CXX=g++ configure --prefix=/myrootpath/yada/yada (32/64-bit):
> - Configure: error: Cannot locate neither curl-config or a curl directory
>
> - CC=gcc CXX=g++ configure --disable-dap --disable-netcdf-4 --disable-fortran
> --disable-cxx
> - configure succeeds
> - make (64-bit):
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../include
> -DDLL_EXPORT -g -O2 -MT libnetcdf2_la-v2i.lo -MD -MP -MF
> .deps/libnetcdf2_la-v2i.Tpo -c v2i.c -DDLL_EXPORT -DPIC -o
> .libs/libnetcdf2_la-v2i.o
> v2i.c:41:22: error: onstack.h: No such file or directory
> v2i.c: In function 'nvdims':
> v2i.c:46: error: 'NC' undeclared (first use in this function)
>
> - make (32-bit):
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../include -g
> -O2 -MT libnetcdf3_la-putget.lo -MD -MP -MF .deps/libnetcdf3_la-putget.Tpo -c
> putget.c -DDLL_EXPORT -DPIC -o .libs/libnetcdf3_la-putget.o
> putget.c:3108: error: expected declaration specifiers or '...' before 'uint'
> putget.c: In function 'getNCvx_schar_uint':
> putget.c:3118: error: 'value' undeclared (first use in this function)
>
>
> Version 4.1.3-snapshot2011042506:
> - CC=gcc CXX=g++ configure --disable-dap --disable-netcdf-4 --disable-fortran
> --disable-cxx
> - configure succeeds
> - make (64-bit):
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../include
> -DDLL_EXPORT -g -O2 -MT libnetcdf2_la-v2i.lo -MD -MP -MF
> .deps/libnetcdf2_la-v2i.Tpo -c v2i.c -DDLL_EXPORT -DPIC -o
> libs/libnetcdf2_la-v2i.o
> v2i.c:41:22: error: onstack.h: No such file or directory
> v2i.c: In function 'nvdims':
> v2i.c:46: error: 'NC' undeclared (first use in this function)
>
> - make (32-bit):
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I../include -g
> -O2 -MT libnetcdf3_la-putget.lo -MD -MP -MF .deps/libnetcdf3_la-putget.Tpo -c
> putget.c -DDLL_EXPORT -DPIC -o .libs/libnetcdf3_la-putget.o
> putget.c:3108: error: expected declaration specifiers or '...' before 'uint'
> putget.c: In function 'getNCvx_schar_uint':
> putget.c:3118: error: 'value' undeclared (first use in this function)
>
Howdy Dan!
Make sure that you get the latest snapshot:
ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz
This should build cleanly with --disable-dap --disable-netcdf-4 --disable-v2
--disable-fortran --disable-cxx
That's a lot of disables. ;-) I am working on getting those taken care of, but
let's start with a working build and go from there...
Thanks,
Ed
Ticket Details
===================
Ticket ID: MBQ-177890
Department: Support netCDF
Priority: Critical
Status: Closed