help-octave
[Top][All Lists]
Advanced

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

Re: 3.3.54+, mkoctfile, header files?


From: Olaf Till
Subject: Re: 3.3.54+, mkoctfile, header files?
Date: Fri, 14 Jan 2011 12:50:21 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Jan 14, 2011 at 06:22:51AM -0500, John W. Eaton wrote:
> 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

I did a "hg pull" to get your patch, which pulled also some other
patches, and now I can't compile Octave:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu 
-I../libcruft/misc -g -O2 -DHAVE_CONFIG_H -I/usr/include/freetype2 -Wall -W 
-Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align 
-Wcast-qual -g -O2 -pthread -g -O2 -MT liboctave_la-file-stat.lo -MD -MP -MF 
.deps/liboctave_la-file-stat.Tpo -c file-stat.cc  -fPIC -DPIC -o 
.libs/liboctave_la-file-stat.o
file-stat.cc:33:22: error: filemode.h: No such file or directory
file-stat.cc: In member function 'std::string base_file_stat::mode_as_string() 
const':
file-stat.cc:160: error: 'strmode' was not declared in this scope
make[3]: *** [liboctave_la-file-stat.lo] Error 1
make[3]: Leaving directory `/home/olaf/devel/src/octave/liboctave'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/olaf/devel/src/octave/liboctave'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/olaf/devel/src/octave'
make: *** [all] Error 2

I'll retry now after a "make clean", but this will take 30 minutes.

Also, FYI, since my first mail had not reached address@hidden after 1
hour, I had given the mail up and also filed a bug report (#32127).

Olaf


reply via email to

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