Greetings. Two questions: 1. Could you make precompiled CLN library binaries for Linux (RPM format) available somewhere on the web? 2. What is wrong here? I downloaded and installed GiNaC-0.9.1-1.i386.rpm from ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/rpm/ and I downloaded and compiled cln-1.1.1.tar.gz. riedel@linuxfast:qselav > cat test.cpp #include <stdio.h> #include <ginac/ginac.h> using namespace std; using namespace GiNaC; static symbol g("g"); static symbol z("z"); int main(int argc, char **argv){ ex T; T=indexed(g, idx(3, 1))*pow(z, 3); cout << T.diff(z) << endl; } riedel@linuxfast:qselav > c++ test.cpp -o testdiff -lcln -lginac /usr/local/lib/libginac.so: undefined reference to `__dynamic_cast_2' collect2: ld returned 1 exit status riedel@linuxfast:qselav > ls -l /usr/local/lib/libginac.so lrwxrwxrwx 1 root root 26 Jul 11 20:24 /usr/local/lib/libginac.so -> /usr/lib/libginac-0.9.so.1 riedel@linuxfast:qselav > Best regards, Marko Riedel
Hi Marko, On Wed, 11 Jul 2001, Marko Riedel wrote:
1. Could you make precompiled CLN library binaries for Linux (RPM format) available somewhere on the web?
They are already packaged at: <ftp://ftpthep.physik.uni-mainz.de/pub/gnu/rpm/>
2. What is wrong here? I downloaded and installed GiNaC-0.9.1-1.i386.rpm from ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/rpm/ and I downloaded and compiled cln-1.1.1.tar.gz.
riedel@linuxfast:qselav > cat test.cpp #include <stdio.h> #include <ginac/ginac.h> using namespace std; using namespace GiNaC;
static symbol g("g"); static symbol z("z");
int main(int argc, char **argv){ ex T;
T=indexed(g, idx(3, 1))*pow(z, 3); cout << T.diff(z) << endl; } riedel@linuxfast:qselav > c++ test.cpp -o testdiff -lcln -lginac /usr/local/lib/libginac.so: undefined reference to `__dynamic_cast_2' collect2: ld returned 1 exit status riedel@linuxfast:qselav > ls -l /usr/local/lib/libginac.so lrwxrwxrwx 1 root root 26 Jul 11 20:24 /usr/local/lib/libginac.so -> /usr/lib/libginac-0.9.so.1 riedel@linuxfast:qselav >
Probably a compiler error. Which is you version of GCC? EGCS is having some problems with symbols that it cannot find for some obscure reason. We recommend using GCC version 2.95.x or 3.0. Regards -richy. -- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/>
participants (2)
-
Marko Riedel
-
Richard B. Kreckel