[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave 3.8.0-rc1: compilation error and make check error
From: |
John W. Eaton |
Subject: |
Re: Octave 3.8.0-rc1: compilation error and make check error |
Date: |
Thu, 05 Dec 2013 09:38:08 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 |
On 12/05/2013 07:53 AM, José Luis García Pallero wrote:
Hello:
I performed two compilations:
1- Intel Core i5 64 bit box running Debian
All runs fine. In the make check step I've obtained a fail in
bug-38236.tst. Inspecting the test/fntests.log file one can read:
processing bug-38236.tst
***** test
u_vr
!!!!! test failed
'vr' undefined near line 1 column 36
2- Pentium M 32 bit laptop running Debian, in which I always compile
other versions:
The configure step works without problems, but during make I've obtained:
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-3.8.0-rc1/libinterp'
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/home/topo/Desktop/octave-3.8.0-rc1/libinterp'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/topo/Desktop/octave-3.8.0-rc1'
make: *** [all] Error 2
The libinterp/version.h file is apparently well generated (see the
attached copy), so I don't know the reason of the error
Is it possible that there is some other version.h file that is being
included instead?
To debug this, I would try the following:
cd to the libinterp directory of your build tree
run the command to compile defaults.cc by hand, adding -save-temps:
g++ -save-temps -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
examine the defaults.ii file that this command produces to see what
version.h file is included
jwe