Am getting the following error when I try and make GiNac, the configure step has worked ok, please see below. Regards Alex Baker. Configuration of GiNaC done. Now type "make". root@treebeard:/home/bakera/inglethorpe/ginac/GiNaC# make cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/bash ./config.status config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory `/home/bakera/inglethorpe/ginac/GiNaC' Making all in ginac make[2]: Entering directory `/home/bakera/inglethorpe/ginac/GiNaC/ginac' @LIBTOOL@ --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. /usr/local/lib -g -O2 -c add.cpp /bin/bash: line 1: @LIBTOOL@: command not found make[2]: *** [add.lo] Error 127 make[2]: Leaving directory `/home/bakera/inglethorpe/ginac/GiNaC/ginac' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bakera/inglethorpe/ginac/GiNaC' make: *** [all-recursive-am] Error 2 -- Mobile: 07788 872118 Blog: www.alexfb.com
Hello, On Thu, Nov 29, 2007 at 10:03:16AM +0000, alexander baker wrote:
Am getting the following error when I try and make GiNaC,
Any information about your environment and version of GiNaC?
configure step has worked ok, please see below.
Your config.log file, please?
Configuration of GiNaC done. Now type "make". root@treebeard:/home/bakera/inglethorpe/ginac/GiNaC# make
Don't compile software as root. The configure script might not work correctly in this case (leaving aside obvious security issues). Just say NO! Best regards, Alexei -- All science is either physics or stamp collecting.
Host & OS ======== AMD64 dual core, 512M RAM, Linux Ubuntu Fiesty Faun. Installed ====== cln-1.1.6.tar.bz2 boost ( cvs version ) - built and working ok ginac ( cvs -d :pserver:anoncvs@cvs.ginac.de:/home/cvs/GiNaC co GiNaC ) apt-get install libreadline-dev5 installed autoreconf package Still getting the following: make all-recursive make[1]: Entering directory `/home/bakera/inglethorpe/ginac/GiNaC' Making all in ginac make[2]: Entering directory `/home/bakera/inglethorpe/ginac/GiNaC/ginac' @LIBTOOL@ --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. /usr/local/lib -g -O2 -c add.cpp /bin/bash: line 1: @LIBTOOL@: command not found make[2]: *** [add.lo] Error 127 make[2]: Leaving directory `/home/bakera/inglethorpe/ginac/GiNaC/ginac' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bakera/inglethorpe/ginac/GiNaC' make: *** [all-recursive-am] Error 2 On 29/11/2007, Alexei Sheplyakov <varg@theor.jinr.ru> wrote:
Hello,
On Thu, Nov 29, 2007 at 10:03:16AM +0000, alexander baker wrote:
Am getting the following error when I try and make GiNaC,
Any information about your environment and version of GiNaC?
configure step has worked ok, please see below.
Your config.log file, please?
Configuration of GiNaC done. Now type "make". root@treebeard:/home/bakera/inglethorpe/ginac/GiNaC# make
Don't compile software as root. The configure script might not work correctly in this case (leaving aside obvious security issues). Just say NO!
Best regards, Alexei
-- All science is either physics or stamp collecting.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQIVAwUBR06W8CXMWnuYxRVqAQJPKA/+OtFqzbB7kqDP1MVGJL8qV2GAtGEs8SyV gBWaIboMloohCl9pWWyleepfi0xClSplKkzMBWLVubFzv/5BD131ceqt17D0LNYA s13r4zo/yMSPvJ7FDGOsmpWIOjxh1p5V53JKbb5MYl8T56hn8c7pDjjarnWvf60b sAASEj+pWmLCFEFisYiaUPplTFJo0nUzTbwrvj838oTjnoxwy2TacfZ12ssQd4TI 996UbJIc4jZwUdAbUqjduy/V/LVYzDKW1ItkVAgDx9qdp5h7sTFul9Ff+b1ukOpY QZ11qQIZZFhHE396imBVz+Km8hmBnfi3cJiFVrI+FKoNSW87BdpBZP//7y1Mo1CJ FwsY3Q44FSUh54Z/qKSWsfdsYt4SekGUAFwFgq7flqjYOmSKkLScSLlqQlmGSj28 DZLHfBBIYFx/W2aM6LEorQbrbjTfjCa1kYeOJSCNMa52oK9M3ak+mkTDZsu2fCgI wvSlr5uOB60UGSTHOPB7BVbCKVRq5I/kkg4LUc1QYS2e4FYKOIVNlv+mfCEw4SYj Wjmsi5JzrfnyMDYhrlxZGIHeV/sPfMdUDApMXP48Dv9T5BWpcAByOXNImPhNYU2v ACXZ5g4XqjUwVpEeYMkehn8B1v0Cb8vN6od0BNUvyeOsvPBAlT7wXqSdbv5aGFvw AgAkZMryA4E= =iAs0 -----END PGP SIGNATURE-----
_______________________________________________ GiNaC-list mailing list GiNaC-list@ginac.de https://www.cebix.net/mailman/listinfo/ginac-list
-- Mobile: 07788 872118 Blog: www.alexfb.com
On Thu, Nov 29, 2007 at 11:05:21AM +0000, alexander baker wrote:
cln-1.1.6.tar.bz2
This version might not work, but anyway, you've got a differnet problem.
ginac ( cvs -d :pserver:anoncvs@cvs.ginac.de:/home/cvs/GiNaC co GiNaC )
[skipped]
make[2]: Entering directory `/home/bakera/inglethorpe/ginac/GiNaC/ginac' @LIBTOOL@ --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
# apt-get install libtool $ autoreconf -i $ ./configure --whatever-you-want Hope that helps, Alexei -- All science is either physics or stamp collecting.
Thanks, install of libtool worked fine, however still getting. make all-recursive make[1]: Entering directory `/home/bakera/inglethorpe/ginac/GiNaC' Making all in ginac make[2]: Entering directory `/home/bakera/inglethorpe/ginac/GiNaC/ginac' @LIBTOOL@ --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. /usr/local/lib -g -O2 -c add.cpp /bin/bash: line 1: @LIBTOOL@: command not found make[2]: *** [add.lo] Error 127 make[2]: Leaving directory `/home/bakera/inglethorpe/ginac/GiNaC/ginac' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bakera/inglethorpe/ginac/GiNaC' make: *** [all-recursive-am] Error 2 On 29/11/2007, Alexei Sheplyakov <varg@theor.jinr.ru> wrote:
On Thu, Nov 29, 2007 at 11:05:21AM +0000, alexander baker wrote:
cln-1.1.6.tar.bz2
This version might not work, but anyway, you've got a differnet problem.
ginac ( cvs -d :pserver:anoncvs@cvs.ginac.de:/home/cvs/GiNaC co GiNaC )
[skipped]
make[2]: Entering directory `/home/bakera/inglethorpe/ginac/GiNaC/ginac' @LIBTOOL@ --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
# apt-get install libtool $ autoreconf -i $ ./configure --whatever-you-want
Hope that helps, Alexei
-- All science is either physics or stamp collecting.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQIVAwUBR06njiXMWnuYxRVqAQIrNxAAiGcBQ0oOxVI72CNKpkpIr46FqPLNFJtD +OxmG7hbT33ESdaw1JW2JUHXkZt48MD5PuuAm+jLWs0eGdxQ2D8MCYzKZxEbyFYy FN/u/veoCeAv7bbn503H+STOLKbRTCFjP/j1ANJMuNcZUeggMJrVfay9ZBDl7RLK xtXuXPCSd9aZ4lMRR1Z/feEp08DcOYkhHon9P8VL6H9Ru0ZYp+XeFysI7aVuXgRn OxbI/2iNLA18qHs4KYj2BVHPJZl5efKD/RpSMy/1wppIUilE9o94AE+NMyTHoNVV qCs3teQTpAsQKyrigBN7WS72Y/iXyKCiqh3Cjt4SK6m2unCd5/rnWNBZQWOtk+Yi dxoIM0WLgn39NA3klJa4SjWNjAh+w4LG63Le3ANgsbkEunE8+JHWRpuc3lyKVKhv fCKUYFL3ea5x+J6jRwPkk+bu2AobuvKnQ5b3ctiO8wUy8yRVswR4GCdyUl4DtnQB xIcTp+dw3RApmgEASEKpz70Lw0LByHTezV7nWs7I31EuMtrmDEzSnHX6eTunFMwO CSoCn1U6U5UInA84U62RnnqhRKoaLgdn/UK6qxcGGflP8PMC1rZ6GOz4Z//nyZrq s7H92UIRgu7Fa32nUS6/3AjHPeMOZqEb3zv+Yb5WarG5NqPXep2hVxPd+KwEJyTd Q0k9JON9bN0= =hq49 -----END PGP SIGNATURE-----
_______________________________________________ GiNaC-list mailing list GiNaC-list@ginac.de https://www.cebix.net/mailman/listinfo/ginac-list
-- Mobile: 07788 872118 Blog: www.alexfb.com
On Thu, Nov 29, 2007 at 12:33:32PM +0000, alexander baker wrote:
Thanks, install of libtool worked fine, however still getting.
make all-recursive make[1]: Entering directory `/home/bakera/inglethorpe/ginac/GiNaC' Making all in ginac make[2]: Entering directory `/home/bakera/inglethorpe/ginac/GiNaC/ginac' @LIBTOOL@ --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
This getting weird. Could you please run $ autoreconf -iv and post the output. Best regards, Alexei -- All science is either physics or stamp collecting.
Hi, I post this here, since this might be useful for Ubuntu users. On Thu, Nov 29, 2007 at 02:06:15PM +0000, Alexander Baker wrote:
bakera@treebeard:~/inglethorpe/ginac/GiNaC$ automake --version automake (GNU automake) 1.4-p6
The problem was an ancient version of automake. Although GiNaC checks for the version of automake (and autoconf), apparently some very old versions of automake ignore this check, hence the problem. Installing required version of automake (>= 1.7, as specified in the INSTALL file) fixes the problem. Best regards, Alexei -- All science is either physics or stamp collecting.
On Thu, Nov 29, 2007 at 03:32:11PM +0000, alexander baker wrote:
bakera@treebeard:~/inglethorpe/ginac$ c++ simple.cpp -o simple -lcln -lginac /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
# apt-get install flex bison $ make distclean $ rm -f config.log $ ./configure --whatever-you-like && make && make check Best regards, Alexei -- All science is either physics or stamp collecting.
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 -W l,/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: f irst defined here /usr/bin/ld: Warning: size of symbol `main' changed from 1474 in ginsh_parser.o to 3 in ginsh_lexer.o ginsh_parser.o: In function `yyerror(char*)': ginsh_parser.cc:(.text+0xe4): undefined reference to `yytext' ginsh_parser.o: In function `yyparse()': ginsh_parser.cc:(.text+0x8451): undefined reference to `yylex()' ginsh_parser.cc:(.text+0x8b05): undefined reference to `syms' ginsh_parser.cc:(.text+0x8b1b): undefined reference to `syms' ginsh_parser.cc:(.text+0x9689): undefined reference to `symboltype' ginsh_parser.cc:(.text+0x9698): undefined reference to `symboltype' ginsh_parser.o: In function `main': ginsh_parser.cc:(.text+0xca11): undefined reference to `num_files' ginsh_parser.cc:(.text+0xca3d): undefined reference to `file_list' ginsh_parser.cc:(.text+0xca74): undefined reference to `yyin' ginsh_parser.cc:(.text+0xca7c): undefined reference to `num_files' ginsh_parser.cc:(.text+0xca84): undefined reference to `file_list' ginsh_parser.cc:(.text+0xca8e): undefined reference to `file_list' ../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_prede fined(GiNaC::ex const&)' ../ginac/.libs/libginac.so: undefined reference to `ginac_yytext' ../ginac/.libs/libginac.so: undefined reference to `GiNaC::set_lexer_symbols(GiN aC::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*)' collect2: ld returned 1 exit status make[2]: *** [ginsh] Error 1 make[2]: Leaving directory `/home/bakera/inglethorpe/ginac/GiNaC/ginsh' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bakera/inglethorpe/ginac/GiNaC' make: *** [all-recursive-am] Error 2 On 30/11/2007, Alexei Sheplyakov <varg@theor.jinr.ru> wrote:
On Thu, Nov 29, 2007 at 03:32:11PM +0000, alexander baker wrote:
bakera@treebeard:~/inglethorpe/ginac$ c++ simple.cpp -o simple -lcln -lginac /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
# apt-get install flex bison $ make distclean $ rm -f config.log $ ./configure --whatever-you-like && make && make check
Best regards, Alexei
-- All science is either physics or stamp collecting.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux)
iQIVAwUBR1AAFiXMWnuYxRVqAQJmdA/8DwNclp97pyEphuR7653VmtLN3/BTqJVU 4vMSkBYbCufqEuwsSPyvTjPIPOizUTd7HOmN9XB8wrrUSqiOOBK+RnmRNRRpLnJH ux8k4llwNQxC4PHVU62HwvOyeTXs3QrQmIYIXBtUm4m8q0K3boF903w64wWmaf9U yjow5bk2yzCLSTAUwmYoWOHQgtQZVHhunLDt5ZqSYsQseEWI2G6i3Zh/PEHmThSw QJvZlRrot/Vzf1ps/cbay+lQBkSJCvwy9g+R172tOXM/Zr9fi9oG8Er8ZH7DZZRe /fobkmBIBwaJzy6gbJyiymr5v2yY1xeEW+xWqN95PEHo2mPo+C8T+rEVu+yIZ/kj VHIGIgdEMhPjLwkuv9+R+MT7g7jZ9DzP8w+Ql7UM8M/Z0/WG6O0OpPosELCcEUUP oX/x7x7I3PT+vV28DBM0kI/OW9U8NoPBv0JWpefGts/S8mX9iEOE6VZ94GC0PAZs VBmWqybfU4c3srFDNt4h+7UR7jabXaHs3xzusNxIxLPEOdeGfzsUTN0EbINIvYGm Tj4bmWuW+ur0gtbAcpyLkP8ZoJoac3WtZVNyT67NZ4JrixSTQuNC83JpWVZmpifs LXosxQm/DesEkgCxYWyflTdxhNjaHk7wayRG6yZJdX/YC+JcLguS35MpnK3zZK8S j7kDpqO7DBw= =e+ke -----END PGP SIGNATURE-----
_______________________________________________ GiNaC-list mailing list GiNaC-list@ginac.de https://www.cebix.net/mailman/listinfo/ginac-list
-- Mobile: 07788 872118 Blog: www.alexfb.com
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.
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@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@ginac.de https://www.cebix.net/mailman/listinfo/ginac-list
-- Mobile: 07788 872118 Blog: www.alexfb.com
Hi, On Wed, Dec 05, 2007 at 09:18:58AM +0000, Alexander Baker wrote:
There is something fishy about those files. $ cat input_lexer.cc main() { return 0; } Funny, isn't it? $ cat ginsh_lexer.cc main() { return 0; } Same here. Now we get duplicate definition of main -- one in ginsh_parser.cc (correct) and this bogus one, hence the error:
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
So, I wonder where these files come from. There are definitely no such files in CVS (they are supposed automatically generated by flex). Did you create these files yourself? And more. In the config.log (line 1159) there are: ACLOCAL='aclocal-1.4' AR='ar' ARCHIVE_AGE='2' ARCHIVE_VERSION='2' AUTOCONF='autoconf' AUTOHEADER='autoheader' AUTOMAKE='automake-1.4' This means the `configure' script was created with wrong version of automake (1.4). Please use 1.7 or newer. Best regards, Alexei -- All science is either physics or stamp collecting.
participants (2)
-
alexander baker
-
Alexei Sheplyakov