From: Kai H. <kai...@gm...> - 2003-08-30 15:40:42
|
Hi, I've got the following errors during a octave-forge compilation. I made fresh octave-forge checkout today. I have octave 2.1.50 (cvs, 28.08.03) octave --version GNU Octave, version 2.1.50 (i686-pc-linux-gnu). gcc --version gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Here are the errors 1.) main/comm: Compiling galois.o g++ -c -fPIC -I/usr/local/include/octave-2.1.50 -I/usr/local/include/octave-2.1.50/octave -I/usr/local/include -mieee-fp -g -O2 -Wall -DHAVE_OCTAVE_21 -DGALOIS_DISP_PRIVATES galois.cc -o galois.o In file included from galois.cc:31: galois.h:84: error: 'class galois' has no member named 'resize_fill_value' galois.h:81: error: 'class galois' has no member named 'resize_fill_value' make[2]: *** [galois.o] Fehler 1 This is a bit suprising since galois.[c,h] are 5 month old. The class galois is derived from MArray2 which has resize_fill_value. I have no idea whats going on here. 2.) main/optim: make[2]: Entering directory `/home/kai/cvs-octrep/octave-forge/main/optim' mkoctfile -DHAVE_OCTAVE_21 -v lp.cc g++ -c -fPIC -I/usr/local/include/octave-2.1.50 -I/usr/local/include/octave-2.1.50/octave -I/usr/local/include -mieee-fp -g -O2 -Wall -DHAVE_OCTAVE_21 lp.cc -o lp.o lp.cc: In function `Matrix identity_matrix(int, int)': lp.cc:31: error: `Matrix identity_matrix(int, int)' was declared `extern' and later `static' /usr/local/include/octave-2.1.50/octave/utils.h:84: error: previous declaration of `Matrix identity_matrix(int, int)' make[2]: *** [lp.oct] Fehler 1 It seems identity_matrix is defined 2 times. Could anyone look at this too. Bye Kai |