opensubscriber
   Find in this group all groups
 
Unknown more information…

k : kbuild-devel@lists.sourceforge.net 24 July 2007 • 5:06AM -0400

[kbuild-devel] possible reason for "shift/reduce conflicts" error?
by Robert P. J. Day

REPLY TO AUTHOR
 
REPLY TO GROUP







  i'm trying to extend the kconfig structure to add the "maturity"
level we've been discussing on LKML, and i started with a patch
suggested by simon arlott which *looked* fine, but this is what i get
when i run "make config":

$ make config
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
bison -l -b scripts/kconfig/zconf -p zconf scripts/kconfig/zconf.y
scripts/kconfig/zconf.y: conflicts: 28 shift/reduce
scripts/kconfig/zconf.y: expected 26 shift/reduce conflicts
make[1]: *** [scripts/kconfig/zconf.tab.c] Error 1
make: *** [config] Error 2
$

  now, i can attach the patch but here's a simpler question from
someone who *isn't* a lex/yacc expert -- what does the above error
mean?  why would there be a mismatch between the number of s/r
conflicts it expects and the number it finds?

  my first impression (from a position of overwhelming ignorance) is
that there is, somewhere, a remnant of the official build which states
that there are 26 s/r conflicts, but the new content generates 28.
how can i guarantee that i'm doing a fresh build of *all* the kconfig
stuff?

  i've set "LKC_GENPARSER := 1" so the build is certainly rebuilding
the "shipped" stuff, but is there anything else that might be the
problem?

  barring an easy solution, i can submit the patch if someone wants to
look at it.  it seems fairly straightforward, but i'm at a loss.
thanks.

rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kbuild-devel mailing list
kbuild-devel@list...
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.