[GiNaC-list] problem running ginac

alexander baker baker.alexander at gmail.com
Tue Dec 4 14:37:12 CET 2007


The configure, make and install worked fine, however compiling a
simple example below gives the following:

#include <iostream>
#include <ginac/ginac.h>
using namespace std;
using namespace GiNaC;

int main(){
        numeric two = 2;
}

Running on Ubuntu dual core amd 64 bit.

Alex

/usr/local/lib/libginac.so: undefined reference to
`GiNaC::get_symbol_name(GiNaC::ex const&)'
/usr/local/lib/libginac.so: undefined reference to
`GiNaC::is_lexer_symbol_predefined(GiNaC::ex const&)'
/usr/local/lib/libginac.so: undefined reference to `ginac_yytext'
/usr/local/lib/libginac.so: undefined reference to
`GiNaC::set_lexer_symbols(GiNaC::ex)'
/usr/local/lib/libginac.so: undefined reference to `ginac_yylex()'
/usr/local/lib/libginac.so: undefined reference to
`GiNaC::set_lexer_string(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
/usr/local/lib/libginac.so: undefined reference to `ginac_yyrestart(_IO_FILE*)'
collect2: ld returned 1 exit status


-- 
Mobile: 07788 872118
Blog: www.alexfb.com


More information about the GiNaC-list mailing list