Hi all,
When installing symbolic-0.0.6 I was puzzled why I got a link error,
since I had previously successfully installed version 1.0.3 on the
same machine (albeit with an older cln/ginac combo):
octave:2> pkg install symbolic-1.0.6a.tar.gz
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-
checking -enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/
lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --
target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/collect2 -dynamic -
arch ppc -bundle -bundle_loader /usr/local/bin/octave-3.0.1 -
macosx_version_min 10.3 -multiply_defined suppress -
weak_reference_mismatches non-weak -o symbols.oct -lbundle1.o /usr/
lib/gcc/powerpc-apple-darwin8/4.0.1/crt3.o -L/usr/local/lib/
octave-3.0.1 -L/usr/local/lib -L/usr/local/bin/../lib/gcc-lib/powerpc-
apple-darwin6.8/4.0.3/ -L/usr/local/bin/../lib/gcc-lib/powerpc-apple-
darwin6.8/4.0.3 -L/usr/lib/gcc// -L/usr/local/bin/../lib/gcc-lib/
powerpc-apple-darwin6.8/4.0.3/// -L/usr/lib// -L/usr/lib/gcc/powerpc-
apple-darwin8/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1 -L/usr/
lib/gcc/powerpc-apple-darwin8/4.0.1/../../.. symbols.o
probably_prime.o differentiate.o findsymbols.o numden.o syminfo.o
symlsolve.o sumterms.o sym-bool.o sym-create.o ov-ex.o ov-vpa.o ov-ex-
mat.o ov-relational.o op-ex-mat.o op-ex.o op-vpa.o -loctinterp -
loctave -lcruft -framework vecLib -lfftw3 -lreadline -lncurses -lhdf5
-lz -lm -lhdf5 -lz -lf95 -lm -lstdc++ -lgcc_s.10.4 -lgcc -
lSystemStubs -lSystem
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
cln::cl_free_heap_object(cln::cl_heap*)
GiNaC::abs_SERIAL::serial
GiNaC::cos_SERIAL::serial
GiNaC::exp_SERIAL::serial
GiNaC::log_SERIAL::serial
GiNaC::sin_SERIAL::serial
GiNaC::tan_SERIAL::serial
GiNaC::acos_SERIAL::serial
GiNaC::asin_SERIAL::serial
GiNaC::atan_SERIAL::serial
GiNaC::cosh_SERIAL::serial
GiNaC::sinh_SERIAL::serial
GiNaC::tanh_SERIAL::serial
GiNaC::acosh_SERIAL::serial
GiNaC::archive_node::add_ex(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, GiNaC::ex const&)
GiNaC::asinh_SERIAL::serial
GiNaC::atanh_SERIAL::serial
GiNaC::library_init::library_init()
GiNaC::library_init::~library_init()
GiNaC::_numeric_digits::operator=(long)
GiNaC::_numeric_digits::operator long()
GiNaC::max_recursion_level
GiNaC::Pi
GiNaC::ex::construct_from_basic(GiNaC::basic const&)
GiNaC::quo(GiNaC::ex const&, GiNaC::ex const&, GiNaC::ex const&, bool)
GiNaC::rem(GiNaC::ex const&, GiNaC::ex const&, GiNaC::ex const&, bool)
GiNaC::dflt(std::basic_ostream<char, std::char_traits<char> >&)
GiNaC::prem(GiNaC::ex const&, GiNaC::ex const&, GiNaC::ex const&, bool)
GiNaC::basic::basic(GiNaC::basic const&)
GiNaC::basic::operator=(GiNaC::basic const&)
GiNaC::basic::operator[](GiNaC::ex const&)
GiNaC::basic::operator[](unsigned long)
GiNaC::power::tinfo_static
GiNaC::Digits
GiNaC::_ex1_2
GiNaC::symbol::symbol()
GiNaC::numeric::numeric(char const*)
GiNaC::numeric::numeric(double)
GiNaC::numeric::numeric(int)
GiNaC::numeric::numeric()
GiNaC::_num0_bp
GiNaC::function::function(unsigned int, GiNaC::ex const&)
GiNaC::container<std::vector>::tinfo_static
GiNaC::container<std::vector>::reg_info
GiNaC::operator==(GiNaC::ex const&, GiNaC::ex const&)
GiNaC::operator<<(std::basic_ostream<char, std::char_traits<char> >&,
GiNaC::ex const&)
GiNaC::operator+(GiNaC::numeric const&, GiNaC::numeric const&)
GiNaC::ex::subs(GiNaC::ex const&, unsigned int) const
GiNaC::ex::print(GiNaC::print_context const&, unsigned int) const
GiNaC::ex::share(GiNaC::ex const&) const
GiNaC::ex::expand(unsigned int) const
GiNaC::basic::derivative(GiNaC::symbol const&) const
GiNaC::basic::eval_integ() const
GiNaC::basic::eval_ncmul(std::vector<GiNaC::ex,
std::allocator<GiNaC::ex> > const&) const
GiNaC::basic::add_indexed(GiNaC::ex const&, GiNaC::ex const&) const
GiNaC::basic::return_type() const
GiNaC::basic::to_rational(std::map<GiNaC::ex, GiNaC::ex,
GiNaC::ex_is_less, std::allocator<std::pair<GiNaC::ex const,
GiNaC::ex> > >&) const
GiNaC::basic::dbgprinttree() const
GiNaC::basic::eval_indexed(GiNaC::basic const&) const
GiNaC::basic::contract_with(__gnu_cxx::__normal_iterator<GiNaC::ex*,
std::vector<GiNaC::ex, std::allocator<GiNaC::ex> > >,
__gnu_cxx::__normal_iterator<GiNaC::ex*, std::vector<GiNaC::ex,
std::allocator<GiNaC::ex> > >, std::vector<GiNaC::ex,
std::allocator<GiNaC::ex> >&) const
GiNaC::basic::is_polynomial(GiNaC::ex const&) const
GiNaC::basic::to_polynomial(std::map<GiNaC::ex, GiNaC::ex,
GiNaC::ex_is_less, std::allocator<std::pair<GiNaC::ex const,
GiNaC::ex> > >&) const
GiNaC::basic::subs_one_level(std::map<GiNaC::ex, GiNaC::ex,
GiNaC::ex_is_less, std::allocator<std::pair<GiNaC::ex const,
GiNaC::ex> > > const&, unsigned int) const
GiNaC::basic::integer_content() const
GiNaC::basic::match_same_type(GiNaC::basic const&) const
GiNaC::basic::max_coefficient() const
GiNaC::basic::get_free_indices() const
GiNaC::basic::return_type_tinfo() const
GiNaC::basic::scalar_mul_indexed(GiNaC::ex const&, GiNaC::numeric
const&) const
GiNaC::basic::ensure_if_modifiable() const
GiNaC::basic::has(GiNaC::ex const&, unsigned int) const
GiNaC::basic::map(GiNaC::map_function&) const
GiNaC::basic::hold() const
GiNaC::basic::smod(GiNaC::numeric const&) const
GiNaC::basic::coeff(GiNaC::ex const&, int) const
GiNaC::basic::evalf(int) const
GiNaC::basic::evalm() const
GiNaC::basic::match(GiNaC::ex const&, GiNaC::container<std::list>&)
const
GiNaC::basic::print(GiNaC::print_context const&, unsigned int) const
GiNaC::basic::degree(GiNaC::ex const&) const
GiNaC::basic::expand(unsigned int) const
GiNaC::basic::normal(std::map<GiNaC::ex, GiNaC::ex,
GiNaC::ex_is_less, std::allocator<std::pair<GiNaC::ex const,
GiNaC::ex> > >&, std::map<GiNaC::ex, GiNaC::ex, GiNaC::ex_is_less,
std::allocator<std::pair<GiNaC::ex const, GiNaC::ex> > >&, int) const
GiNaC::basic::series(GiNaC::relational const&, int, unsigned int) const
GiNaC::basic::archive(GiNaC::archive_node&) const
GiNaC::basic::collect(GiNaC::ex const&, bool) const
GiNaC::basic::compare(GiNaC::basic const&) const
GiNaC::basic::ldegree(GiNaC::ex const&) const
GiNaC::basic::calchash() const
GiNaC::basic::dbgprint() const
GiNaC::basic::is_equal(GiNaC::basic const&) const
GiNaC::basic::operator[](GiNaC::ex const&) const
GiNaC::basic::operator[](unsigned long) const
GiNaC::numeric::to_double() const
GiNaC::constant::evalf(int) const
GiNaC::container<std::vector>::info(unsigned int) const
typeinfo for GiNaC::basic
typeinfo for GiNaC::symbol
typeinfo for GiNaC::numeric
vtable for GiNaC::relational
vtable for GiNaC::basic
vtable for GiNaC::power
vtable for GiNaC::symbol
vtable for GiNaC::numeric
GiNaC::numeric::is_prime() const
GiNaC::ex::diff(GiNaC::symbol const&, unsigned int) const
GiNaC::ex::construct_from_int(int)
GiNaC::symbol::tinfo_static
GiNaC::operator+(GiNaC::ex const&, GiNaC::ex const&)
GiNaC::relational::operator void
(GiNaC::relational::safe_bool_helper::*)()() const
GiNaC::ex::operator[](unsigned long)
GiNaC::ex::numer_denom() const
GiNaC::relational::relational()
GiNaC::lsolve(GiNaC::ex const&, GiNaC::ex const&, unsigned int)
GiNaC::container<std::list>::tinfo_static
GiNaC::container<std::list>::reg_info
GiNaC::ex::rhs() const
GiNaC::container<std::list>::info(unsigned int) const
typeinfo for GiNaC::add
GiNaC::matrix::matrix(unsigned int, unsigned int)
GiNaC::matrix::operator()(unsigned int, unsigned int)
GiNaC::symbol::symbol(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, unsigned int)
vtable for GiNaC::matrix
GiNaC::I
GiNaC::ex::construct_from_double(double)
GiNaC::operator*(GiNaC::numeric const&, GiNaC::numeric const&)
GiNaC::numeric::operator==(GiNaC::numeric const&) const
GiNaC::numeric::operator!=(GiNaC::numeric const&) const
GiNaC::matrix::matrix()
GiNaC::operator*(GiNaC::ex const&, GiNaC::ex const&)
GiNaC::relational::relational(GiNaC::ex const&, GiNaC::ex const&,
GiNaC::relational::operators)
GiNaC::print_context::get_class_info_static()
GiNaC::print_context::print_context(std::basic_ostream<char,
std::char_traits<char> >&, unsigned int)
GiNaC::operator/(GiNaC::ex const&, GiNaC::ex const&)
GiNaC::operator-(GiNaC::ex const&, GiNaC::ex const&)
GiNaC::matrix::add(GiNaC::matrix const&) const
GiNaC::matrix::mul(GiNaC::matrix const&) const
GiNaC::matrix::sub(GiNaC::matrix const&) const
GiNaC::matrix::inverse() const
GiNaC::matrix::transpose() const
GiNaC::numeric::tinfo_static
collect2: ld returned 1 exit status
make: *** [symbols.oct] Error 1
error: 'make' returned the following error: mkoctfile -v -c
symbols.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2
symbols.cc -o symbols.o
mkoctfile -v -c probably_prime.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2
probably_prime.cc -o probably_prime.o
mkoctfile -v -c differentiate.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2
differentiate.cc -o differentiate.o
mkoctfile -v -c findsymbols.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2
findsymbols.cc -o findsymbols.o
mkoctfile -v -c numden.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2
numden.cc -o numden.o
mkoctfile -v -c syminfo.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2
syminfo.cc -o syminfo.o
mkoctfile -v -c symlsolve.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2
symlsolve.cc -o symlsolve.o
mkoctfile -v -c sumterms.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2
sumterms.cc -o sumterms.o
mkoctfile -v -c sym-bool.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2 sym-
bool.cc -o sym-bool.o
mkoctfile -v -c sym-create.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2 sym-
create.cc -o sym-create.o
mkoctfile -v -c ov-ex.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2 ov-
ex.cc -o ov-ex.o
mkoctfile -v -c ov-vpa.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2 ov-
vpa.cc -o ov-vpa.o
mkoctfile -v -c ov-ex-mat.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2 ov-ex-
mat.cc -o ov-ex-mat.o
mkoctfile -v -c ov-relational.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2 ov-
relational.cc -o ov-relational.o
mkoctfile -v -c op-ex-mat.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2 op-ex-
mat.cc -o op-ex-mat.o
mkoctfile -v -c op-ex.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2 op-
ex.cc -o op-ex.o
mkoctfile -v -c op-vpa.cc
g++ -c -I/usr/local/include -I/usr/local/include/octave-3.0.1 -I/usr/
local/include/octave-3.0.1/octave -I/usr/local/include -g -O2 op-
vpa.cc -o op-vpa.o
mkoctfile -v -o symbols.oct symbols.o probably_prime.o
differentiate.o findsymbols.o numden.o syminfo.o symlsolve.o
sumterms.o sym-bool.o sym-create.o ov-ex.o ov-vpa.o ov-ex-mat.o ov-
relational.o op-ex-mat.o op-ex.o op-vpa.o
g++ -v -bundle -bundle_loader /usr/local/bin/octave-3.0.1 -o
symbols.oct symbols.o probably_prime.o differentiate.o findsymbols.o
numden.o syminfo.o symlsolve.o sumterms.o sym-bool.o sym-create.o ov-
ex.o ov-vpa.o ov-ex-mat.o ov-relational.o op-ex-mat.o op-ex.o op-
vpa.o -L/usr/local/lib/octave-3.0.1 -L/usr/local/lib -loctinterp -
loctave -lcruft -Wl,-framework -Wl,vecLib -lfftw3 -lreadline -
lncurses -lhdf5 -lz -lm -L/usr/local/bin/../lib/gcc-lib/powerpc-apple-
darwin6.8/4.0.3/ -L/usr/local/bin/../lib/gcc-lib/powerpc-apple-
darwin6.8/4.0.3 -L/usr/lib/gcc// -L/usr/local/bin/../lib/gcc-lib/
powerpc-apple-darwin6.8/4.0.3/// -L/usr/lib// -lhdf5 -lz -lf95 -lm
error: called from `pkg:configure_make' in file /usr/local/share/
octave/3.0.1/m/pkg/pkg.m near line 1245, column 2
When I add
GINAC_LIBS = -lginac -lcln -lgmp
to src/Makefile the build proceeds as expected:
octave:1> pkg install symbolic-1.0.6a.tar.gz
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /var/tmp/gcc/gcc-5370~2/src/configure --disable-
checking -enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/
$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/
lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --
target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5370)
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/collect2 -dynamic -
arch ppc -bundle -bundle_loader /usr/local/bin/octave-3.0.1 -
macosx_version_min 10.3 -multiply_defined suppress -
weak_reference_mismatches non-weak -o symbols.oct -lbundle1.o /usr/
lib/gcc/powerpc-apple-darwin8/4.0.1/crt3.o -L/usr/local/lib -L/usr/
local/lib/octave-3.0.1 -L/usr/local/lib -L/usr/local/bin/../lib/gcc-
lib/powerpc-apple-darwin6.8/4.0.3/ -L/usr/local/bin/../lib/gcc-lib/
powerpc-apple-darwin6.8/4.0.3 -L/usr/lib/gcc// -L/usr/local/bin/../
lib/gcc-lib/powerpc-apple-darwin6.8/4.0.3/// -L/usr/lib// -L/usr/lib/
gcc/powerpc-apple-darwin8/4.0.1 -L/usr/lib/gcc/powerpc-apple-
darwin8/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../..
symbols.o probably_prime.o differentiate.o findsymbols.o numden.o
syminfo.o symlsolve.o sumterms.o sym-bool.o sym-create.o ov-ex.o ov-
vpa.o ov-ex-mat.o ov-relational.o op-ex-mat.o op-ex.o op-vpa.o -
lginac -lcln -lgmp -loctinterp -loctave -lcruft -framework vecLib -
lfftw3 -lreadline -lncurses -lhdf5 -lz -lm -lhdf5 -lz -lf95 -lm -lstdc
++ -lgcc_s.10.4 -lgcc -lSystemStubs -lSystem
Marius
--
Marius Schamschula
Webmaster
The Huntsville Macintosh Users Group
www.hmug.org
webmaster at hmug dot org
marius at schamschula dot com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev