[Trilinos-Users] Problem with Atzecoo (__xtol)

mlx82 at fastwebnet.it mlx82 at fastwebnet.it
Tue Feb 5 15:47:39 MST 2008


Hi,

I'm on Suse 10.3. I've installed Trilinos 8.0.5 with this config:

../trilinos-8.0.5/configure \
--prefix=//home/mlx/Steam3D/trilinos-8.0.5/ \
CXX=/usr/bin/g++ \
CCC=/usr/bin/gcc \
F77=/usr/bin/gfortran \
--with-incdirs="-I/usr/include" \
--with-ldflags="-L/usr/lib" \
--with-blas=-lblas \
--with-lapack=-llapack \
--with-flibs="-lgfortran" \
--disable-default-packages \
--disable-examples \
--disable-tests \
--enable-aztecoo \
--enable-teuchos \
--enable-epetra \
--enable-epetraext \
--enable-triutils \
--enable-ifpack

Installation works fine (after first step I do make and make install).
At the end compiling with kdevelop I've this error (during the linking 
to the exe file):

/home/mlx/Steam3D/trilinos-8.0.5/lib/libaztecoo.a(az_util.o): In 
function `AZ_random_vector':
/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../../..
/trilinos-8.0.5/packages/aztecoo/src/az_util.c:1795: undefined 
reference to `__xtol'
/home/mlx/Steam3D/trilinos-8.0.5/lib/libaztecoo.a(az_util.o): In 
function `AZ_set_solver_parameters':
/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../../..
/trilinos-8.0.5/packages/aztecoo/src/az_util.c:2305: undefined 
reference to `__xtol'
/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../../..
/trilinos-8.0.5/packages/aztecoo/src/az_util.c:2308: undefined 
reference to `__xtol'
/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../../..
/trilinos-8.0.5/packages/aztecoo/src/az_util.c:2311: undefined 
reference to `__xtol'
/home/mlx/Steam3D/trilinos-8.0.5/lib/libaztecoo.a(az_util.o): In 
function `AZ_recover_sol_params':
/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../../..
/trilinos-8.0.5/packages/aztecoo/src/az_util.c:2376: undefined 
reference to `__xtol'
/home/mlx/Steam3D/trilinos-8.0.5/lib/libaztecoo.a(az_util.o):
/home/mlx/Steam3D/trilinos-8.0.5/Temp/packages/aztecoo/src/../../../..
/trilinos-8.0.5/packages/aztecoo/src/az_util.c:2379: more undefined 
references to `__xtol' follow

I really don't know what is this __xtol. I read something on this 
site, but because I'm a "beginner of linux" I really don't understand 
how to solve the problem. 

http://abicheck.sourceforge.net/sfcvs/abicheck/INTRO

http://abicheck.sourceforge.net/

Can you help me?

Thanks!

   Cristiano M.






More information about the Trilinos-Users mailing list