From: Alan Grimes <agrimes@sp...>  20080616 19:57:12

Chitlesh GOORAH wrote: > Hello there, > > I was trying to compile rev88, but fell on this: Looks like a GCC 4.3 compile problem, fix posted.  Ron Paul: A man of Peace. Chemistry.com: A total ripoff. Powers are not rights. We did not invade Iraq, the government did. 
From: Chitlesh GOORAH <chitlesh@wa...>  20080616 18:36:21

Hello there, I was trying to compile rev88, but fell on this: I../../../src/electronics I/usr/include/kde I/usr/lib/qt3.3/include I. DQT_THREAD_SUPPORT D_REENTRANTWnolonglong Wundef ansi D_XOPEN_SOURCE=500 D_BSD_SOURCE Wcastalign Wcharsubscripts Wall W Wpointerarith O2 O2 g pipe Wall Wp,D_FORTIFY_SOURCE=2 fexceptions fstackprotector param=sspbuffersize=4 m32 march=i386 mtune=generic fasynchronousunwindtables Wformatsecurity Wmissingformatattribute Wnononvirtualdtor fnoexceptions fnochecknew fnocommon MT matrix.lo MD MP MF .deps/matrix.Tpo c o matrix.lo matrix.cpp elementset.cpp: In constructor 'ElementSet::ElementSet(Circuit*, int, int)': elementset.cpp:35: error: new initializer expression list treated as compound expression elementset.cpp:35: warning: lefthand operand of comma has no effect elementset.cpp:35: error: no matching function for call to 'Matrix::Matrix(uint&)' matrix.h:38: note: candidates are: Matrix::Matrix() matrix.h:38: note: Matrix::Matrix(const Matrix&) make[4]: *** [elementset.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../../../src/math/qmatrix.h:25, from matrix.h:14, from element.h:15, from logic.h:14, from logic.cpp:14: ../../../src/math/qvector.h:37: warning: type qualifiers ignored on function return type In file included from element.h:15, from logic.h:14, from logic.cpp:14: matrix.h:92: warning: type qualifiers ignored on function return type matrix.h:93: warning: type qualifiers ignored on function return type matrix.h:94: warning: type qualifiers ignored on function return type matrix.h:95: warning: type qualifiers ignored on function return type matrix.h:99: warning: type qualifiers ignored on function return type In file included from ../../../src/math/qmatrix.h:25, from matrix.h:14, from matrix.cpp:11: ../../../src/math/qvector.h:37: warning: type qualifiers ignored on function return type In file included from matrix.cpp:11: matrix.h:18: error: 'uint' was not declared in this scope matrix.h:18: error: template argument 1 is invalid matrix.h:18: error: template argument 2 is invalid matrix.h:18: error: template argument 1 is invalid matrix.h:18: error: template argument 2 is invalid matrix.h:18: error: invalid type in declaration before ';' token matrix.h:44: error: expected `)' before 'n' matrix.h:78: error: expected ';' before '(' token matrix.h:89: error: expected `;' before 'double' matrix.h:89: error: expected ';' before '(' token matrix.h:90: error: expected `;' before 'double' matrix.h:90: error: expected ';' before '(' token matrix.h:91: error: expected `;' before 'double' matrix.h:91: error: expected ';' before '(' token matrix.h:92: error: expected `;' before 'const' matrix.h:92: error: 'uint' has not been declared matrix.h:92: error: 'uint' has not been declared matrix.h:92: warning: type qualifiers ignored on function return type matrix.h:93: error: 'uint' has not been declared matrix.h:93: error: 'uint' has not been declared matrix.h:93: warning: type qualifiers ignored on function return type matrix.h:94: error: 'uint' has not been declared matrix.h:94: error: 'uint' has not been declared matrix.h:94: warning: type qualifiers ignored on function return type matrix.h:95: error: 'uint' has not been declared matrix.h:95: error: 'uint' has not been declared matrix.h:95: warning: type qualifiers ignored on function return type matrix.h:99: error: 'uint' has not been declared matrix.h:99: error: 'uint' has not been declared matrix.h:99: warning: type qualifiers ignored on function return type matrix.h:113: error: expected ',' or '...' before 'a' matrix.h:113: error: ISO C++ forbids declaration of 'uint' with no type matrix.h:115: error: 'uint' does not name a type matrix.h:116: error: 'uint' does not name a type matrix.h:117: error: 'uint' does not name a type matrix.h: In member function 'bool Matrix::isChanged() const': matrix.h:55: error: 'max_k' was not declared in this scope matrix.h:55: error: 'm_size' was not declared in this scope matrix.h: In member function 'const double Matrix::b(int, int) const': matrix.h:93: error: 'm_n' was not declared in this scope matrix.h: In member function 'const double Matrix::c(int, int) const': matrix.h:94: error: 'm_n' was not declared in this scope matrix.h: In member function 'const double Matrix::d(int, int) const': matrix.h:95: error: 'm_n' was not declared in this scope mv f .deps/logic.Tpo .deps/logic.Plo matrix.cpp: At global scope: matrix.cpp:24: error: prototype for 'Matrix::Matrix(uint, uint)' does not match any in class 'Matrix' matrix.h:38: error: candidates are: Matrix::Matrix(const Matrix&) matrix.h:38: error: Matrix::Matrix() matrix.cpp: In member function 'void Matrix::zero()': matrix.cpp:51: error: 'm_size' was not declared in this scope matrix.cpp:54: error: 'max_k' was not declared in this scope matrix.cpp: At global scope: matrix.cpp:57: error: prototype for 'void Matrix::swapRows(uint, uint)' does not match any in class 'Matrix' matrix.h:113: error: candidate is: void Matrix::swapRows(int) matrix.cpp: In member function 'void Matrix::performLU()': matrix.cpp:71: error: 'm_size' was not declared in this scope matrix.cpp:75: error: 'max_k' was not declared in this scope matrix.cpp: In member function 'void Matrix::fbSub(QuickVector*)': matrix.cpp:114: error: 'm_size' was not declared in this scope matrix.cpp:116: error: 'm_size' was not declared in this scope matrix.cpp:122: error: 'm_size' was not declared in this scope matrix.cpp:133: error: 'm_size' was not declared in this scope matrix.cpp: In member function 'void Matrix::multiply(const QuickVector*, QuickVector*)': matrix.cpp:154: error: 'm_size' was not declared in this scope matrix.cpp: In member function 'void Matrix::displayMatrix()': matrix.cpp:172: error: 'm_size' was not declared in this scope matrix.cpp: In member function 'void Matrix::displayLU()': matrix.cpp:187: error: 'm_size' was not declared in this scope make[4]: *** [matrix.lo] Error 1 make[4]: Leaving directory `/home/chitlesh/rpmbuild/BUILD/ktechlab0.3.70/src/electronics/simulation' make[3]: *** [allrecursive] Error 1 make[3]: Leaving directory `/home/chitlesh/rpmbuild/BUILD/ktechlab0.3.70/src/electronics' make[2]: *** [allrecursive] Error 1 make[2]: Leaving directory `/home/chitlesh/rpmbuild/BUILD/ktechlab0.3.70/src' make[1]: *** [allrecursive] Error 1 make[1]: Leaving directory `/home/chitlesh/rpmbuild/BUILD/ktechlab0.3.70' make: *** [all] Error 2 Unfortunately, I don't have enough time to dig further right now. If someone already has a patch for that, I'll be delighted to have it :) Chitlesh 
From: Alan Grimes <agrimes@sp...>  20080616 19:57:12

Chitlesh GOORAH wrote: > Hello there, > > I was trying to compile rev88, but fell on this: Looks like a GCC 4.3 compile problem, fix posted.  Ron Paul: A man of Peace. Chemistry.com: A total ripoff. Powers are not rights. We did not invade Iraq, the government did. 