Blitz logo

Blitz Support :

From: Alok Ahuja (aloka_at_[hidden])
Date: 2004-06-16 10:50:36


Hello,

I am trying to make the library for Blitz-0.6 on Linux with
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)
The make fails; with the following message.
I also tried compiling Blitz-0.7 but with the same error message as below.

Thanks for your help.

Alok Ahuja
alok_at_[hidden]

make[1]: Entering directory `/home/alok/blitz/blitz-0.6/src'
Making all in .
make[2]: Entering directory `/home/alok/blitz/blitz-0.6/src'
source='globals.cpp' object='globals.o' libtool=no \
depfile='.deps/globals.Po' tmpdepfile='.deps/globals.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"Blitz++\"
-DVERSION=\"0.5\" -DHAVE_LIBM=1 -I. -I. -I.. -ftemplate-depth-30 -c
-o globals.o `test -f 'globals.cpp' || echo './'`globals.cpp
In file included from ../blitz/applics.h:393,
                 from ../blitz/vecexpr.h:72,
                 from ../blitz/vecpick.cc:39,
                 from ../blitz/vecpick.h:319,
                 from ../blitz/vector.h:514,
                 from ../blitz/tinyvec.h:459,
                 from ../blitz/indexexpr.h:44,
                 from globals.cpp:11:
../blitz/mathfunc.h: In static member function `static float
   blitz::_bz_abs<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:126: cannot convert `std::complex<float>' to `int' for
   argument `1' to `int abs(int)'
../blitz/mathfunc.h: In static member function `static double
   blitz::_bz_abs<std::complex<double> >::apply(std::complex<double>)':
../blitz/mathfunc.h:148: cannot convert `std::complex<double>' to `int' for
   argument `1' to `int abs(int)'
../blitz/mathfunc.h: In static member function `static long double
   blitz::_bz_abs<std::complex<long double> >::apply(std::complex<long
   double>)':
../blitz/mathfunc.h:170: cannot convert `std::complex<long double>' to
`int'
   for argument `1' to `int abs(int)'
../blitz/mathfunc.h: In static member function `static float
   blitz::_bz_arg<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:378: `::arg' undeclared (first use here)
../blitz/mathfunc.h: In static member function `static std::complex<float>
   blitz::_bz_cos<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:781: cannot convert `std::complex<float>' to
`double' for
   argument `1' to `double cos(double)'
../blitz/mathfunc.h: In static member function `static std::complex<double>
   blitz::_bz_cos<std::complex<double> >::apply(std::complex<double>)':
../blitz/mathfunc.h:803: cannot convert `std::complex<double>' to
`double' for
   argument `1' to `double cos(double)'
../blitz/mathfunc.h: In static member function `static std::complex<long
   double> blitz::_bz_cos<std::complex<long double>
>::apply(std::complex<long
   double>)':
../blitz/mathfunc.h:825: cannot convert `std::complex<long double>' to
`double'
   for argument `1' to `double cos(double)'
../blitz/mathfunc.h: In static member function `static std::complex<float>
   blitz::_bz_cosh<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:932: cannot convert `std::complex<float>' to
`double' for
   argument `1' to `double cosh(double)'
../blitz/mathfunc.h: In static member function `static std::complex<double>
   blitz::_bz_cosh<std::complex<double> >::apply(std::complex<double>)':
../blitz/mathfunc.h:954: cannot convert `std::complex<double>' to
`double' for
   argument `1' to `double cosh(double)'
../blitz/mathfunc.h: In static member function `static std::complex<long
   double> blitz::_bz_cosh<std::complex<long double>
>::apply(std::complex<long
   double>)':
../blitz/mathfunc.h:976: cannot convert `std::complex<long double>' to
`double'
   for argument `1' to `double cosh(double)'
../blitz/mathfunc.h: In static member function `static std::complex<float>
   blitz::_bz_exp<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:1083: cannot convert `std::complex<float>' to
`double' for
   argument `1' to `double exp(double)'
../blitz/mathfunc.h: In static member function `static std::complex<double>
   blitz::_bz_exp<std::complex<double> >::apply(std::complex<double>)':
../blitz/mathfunc.h:1105: cannot convert `std::complex<double>' to
`double' for
   argument `1' to `double exp(double)'
../blitz/mathfunc.h: In static member function `static std::complex<long
   double> blitz::_bz_exp<std::complex<long double>
>::apply(std::complex<long
   double>)':
../blitz/mathfunc.h:1127: cannot convert `std::complex<long double>' to
`double
   ' for argument `1' to `double exp(double)'
../blitz/mathfunc.h: In static member function `static std::complex<float>
   blitz::_bz_log<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:1523: cannot convert `std::complex<float>' to
`double' for
   argument `1' to `double log(double)'
../blitz/mathfunc.h: In static member function `static std::complex<double>
   blitz::_bz_log<std::complex<double> >::apply(std::complex<double>)':
../blitz/mathfunc.h:1545: cannot convert `std::complex<double>' to
`double' for
   argument `1' to `double log(double)'
../blitz/mathfunc.h: In static member function `static std::complex<long
   double> blitz::_bz_log<std::complex<long double>
>::apply(std::complex<long
   double>)':
../blitz/mathfunc.h:1567: cannot convert `std::complex<long double>' to
`double
   ' for argument `1' to `double log(double)'
../blitz/mathfunc.h: In static member function `static std::complex<float>
   blitz::_bz_pow<std::complex<float>, std::complex<float>
>::apply(std::complex<float>, std::complex<float>)':
../blitz/mathfunc.h:1874: cannot convert `std::complex<float>' to
`double' for
   argument `1' to `double pow(double, double)'
