[Top][All Lists]

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

[Octave-bug-tracker] [bug #41635] netcdf package fails to compile with n

From: Orion Poplawski
Subject: [Octave-bug-tracker] [bug #41635] netcdf package fails to compile with netcdf
Date: Tue, 18 Feb 2014 23:53:33 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0


                 Summary: netcdf package fails to compile with netcdf
                 Project: GNU Octave
            Submitted by: opoplawski
            Submitted on: Tue 18 Feb 2014 11:53:31 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: other
        Operating System: GNU/Linux



mkoctfile __netcdf__.cc -lnetcdf
In file included from __netcdf__.cc:32:0:
netcdf_constants.h: In function 'void init()':
netcdf_constants.h:154:53: error: 'NC_INDEPENDENT' was not declared in this
   netcdf_constants["NC_INDEPENDENT"] = octave_value(NC_INDEPENDENT);
netcdf_constants.h:155:52: error: 'NC_COLLECTIVE' was not declared in this
   netcdf_constants["NC_COLLECTIVE"] = octave_value(NC_COLLECTIVE);
make: *** [__netcdf__.oct] Error 1

This is because NC_COLLECTIVE and NC_INDEPENDENT are only relevant for the
parallel/MPI interface to netcdf and have been moved to netcdf_par.h.

You can work around this by running "make constants" first.  Perhaps this
should be part of the standard build process?


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]