On Fri, 14 Jan 2005, Starlink Software Librarian wrote:
> ---------- Forwarded message ----------
> Date: Thu, 13 Jan 2005 11:57:11 -1000
> From: Paul Hirst <[log in to unmask]>
> To: [log in to unmask]
> Subject: Build from CVS: scb problem
>
>
> Hi,
>
> I'm trying to build starlink from a CVS checkout on a gentoo linux
> box.
>
> The build fails during building SCB, the error message looks like:
>
> cd applications/scb \
> && (make && make install) >make.log 2>make.log.err || { cat make.log.err; false; }
> ctag-y.y:340: warning: type mismatch with previous implicit declaration
> ctag-y.y:219: warning: previous implicit declaration of `canchor'
> ctag-y.y:340: warning: `canchor' was previously implicitly declared to return `int'
> ctag-y.y:418: warning: type mismatch with previous implicit declaration
> ctag-y.y:132: warning: previous implicit declaration of `handle_error'
> ctag-y.y:418: warning: `handle_error' was previously implicitly declared to return `int'
> ctag-y.y: In function `handle_error':
> ctag-y.y:476: error: `yyerrstatus' undeclared (first use in this function)
> ctag-y.y:476: error: (Each undeclared identifier is reported only once
> ctag-y.y:476: error: for each function it appears in.)
> make[2]: *** [ctag-y.o] Error 1
> make[1]: *** [all] Error 2
> make: *** [/export/data/phirst/software/startest/manifests/scb] Error 1
>
> A tail of the make.log file in applications/scb looks like:
> gcc -DPACKAGE_NAME=\"scb\" -DPACKAGE_TARNAME=\"scb\" -DPACKAGE_VERSION=\"1.1-3\" -DPACKAGE_STRING=\"scb\ 1.1-3\" -DPACKAGE_BUGREPORT=\"[log in to unmask]\" -DPACKAGE=\"scb\" -DVERSION=\"1.1-3\" -DYYTEXT_POINTER=1 -I. -I. -g -O2 -I/export/data/phirst/software/startest/include -c dummy-l.c
> rm -f libdummy.a
> ar cru libdummy.a dummy-l.o
> ranlib libdummy.a
> source='ctag-y.c' object='ctag-y.o' libtool=no \
> depfile='.deps/ctag-y.Po' tmpdepfile='.deps/ctag-y.TPo' \
> depmode=none /bin/sh ./depcomp \
> gcc -DPACKAGE_NAME=\"scb\" -DPACKAGE_TARNAME=\"scb\" -DPACKAGE_VERSION=\"1.1-3\" -DPACKAGE_STRING=\"scb\ 1.1-3\" -DPACKAGE_BUGREPORT=\"[log in to unmask]\" -DPACKAGE=\"scb\" -DVERSION=\"1.1-3\" -DYYTEXT_POINTER=1 -I. -I. -g -O2 -I/export/data/phirst/software/startest/include -c ctag-y.c
> make[2]: Leaving directory `/export/data/phirst/software/starlink/applications/scb'
> make[1]: Leaving directory `/export/data/phirst/software/starlink/applications/scb'
>
>
> Any ideas?
Paul,
thanks for the report - funny you should mention it, this was a bug
that turned up on the Cygwin build some while ago and we fixed
at just about the time you sent this message. On Cygwin it was
due to a bug in yacc - we modified it to use byacc instead
(are either or both of these bison?? I don't know).
Not sure what you've got on Gentoo, but you could try changing the
yacc that gets used (modify AC_PATH_PROG in configure.ac).
It looks like the change has not been checked into the repository yet -
Peter, I assume you'll do this on Monday.
Mark
--
Mark Taylor Starlink Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|