octave-maintainers
[Top][All Lists]
Advanced

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

Error compiling stable sources due to OCTAVE_VERSION not declared


From: José Luis García Pallero
Subject: Error compiling stable sources due to OCTAVE_VERSION not declared
Date: Wed, 4 Dec 2013 19:02:19 +0100

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

-- 
*****************************************
José Luis García Pallero
address@hidden
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************


reply via email to

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