[GiNaC-list] Re: problem installing GiNaC from CVS (Ubuntu Feisty Faun)

alexander baker baker.alexander at gmail.com
Wed Dec 5 10:18:58 CET 2007


Alexei,

Many thanks for your assistance, please see link below.

Regards & thank you for your assistance,

Alex Baker

http://alexfb.com/ginac-alex.tar

On 04/12/2007, Alexei Sheplyakov <varg at theor.jinr.ru> wrote:
> Hello,
>
> On Fri, Nov 30, 2007 at 11:39:59PM +0000, alexander baker wrote:
>
> > g++ -g -O2 -o .libs/ginsh ginsh_parser.o ginsh_lexer.o  ../ginac/.libs/libginac.so -lreadline -lncurses -L/usr/local/lib /usr/local/lib/libcln.so -Wl,--rpath -Wl,/usr/local/lib
> > ginsh_lexer.o: In function `main':
> > /home/bakera/inglethorpe/ginac/GiNaC/ginsh/ginsh_lexer.cc:1: multiple definition of `main'
> > ginsh_parser.o:/home/bakera/inglethorpe/ginac/GiNaC/ginsh/ginsh_parser.yy:896: first defined here
> > /usr/bin/ld: Warning: size of symbol `main' changed from 1474 in ginsh_parser.o to 3 in ginsh_lexer.o
>
> [skipped]
>
> > ../ginac/.libs/libginac.so: undefined reference to `GiNaC::get_symbol_name(GiNaC::ex const&)'
> > ../ginac/.libs/libginac.so: undefined reference to `GiNaC::is_lexer_symbol_predefined(GiNaC::ex const&)'
> > ../ginac/.libs/libginac.so: undefined reference to `ginac_yytext'
> > ../ginac/.libs/libginac.so: undefined reference to `GiNaC::set_lexer_symbols(GiNaC::ex)'
> > ../ginac/.libs/libginac.so: undefined reference to `ginac_yylex()'
> > ../ginac/.libs/libginac.so: undefined reference to `GiNaC::set_lexer_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
> > ../ginac/.libs/libginac.so: undefined reference to `ginac_yyrestart(_IO_FILE*)'
>
> This clearly points to a problem with bison- and flex-generated files. Could
> you please post the following files:
>
> config.log
> ginac/input_parser.cc
> ginac/input_lexer.cc
> ginsh/ginsh_parser.cc
> ginsh/ginsh_lexer.cc
>
> so I can figure out what the problem is.
>
> Best regards,
>         Alexei
>
> --
> All science is either physics or stamp collecting.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iQIVAwUBR1WWpyXMWnuYxRVqAQL6uRAAiUpHudO0v7PlifL8X14FBpf0bmRYvlaL
> msVxQocAoAHQE0yPDgeRdoZSeTvxreTpUZ+l799yWPOuv2oT7A9R836jsj9wmM2T
> Ey5qmzK1vstwrOtn8gxst9mXOP1+ItmXWmjwPiq7AN7CDSLbOG6Ku3pQ6HSR3g9A
> ilA+wUZtyTPJiUPgREZaIieEt+5iZFTEz8pQHHxWx2xdKC5ahBNgz4mzPAVKZHGD
> XdTLgbKyCuNugBoMRWuL/UCRhF/hCrKbu3fpRjecv7uov/AjmokUNE1RCaaqLubr
> 82C3PrU4vCjCbOOTumInYnG1U8HhXUy7nGwaiAG3DVJ4WZuQCCplYXqTfP0RFuHa
> vrSvh+UzZi8CjK0PyjDaZwq8X5tzKnjg+JfvhhjMCH/eaJpHm9FQA2xgGqgyTCxZ
> oI61X8sSIb0dBZBtL2XaRGC02DwOj/K04KUk2ZWV7zZDqkZ/L/RFk4Sah67iaIAZ
> SwxxELdRjcicUjKZ4JDVwIJveQSEuo5Zzx4BeisduKJbHjEThaT4c0frT52U8EF+
> Y17mOKbn4c7FXBp8IK+ipmhq18naBFhR3wFGvUhcYATYV87O7HG1N0f22PuAnpd/
> fv3H+idxgWsN42rDWBea04CqTrevrL5WPZSh+KO8dkozNbU7VxqIfZur57ViflvQ
> 7Sg12xrIw1g=
> =wLhn
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> GiNaC-list mailing list
> GiNaC-list at ginac.de
> https://www.cebix.net/mailman/listinfo/ginac-list
>
>


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


More information about the GiNaC-list mailing list