Hello, I tried to build octcdf-1.0.12 on octave 3.2.0 and it fails with the error
octave.exe:2:t:\ > pkg install -verbose octcdf-1.0.12.tar.gz c:\Programs\msys\1.0.11-tdm430-2\opt\octave_mingw32_gcc-4.3.0-dw2\3.2.0-3\include\octave-3.2.0/octave/variables.h: In function 'void load_netcdf_type()': c:\Programs\msys\1.0.11-tdm430-2\opt\octave_mingw32_gcc-4.3.0-dw2\3.2.0-3\include\octave-3.2.0/octave/variables.h:123: error: too many arguments to function 'void mlock()' ov-netcdf.cc:57: error: at this point in file c:\Programs\msys\1.0.11-tdm430-2\opt\octave_mingw32_gcc-4.3.0-dw2\3.2.0-3\include\octave-3.2.0/octave/variables.h:123: error: too many arguments to function 'void mlock()' ov-netcdf.cc:58: error: at this point in file c:\Programs\msys\1.0.11-tdm430-2\opt\octave_mingw32_gcc-4.3.0-dw2\3.2.0-3\include\octave-3.2.0/octave/variables.h:123: error: too many arguments to function 'void mlock()' ov-netcdf.cc:59: error: at this point in file c:\Programs\msys\1.0.11-tdm430-2\opt\octave_mingw32_gcc-4.3.0-dw2\3.2.0-3\include\octave-3.2.0/octave/variables.h:123: error: too many arguments to function 'void mlock()' ov-netcdf.cc:60: error: at this point in file make: *** [ov-netcdf.o] Error 1 'make' returned the following error: make: Entering directory `/tmp/oct-5/octcdf-1.0.12/src' taking a look at octave/variables.h I find the prototype extern OCTINTERP_API void mlock (void); It seems that this has changed for octave 3.2, since in 3.0.5 I find the prototype extern OCTINTERP_API void mlock (const std::string&); which is how mlock is called in ov-netcdf.cc benjamin ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev