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
Hi, On Thu, Jun 09, 2005 at 03:51:50PM +0800, ?? ???? wrote:
../../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'
I don't know about MinGW, but on Debian machines this file comes with libc6-dev, on Fedora machines it's in glibc-headers-2.3... Maybe you could search for that file with find / -name 'resource.h' or some Windows tool? So, is it there? Is it anywhere else? Is it non-existent? Regards, Jens
Thanks for your help! I change to used cygwin and compiled succeed. Ginac+Mingw may have some problem.... ----- Original Message ----- From: "Jens Vollinga" <vollinga@thep.physik.uni-mainz.de> To: "GiNaC discussion list" <ginac-list@ginac.de> Sent: Saturday, June 11, 2005 7:42 PM Subject: Re: [GiNaC-list] When I compiled ginac with mingw....
Hi,
On Thu, Jun 09, 2005 at 03:51:50PM +0800, ?? ???? wrote:
../../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'
I don't know about MinGW, but on Debian machines this file comes with libc6-dev, on Fedora machines it's in glibc-headers-2.3...
Maybe you could search for that file with find / -name 'resource.h' or some Windows tool?
So, is it there? Is it anywhere else? Is it non-existent?
Regards, Jens
_______________________________________________ GiNaC-list mailing list GiNaC-list@ginac.de http://thep.physik.uni-mainz.de/mailman/listinfo/ginac-list
participants (3)
-
Alvin_Tseng
-
Jens Vollinga
-
曾 仁宏