This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Needing the executable grap


Am 14.01.2019 um 07:05 schrieb Fergus:
I still have grap-1.42.tar.gz and can get the current grap-1.45.tar.gz from
https://www.lunabase.org/~faber/Vault/software/grap/grap-1.45.tar.gz
This sequence works perfectly well in grap-1.42 to create grap.exe but in grap-1.45, after a successful ./configure step, make yields
	make  all-am
	make[1]: Entering directory '/d/mole/grap-1.45'
	g++ -DHAVE_CONFIG_H -I.   -std=c++0x -Wall -std=c++0x -g -O2 -std=c++0x -MT grap.o -MD -MP -MF .deps/grap.Tpo -c -o grap.o grap.cc
	grap.yy: In function 'int yyparse()':
	grap.yy:582:12: error: 'strptime' was not declared in this scope
         if (strptime($5->c_str(), $3->c_str(), &tm) != 0) {
             ^~~~~~~~
grap.yy:582:12: note: suggested alternative: 'strftime'
         if (strptime($5->c_str(), $3->c_str(), &tm) != 0) {
             ^~~~~~~~
             strftime
	make[1]: *** [Makefile:496: grap.o] Error 1
	make[1]: Leaving directory '/d/mole/grap-1.45'
	make: *** [Makefile:380: all] Error 2
I guess you are right that I am missing a package.

try to remove the "-std=c++0x"

Thank you.
Fergus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]