[GiNaC-list] When I compiled ginac with mingw....
曾 仁宏
alvin_tseng at hotmail.com
Thu Jun 9 09:51:50 CEST 2005
I get a error at make progress
The error message:
$ make
make all-recursive
make[1]: Entering directory `/f/dev-cpp/work/ginac'
Making all in ginac
make[2]: Entering directory `/f/dev-cpp/work/ginac/ginac'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/f/dev-cpp/work/ginac/ginac'
Making all in check
make[2]: Entering directory `/f/dev-cpp/work/ginac/check'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/f/dev-cpp/work/ginac/check'
Making all in ginsh
make[2]: Entering directory `/f/dev-cpp/work/ginac/ginsh'
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
../../GiNaC/ginsh/ginsh_parser.yy:32:26: sys/resource.h: No such file or
directory
../../GiNaC/ginsh/ginsh_parser.yy:64: error: aggregate `rusage start_time'
has incomplete type and cannot be defined
../../GiNaC/ginsh/ginsh_parser.yy:64: error: aggregate `rusage end_time'
has
incomplete type and cannot be defined
../../GiNaC/ginsh/ginsh_parser.yy: In function `int yyparse()':
../../GiNaC/ginsh/ginsh_parser.yy:213: error: `RUSAGE_SELF' undeclared
(first
use this function)
../../GiNaC/ginsh/ginsh_parser.yy:213: error: (Each undeclared identifier
is
reported only once for each function it appears in.)
../../GiNaC/ginsh/ginsh_parser.yy:213: error: `getrusage' undeclared (first
use this function)
make[2]: *** [ginsh_parser.o] Error 1
make[2]: Leaving directory `/f/dev-cpp/work/ginac/ginsh'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/f/dev-cpp/work/ginac'
make: *** [all] Error 2
have any solution?
_________________________________________________________________
信箱不夠大?MSN Hotmail Plus:讓你的 Hotmail 信箱容量增加 1000 倍
http://join.msn.com/?pgmarket=zh-tw
More information about the GiNaC-list
mailing list