octave-maintainers
[Top][All Lists]
Advanced

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

Re: Error compiling stable sources due to OCTAVE_VERSION not declared


From: John W. Eaton
Subject: Re: Error compiling stable sources due to OCTAVE_VERSION not declared
Date: Wed, 04 Dec 2013 13:58:04 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9

On 12/04/2013 01:02 PM, José Luis García Pallero wrote:
Hello:

I've compiled the stable sources (changeset 18073:42c3e30557a4) in my
Intel Core i5 64 bits box running Debian Sid 64 bits and the
compilation runs without errors.

On the other hand, I've tried to compile the same sources in an old
Pentium M 32 bits, running also Debian Sid and using the same packages
as the 64 bits machine and I obtain this error:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I..
-I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric
-I../liboctave/numeric -I../liboctave/operators
-I../liboctave/operators -I../liboctave/system -I../liboctave/util
-I./octave-value -I./operators -Iparse-tree -I./parse-tree -Icorefcn
-I./corefcn -I../libgnu -I../libgnu -I/usr/include/freetype2
-I/usr/include/freetype2 -isystem /usr/lib/llvm-3.3/include -mieee-fp
-Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -O2 -pthread -MT
corefcn/corefcn_libcorefcn_la-defaults.lo -MD -MP -MF
corefcn/.deps/corefcn_libcorefcn_la-defaults.Tpo -c
corefcn/defaults.cc  -fPIC -DPIC -o
corefcn/.libs/corefcn_libcorefcn_la-defaults.o
corefcn/defaults.cc: In function 'octave_value_list
FOCTAVE_VERSION(const octave_value_list&, int)':
corefcn/defaults.cc:605:14: error: 'OCTAVE_VERSION' was not declared
in this scope
      retval = OCTAVE_VERSION;
               ^
make[3]: *** [corefcn/corefcn_libcorefcn_la-defaults.lo] Error 1
make[3]: se sale del directorio `/home/topo/Desktop/octave/libinterp'
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/home/topo/Desktop/octave/libinterp'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/topo/Desktop/octave'
make: *** [all] Error 2

If I fix manually the OCTAVE_VERSION variable using the string
"3.7.7+" I obtain also the same error in defun.cc, but related with
OCTAVE_API_VERSION variable

These should be defined in version.h. That file is generated during the build process, so it should be in your build tree, in the libinterp directory. Is it? What is in the file? You'll have to diagnose why it is not constructed properly.

jwe




reply via email to

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