Re: Problems with getdate.y, compiling on HP-UX 11i
"Mark D. Baushke" <[email protected]> Thu, 27 May 2004 11:56:40 -0700
| Newsgroups | gmane.comp.version-control.cvs.general,gmane.comp.version-control.cvs.bugs |
|---|---|
| Message-ID | <[email protected]> |
As I said previously, on a FreeBSD 4.2-RELEASE system I have no problems... -- Mark daedalus$ uname -a FreeBSD daedalus 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Tue Jul 22 11:58:17 PDT 2003 root@daedalus:/usr/src/sys/compile/daedalus i386 daedalus$ bison -V bison (GNU Bison) 1.875 Written by Robert Corbett and Richard Stallman. Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. daedalus$ bison -y ./getdate.y ; echo $? conflicts: 10 shift/reduce 0 daedalus$ -- Mark SANTOS, DANIEL (SBCSI) <[email protected]> writes: > buggy indeed. And just to be clear, here is the version info on the > bison I'm using and the same test that you showed: > > $ bison -V > bison (GNU Bison) 1.875 > Written by Robert Corbett and Richard Stallman. > > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is > NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > $ bison -y ./getdate.y ; echo $? > conflicts: 10 shift/reduce > 141 > > Meanwhile, this is what yacc outputs: > $ yacc ./getdate.y ; echo $? > > conflicts: 10 shift/reduce > 0 > > I can't get yacc to spit out a version but the man page claims it's > "HP-UX Release 10.30: May 1997" even though we have 11i( or B11.11). > > My make also does not support any -V, --version, -version etc, but the > make man page claims "HP-UX Release 11i: November 2000". And I did > confirm that the dates are indeed identical and it's attempting to build > them anyway. The touch getdate.c also got me past this but the compiling > had this output: > > source='getdate.c' object='getdate.o' libtool=no \ > depfile='.deps/getdate.Po' tmpdepfile='.deps/getdate.TPo' \ > depmode=hp /bin/sh ../depcomp \ > /usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -g -c > `test -f 'getdate.c' || echo './'`getdate.c > cc: "getdate.c", line 1094: warning 562: Redeclaration of > "getdate_yyparse" with a different storage class specifier: > "getdate_yyparse" will have internal linkage. > > I already set an email to the bison bug list. I'm also submitting a bug > to HP via our sysadmins. > > Daniel