[GiNaC-list] undefined reference to cln

janos kovacs mostanra at gmail.com
Wed Aug 24 11:44:45 CEST 2011


Hello,

When I make the GiNaC library, it gives the following error messages:


Making all in ginsh
make[1]: Entering directory `/home/ginac-1.6.1/ginsh'
sed -n -f ./ginsh_fcn_help.sed <ginsh.1 >ginsh_fcn_help.h
sed -n -f ./ginsh_op_help.sed <ginsh.1 >ginsh_op_help.h
icpc -DHAVE_CONFIG_H -I. -I../config -I../ginac -I./../ginac -I../ginac
-DIN_GINAC -O2 -xAVX -axAVX -parallel -vec-report -MT ginsh_parser.o -MD -MP
-MF .deps/ginsh_parser.Tpo -c -o ginsh_parser.o ginsh_parser.cc
mv -f .deps/ginsh_parser.Tpo .deps/ginsh_parser.Po
icpc -DHAVE_CONFIG_H -I. -I../config -I../ginac -I./../ginac -I../ginac
-DIN_GINAC -O2 -xAVX -axAVX -parallel -vec-report -MT ginsh_lexer.o -MD -MP
-MF .deps/ginsh_lexer.Tpo -c -o ginsh_lexer.o ginsh_lexer.cc

mv -f .deps/ginsh_lexer.Tpo .deps/ginsh_lexer.Po
/bin/sh ../libtool --tag=CXX   --mode=link icpc  -O2 -xAVX -axAVX -parallel
-vec-report   -o ginsh ginsh_parser.o ginsh_lexer.o
../ginac/libginac.la-lreadline -lncurses
libtool: link: icpc -O2 -xAVX -axAVX -parallel -vec-report -o .libs/ginsh
ginsh_parser.o ginsh_lexer.o  ..*/ginac/*.libs/libginac.so
/usr/lib64/../lib64/libstdc++.so -lm -lreadline -lncurses
-Wl,-rpath,/usr/lib64/../lib64
ginsh_parser.o: In function `f_fsolve(GiNaC::container<std::vector>
const&)':
ginsh_parser.cc:(.text+0x6224): undefined reference to
`cln::cl_free_heap_object(cln::cl_heap*)'
ginsh_parser.o: In function `f_integer_content(GiNaC::container<std::vector>
const&)':
ginsh_parser.cc:(.text+0x64d5): undefined reference to
`cln::cl_free_heap_object(cln::cl_heap*)'
ginsh_parser.o: In function `GiNaC::numeric::~numeric()':
ginsh_parser.cc:(.gnu.linkonce.t._ZN5GiNaC7numericD1Ev[.gnu.linkonce.t._ZN5GiNaC7numericD1Ev]+0x1f):
undefined reference to `cln::cl_free_heap_object(cln::cl_heap*)'
..*/ginac/*.libs/libginac.so: undefined reference to
`cln::cl_I_to_L(cln::cl_I const&)'
..*/ginac/*.libs/libginac.so: undefined reference to
`cln::print_complex(std::ostream&, cln::cl_print_flags const&, cln::cl_N
const&)'
..*/ginac/*.libs/libginac.so: undefined reference to `cln::cosh(cln::cl_N
const&)'
..*/ginac/*.libs/libginac.so: undefined reference to
`cln::read_integer(std::istream&, cln::cl_read_flags const&)'
..*/ginac/*.libs/libginac.so: undefined reference to `cln::sqrt(cln::cl_N
const&)'
..*/ginac/*.libs/libginac.so: undefined reference to `cln::equal(cln::cl_R
const&, cln::cl_R const&)'
..*/ginac/*.libs/libginac.so: undefined reference to
`cln::cl_no_ring_init_helper::cl_no_ring_init_helper()'
..*/ginac/*.libs/libginac.so: undefined reference to
`cln::ceiling1(cln::cl_R const&)'
.
.
. ...and so on...



Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R)
64, Version 12.0.4.191 Build 20110427
Copyright (C) 1985-2011 Intel Corporation.

Added compiler options: -O2 -xAVX -axAVX -parallel -vec-report

Linux 64bit
Kernel version 2.6.37.6
GiNaC version 1.6.1
cln version 1.3.2
CLN is installed to default path, e.g. /usr/local/lib and /usr/local/include


Using gcc compiler, gives the same error.


What can I do to correct this?

Thank you in advance.

Tamas Istvan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cebix.net/pipermail/ginac-list/attachments/20110824/b545f3ef/attachment.html>


More information about the GiNaC-list mailing list