Error compiling from mercurial repo

Andrea Spadaccini andrea.spadaccini at gmail.com
Fri May 23 11:45:26 CDT 2008


Hello everybody,
I'm trying again to compile from hg repo (I don't have 24/7
access to this machine), and I got another error:

g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc
-DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast -g -O2 graphics.cc
-o pic/graphics.o
graphics.cc:42:22: error: graphics.h: No such file or directory
graphics.cc:1360:29: error: graphics-props.cc: No such file or directory
graphics.cc:180: error: expected ',' or '...' before '&' token
graphics.cc:181: error: ISO C++ forbids declaration of
'graphics_handle' with no type
graphics.cc: In function 'void execute_callback(octave_value, int)':

[CUT lots of other errors]

graphics.cc:942: warning: 'void xcreatefcn(int)' defined but not used
graphics.cc:960: warning: 'Matrix maybe_set_children(const Matrix&,
const octave_value&)' defined but not used
make[2]: *** [pic/graphics.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/andrea/octave-hg/octave/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/home/andrea/octave-hg/octave'
make: *** [all] Error 2

I did a clean hg clone, followed by ./autogen.sh && ./configure
--prefix="/my/prefix" && make -j3

Am I missing something?

Thanks in advance,

-- 
Andrea Spadaccini


More information about the Help-octave mailing list