![]() |
Blitz Support : |
From: Andre Massing (massing_at_[hidden])
Date: 2004-08-28 15:46:34
Hello,
First I want to thank you for the quick answer concerning my compiling
problem. With your help my programm was compiled but now there is a
run-time error, so I intended to apply the debug mode. Unfortunately
running the gcc 3.3.3 compiler (using blitz++0.7) with "-g -DBZ_DEBUG"
did not work as expected. It only gave the following message (without
producing any executable file):
radaumain2.o(.gnu.linkonce.t._ZN5blitz5ArrayIdLi2EE8evaluateINS_13_bz_ArrayExprINS_17FastArrayIteratorIdLi2EEEEENS_10_bz_updateIdd
EEEERS1_T_T0_+0x31): In function `blitz::Array<double, (int)2>&
blitz::Array<double, (int)2>::evaluate<blitz::_bz_ArrayExpr<blitz:
:FastArrayIterator<double, (int)2> >, blitz::_bz_update<double, double>>
(blitz::_bz_ArrayExpr<blitz::FastArrayIterator<double, (int)2> >, blitz::_bz_update<double, double>)':
/usr/include/g++/bits/basic_string.h:916: undefined reference to
`blitz::assertFailMode'
radau.o(.gnu.linkonce.t._ZN5blitz5ArrayIdLi2EE8evaluateINS_17FastArrayIteratorIdLi2EEENS_15_bz_plus_updateIddEEEERS1_T_T0_+0x31):
In function `blitz::Array<double, (int)2>& blitz::Array<double,(int)2>::evaluate<blitz::FastArrayIterator<double, (int)2>,
blitz::_bz_plus_update<double, double> >(blitz::FastArrayIterator<double,(int)2>, blitz::_bz_plus_update<double, double>)':
/usr/local/include/blitz/memblock.cc:51: undefined reference to
`blitz::assertFailMode'
newton.o(.gnu.linkonce.t._ZN5blitz5ArrayIdLi2EE8evaluateINS_13_bz_ArrayExprINS_21_bz_ArrayExprConstantIdEEEENS_10_bz_updateIddEEEE
RS1_T_T0_+0x2e): In function `blitz::Array<double, (int)2>&
blitz::Array<double, (int)2>::evaluate<blitz::_bz_ArrayExpr<blitz::_bz_ArrayExprConstant<double> >,
blitz::_bz_update<double, double>>(blitz::_bz_ArrayExpr<blitz::_bz_ArrayExprConstant<double> >,
blitz::_bz_update<double, double>)':
/usr/local/include/blitz/tinyvec.cc:103: undefined reference to
`blitz::assertFailMode'
I also tried to run the debug mode with the example given in the blitz
manual,but the programm got compiled, only producing the message
"debugtest.cpp:13:2: warning: no newline at end of file".
Do you have any idea why the compiler acted this way?
Thank you.
Best Regards
Andre