[GiNaC-list] Problems
Jonathan Heinen
Jonathan.Heinen at rwth-aachen.de
Mon Jan 29 18:50:05 CET 2007
Hi,
i want to use ginac as a lib under Mac OS X 10.4..8. I compiled cln
1.1.13 without problems.
But compiling ginac 1.3.6 gave me the well known ginsh_parser.yy error:
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../ginac -I../ginac -
DIN_GINAC -I/usr/local/include -g -O2 -MT ginsh_parser.o -MD -MP -
MF ".deps/ginsh_parser.Tpo" -c -o ginsh_parser.o ginsh_parser.cc; \
then mv -f ".deps/ginsh_parser.Tpo" ".deps/ginsh_parser.Po"; else rm -
f ".deps/ginsh_parser.Tpo"; exit 1; fi
ginsh_parser.yy:50:6: error: missing binary operator before token
"wrapper"
ginsh_parser.yy:56:6: error: missing binary operator before token
"wrapper"
ginsh_parser.yy:860:6: error: missing binary operator before token
"wrapper"
ginsh_parser.yy:870:6: error: missing binary operator before token
"wrapper"
ginsh_parser.yy:922:6: error: missing binary operator before token
"wrapper"
ginsh_parser.yy: In function 'char** fcn_completion(const char*, int,
int)':
ginsh_parser.yy:859: error: invalid conversion from 'const char*' to
'char*'
ginsh_parser.yy:869: error: invalid conversion from 'const char*' to
'char*'
make[2]: *** [ginsh_parser.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
I'm using gcc --version
i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build
5363)
Copyright (C) 2005 Free Software Foundation, Inc.
and yacc --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
Is there another thing i have to instal? O shold i use a different
version of gcc/Yacc?
Thanks
Jonathan
More information about the GiNaC-list
mailing list