From: Per P. <per...@ma...> - 2004-09-08 18:32:23
|
On Sep 8, 2004, at 07:30, Paul Kienzle wrote: > > There are issues in the OS X build against 2.1.55 (swap_4_bytes in > galois and fixed types is causing problems) that I haven't resolved > yet, > but these are not show stoppers. The same issues in 2.1.58 would > be cause for concern. Anyone tried it? OK, I may have spoken too soon (again;-) While main/fixed worked on OS X 10.2.8/GCC 3.1 yesterday, it is broken on OS X 10.3.5/GCC 3.3 here and now. Problem 1) mkoctfile -DHAVE_OCTAVE_21 -v -c Array-f.cc g++ -c -I/usr/local/include/octave-2.1.58 -I/usr/local/include/octave-2.1.58/octave -I/usr/local/include -g -O2 -DHAVE_OCTAVE_21 Array-f.cc -o Array-f.o Array-f.cc:63:28: octave/Array2.cc: No such file or directory [snip] Array-f.cc:84: error: template-id `assign<>' for `int assign(Array2<FixedPointComplex>&, const Array2<FixedPointComplex>&, const FixedPointComplex&)' does not match any template declaration make: *** [Array-f.o] Error 1 This seems to be related to a missing HAVE_ND_ARRAYS definition (and thus shouldn't be unique to OS X?) Problem 2) mkoctfile -DHAVE_OCTAVE_21 -v -c ov-fixed-mat.cc g++ -c -I/usr/local/include/octave-2.1.58 -I/usr/local/include/octave-2.1.58/octave -I/usr/local/include -g -O2 -DHAVE_OCTAVE_21 ov-fixed-mat.cc -o ov-fixed-mat.o ov-fixed-mat.cc:82:73: macro "DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA" requires 3 arguments, but only 2 given ov-fixed-mat.cc:82: warning: ISO C++ forbids declaration of ` DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA' with no type make: *** [ov-fixed-mat.o] Error 1 Could this be a GCC 3.1 vs 3.3 issue? I'll see if I can find the cause of this. /Per -------- Per Persson, Ph.D. Applied Signal Processing Resume, contact info and more: http://homepage.mac.com/persquare |