help-octave
[Top][All Lists]
Advanced

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

3.3.54+, mkoctfile, header files?


From: John W. Eaton
Subject: 3.3.54+, mkoctfile, header files?
Date: Fri, 14 Jan 2011 06:22:51 -0500

On 14-Jan-2011, Olaf Till wrote:

| With current (2011-01-13) Octave tip, when I try to compile something
| with mkoctfile, I get:
| 
| 
| 
| In file included from 
/usr/local/include/octave-3.3.54+/octave/../octave/oct-inttypes.h:35,
|                  from 
/usr/local/include/octave-3.3.54+/octave/../octave/idx-vector.h:35,
|                  from 
/usr/local/include/octave-3.3.54+/octave/../octave/Array.h:37,
|                  from 
/usr/local/include/octave-3.3.54+/octave/../octave/boolMatrix.h:28,
|                  from 
/usr/local/include/octave-3.3.54+/octave/../octave/mx-base.h:33,
|                  from 
/usr/local/include/octave-3.3.54+/octave/../octave/Matrix.h:31,
|                  from 
/usr/local/include/octave-3.3.54+/octave/../octave/oct.h:33,
|                  from test.cc:1:
| /usr/local/include/octave-3.3.54+/octave/../octave/lo-mappers.h: In function 
'double xfloor(double)':
| /usr/local/include/octave-3.3.54+/octave/../octave/lo-mappers.h:37: error: 
'gnulib' has not been declared
| 
| 
| 
| 
| The compiled file was:
| 
| 
| 
| #include <octave/oct.h>
| 
| DEFUN_DLD (test, args, , "")
| {
|   octave_value retval;
| 
|   return retval;
| }
| 
| 
| 
| Have the standard header files to be included for user oct-files
| changed, or is this a bug?
| 
| Can someone tell me what to include as a preliminary work-around? I'm
| not familiar with the way gnulib is integrated in Octave.

Does the following change avoid the problem for you?  With it, there
should be no gnulib:: tagged symbols in any header file in Octave.

  http://hg.savannah.gnu.org/hgweb/octave/rev/ab231f944252

jwe


reply via email to

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