> Full Name: Jianyu > Email Address: address@hidden > Organization: NCAR > Package Version: 3.6.3 > Operating System: WINDOWS XP > Hardware: > Description of problem: > > I'm trying to compile netcdf-3.6.3 with the latest MinGW (MINGW32_NT-5.1 > 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys) on windows xp. > > configure netcdf-3.6.3 using: > > ./configure --enable-dll --disable-cxx --enable-shared --disable-f90 > > It dies with this: > > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran -DNC_DLL_EXPORT > -g > -O2 -MT posixio.lo -MD -MP -MF .deps/posixio.Tpo -c posixio.c -DDLL_EXPORT > -DPI > C -o .libs/posixio.o > posixio.c: In function 'fgrow': > posixio.c:131:14: error: storage size of 'sb' isn't known > posixio.c: In function 'fgrow2': > posixio.c:162:14: error: storage size of 'sb' isn't known > posixio.c: In function 'ncio_filesize': > posixio.c:1648:17: error: storage size of 'sb' isn't known > make: *** [posixio.lo] Error 1 > make: Leaving directory `/home/liujianyu/netcdf-3.6.3/libsrc' > make: *** [all] Error 2 > make: Leaving directory `/home/liujianyu/netcdf-3.6.3/libsrc' > make: *** [all-recursive] Error 1 > make: Leaving directory `/home/liujianyu/netcdf-3.6.3' > make: *** [all] Error 2 > > Did I miss something? > > Any help appreciated- thanks in advance, > > Jianyu > > Howdy Jianyu! Sorry, I can't support downrev versions of netCDF. 3.6.3 was released years ago. Get the latest C library here: ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz Cross compile it for mingw32, and use the --enable-dll configure option. Let me know if it doesn't build for you. Thanks. Ed Ticket Details =================== Ticket ID: LTU-689834 Department: Support netCDF Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.