../blitz/mathfunc.h: In static member function `static std::complex<double>
   blitz::_bz_pow<std::complex<double>, std::complex<double>
>::apply(std::complex<double>, std::complex<double>)':
../blitz/mathfunc.h:1899: cannot convert `std::complex<double>' to
`double' for
   argument `1' to `double pow(double, double)'
../blitz/mathfunc.h: In static member function `static std::complex<long
   double> blitz::_bz_pow<std::complex<long double>, std::complex<long
double>
>::apply(std::complex<long double>, std::complex<long double>)':
../blitz/mathfunc.h:1924: cannot convert `std::complex<long double>' to
`double
   ' for argument `1' to `double pow(double, double)'
../blitz/mathfunc.h: In static member function `static std::complex<float>
   blitz::_bz_sin<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:2102: cannot convert `std::complex<float>' to
`double' for
   argument `1' to `double sin(double)'
../blitz/mathfunc.h: In static member function `static std::complex<double>
   blitz::_bz_sin<std::complex<double> >::apply(std::complex<double>)':
../blitz/mathfunc.h:2124: cannot convert `std::complex<double>' to
`double' for
   argument `1' to `double sin(double)'
../blitz/mathfunc.h: In static member function `static std::complex<long
   double> blitz::_bz_sin<std::complex<long double>
>::apply(std::complex<long
   double>)':
../blitz/mathfunc.h:2146: cannot convert `std::complex<long double>' to
`double
   ' for argument `1' to `double sin(double)'
../blitz/mathfunc.h: In static member function `static std::complex<float>
   blitz::_bz_sinh<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:2228: cannot convert `std::complex<float>' to
`double' for
   argument `1' to `double sinh(double)'
../blitz/mathfunc.h: In static member function `static std::complex<double>
   blitz::_bz_sinh<std::complex<double> >::apply(std::complex<double>)':
../blitz/mathfunc.h:2250: cannot convert `std::complex<double>' to
`double' for
   argument `1' to `double sinh(double)'
../blitz/mathfunc.h: In static member function `static std::complex<long
   double> blitz::_bz_sinh<std::complex<long double>
>::apply(std::complex<long
   double>)':
../blitz/mathfunc.h:2272: cannot convert `std::complex<long double>' to
`double
   ' for argument `1' to `double sinh(double)'
../blitz/mathfunc.h: In static member function `static std::complex<float>
   blitz::_bz_sqrt<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:2394: cannot convert `std::complex<float>' to
`double' for
   argument `1' to `double sqrt(double)'
../blitz/mathfunc.h: In static member function `static std::complex<double>
   blitz::_bz_sqrt<std::complex<double> >::apply(std::complex<double>)':
../blitz/mathfunc.h:2416: cannot convert `std::complex<double>' to
`double' for
   argument `1' to `double sqrt(double)'
../blitz/mathfunc.h: In static member function `static std::complex<long
   double> blitz::_bz_sqrt<std::complex<long double>
>::apply(std::complex<long
   double>)':
../blitz/mathfunc.h:2438: cannot convert `std::complex<long double>' to
`double
   ' for argument `1' to `double sqrt(double)'
../blitz/mathfunc.h: In static member function `static std::complex<float>
   blitz::_bz_tan<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:2520: cannot convert `std::complex<float>' to
`double' for
   argument `1' to `double tan(double)'
../blitz/mathfunc.h: In static member function `static std::complex<double>
   blitz::_bz_tan<std::complex<double> >::apply(std::complex<double>)':
../blitz/mathfunc.h:2542: cannot convert `std::complex<double>' to
`double' for
   argument `1' to `double tan(double)'
../blitz/mathfunc.h: In static member function `static std::complex<long
   double> blitz::_bz_tan<std::complex<long double>
>::apply(std::complex<long
   double>)':
../blitz/mathfunc.h:2564: cannot convert `std::complex<long double>' to
`double
   ' for argument `1' to `double tan(double)'
../blitz/mathfunc.h: In static member function `static std::complex<float>
   blitz::_bz_tanh<std::complex<float> >::apply(std::complex<float>)':
../blitz/mathfunc.h:2646: cannot convert `std::complex<float>' to
`double' for
   argument `1' to `double tanh(double)'
../blitz/mathfunc.h: In static member function `static std::complex<double>
   blitz::_bz_tanh<std::complex<double> >::apply(std::complex<double>)':
../blitz/mathfunc.h:2668: cannot convert `std::complex<double>' to
`double' for
   argument `1' to `double tanh(double)'
../blitz/mathfunc.h: In static member function `static std::complex<long
   double> blitz::_bz_tanh<std::complex<long double>
>::apply(std::complex<long
   double>)':
../blitz/mathfunc.h:2690: cannot convert `std::complex<long double>' to
`double
   ' for argument `1' to `double tanh(double)'
In file included from ../blitz/array/newet.h:41,
                 from ../blitz/array/et.h:38,
                 from ../blitz/array-impl.h:2570,
                 from ../blitz/array.h:46,
                 from globals.cpp:13:
../blitz/array/funcs.h: At global scope:
../blitz/array/funcs.h:90: `template<class T1>
   
blitz::_bz_ArrayExpr<blitz::_bz_ArrayExprUnaryOp<blitz::asExpr<T>::T_expr,
   blitz::Fn_arg<blitz::asExpr<T>::T_expr::T_numtype> > > blitz::arg(const
   blitz::ETBase<T1>&)' used prior to declaration
make[2]: *** [globals.o] Error 1
make[2]: Leaving directory `/home/alok/blitz/blitz-0.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alok/blitz/blitz-0.6/src'
make: *** [all-recursive] Error 1