version 0.8.2 again ginsh compile broken with libreadline4 in Debian?
Julian Stoev
stoev at mail.bulgaria.com
Wed Apr 25 07:28:54 CEST 2001
Here are the compiler messages:
make[2]: Entering directory `/var/tmp/GiNaC-0.8.2/ginsh'
sed -n -f ./ginsh_fcn_help.sed <ginsh.1 >ginsh_fcn_help.c
sed -n -f ./ginsh_op_help.sed <ginsh.1 >ginsh_op_help.c
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../ginac -I../ginac -DIN_GINAC
-g -O2 -c ginsh_parser.cc
In file included from /usr/include/readline/keymaps.h:37,
from /usr/include/readline/readline.h:37,
from ginsh.h:36,
from ginsh_parser.yy:41:
/usr/include/readline/rltypedefs.h:48: invalid exception
specifications
/usr/include/readline/rltypedefs.h:51: invalid exception
specifications
/usr/include/readline/rltypedefs.h:52: invalid exception
specifications
/usr/include/readline/rltypedefs.h:54: invalid exception
specifications
/usr/include/readline/rltypedefs.h:55: invalid exception
specifications
/usr/include/readline/rltypedefs.h:57: invalid exception
specifications
/usr/include/readline/rltypedefs.h:59: invalid exception
specifications
/usr/include/readline/rltypedefs.h:62: invalid exception
specifications
/usr/include/readline/rltypedefs.h:65: invalid exception
specifications
/usr/include/readline/rltypedefs.h:70: invalid exception
specifications
/usr/include/readline/rltypedefs.h:73: invalid exception
specifications
/usr/include/readline/rltypedefs.h:75: invalid exception
specifications
/usr/include/readline/rltypedefs.h:76: invalid exception
specifications
/usr/include/readline/rltypedefs.h:78: invalid exception
specifications
/usr/include/readline/rltypedefs.h:79: invalid exception
specifications
/usr/include/readline/rltypedefs.h:80: invalid exception
specifications
/usr/include/readline/rltypedefs.h:81: invalid exception
specifications
In file included from /usr/include/readline/readline.h:38,
from ginsh.h:36,
from ginsh_parser.yy:41:
/usr/include/readline/tilde.h:55: invalid exception specifications
ginsh_parser.yy: In function `char ** fcn_completion(char *, int,
int)':
ginsh_parser.yy:705: `filename_completion_function' undeclared (first
use this function)
ginsh_parser.yy:705: (Each undeclared identifier is reported only once
ginsh_parser.yy:705: for each function it appears in.)
ginsh_parser.yy:705: implicit declaration of function `int
completion_matches(...)'
ginsh_parser.yy:711: return to `char **' from `int' lacks a cast
ginsh_parser.yy: In function `int main(int, char **)':
ginsh_parser.yy:777: assignment to `char *' from `const char *'
discards qualifiers
make[2]: *** [ginsh_parser.o] Error 1
make[2]: Leaving directory `/var/tmp/GiNaC-0.8.2/ginsh'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/GiNaC-0.8.2'
make: *** [all-recursive-am] Error 2
When I compile ginac without ginsh, it compiles fine.
--JS
More information about the GiNaC-devel
mailing list