[bitc-dev] Build Problem with DoxyLexer.l
Jonathan S. Shapiro
shap at eros-os.org
Mon Feb 20 17:27:20 EST 2006
James:
What architecture are you compiling for?
On our machines, we are using flex 2.5.4. Since your version is later
I'm wondering if something got broken in later versions of flex. Looking
at the output being generated here, yy_push_state is definitely not
defined twice by my flex.
Since the highest version of flex known to FSF is flex-2.5.4a, I find
the "2.5.31" version number a bit suspicious...
shap
On Mon, 2006-02-20 at 15:34 -0600, James Graves wrote:
> Problem building bitcc, getting an error on DoxyLexer.l.
>
> Operating system: Debian 3.1 (sarge)
>
> flex version 2.5.31
>
> I haven't investigated it fully yet. Need to get a newer version of flex?
>
> Here's the error:
>
> make[1]: Entering directory
> `/home/jgraves/coyotos/src.coyotos/src/ccs/capidl'
> g++ -fdefault-inline -g -I. -I.. -Wall -Winline -Werror -Wno-format
> -c BUILD/DoxyLexer.cxx -o BUILD/DoxyLexer.o
> DoxyLexer.l:408: error: redefinition of `void
> doxyFlexLexer::yy_push_state(int)
> '
> BUILD/DoxyLexer.cxx:11249: error: `void doxyFlexLexer::yy_push_state(int)'
> previously defined here
> DoxyLexer.l:408: error: no `void doxyFlexLexer::yy_push_state(int)' member
> function declared in class `doxyFlexLexer'
> DoxyLexer.l: In member function `void doxyFlexLexer::yy_push_state(int)':
> DoxyLexer.l:417: error: `yy_flex_alloc' undeclared (first use this function)
> DoxyLexer.l:417: error: (Each undeclared identifier is reported only
> once for
> each function it appears in.)
> DoxyLexer.l:421: error: `yy_flex_realloc' undeclared (first use this
> function)
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11249: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> DoxyLexer.l: At global scope:
> DoxyLexer.l:434: error: redefinition of `void doxyFlexLexer::yy_pop_state()'
> BUILD/DoxyLexer.cxx:11278: error: `void doxyFlexLexer::yy_pop_state()'
> previously defined here
> DoxyLexer.l:434: error: no `void doxyFlexLexer::yy_pop_state()' member
> function
> declared in class `doxyFlexLexer'
> BUILD/DoxyLexer.cxx: In member function `void
> doxyFlexLexer::yy_pop_state()':
> BUILD/DoxyLexer.cxx:11278: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11278: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11278: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11278: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11278: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11278: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> DoxyLexer.l: At global scope:
> DoxyLexer.l:442: error: redefinition of `int doxyFlexLexer::yy_top_state()'
> BUILD/DoxyLexer.cxx:11290: error: `int doxyFlexLexer::yy_top_state()'
> previously defined here
> DoxyLexer.l:442: error: no `int doxyFlexLexer::yy_top_state()' member
> function
> declared in class `doxyFlexLexer'
> BUILD/DoxyLexer.cxx: In member function `int doxyFlexLexer::yy_top_state()':
> BUILD/DoxyLexer.cxx:11290: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> BUILD/DoxyLexer.cxx:11290: error: prior parameter's size depends on `
> doxyFlexLexer* const this'
> make[1]: *** [BUILD/DoxyLexer.o] Error 1
> make[1]: Leaving directory
> `/home/jgraves/coyotos/src.coyotos/src/ccs/capidl'
> *** RECURSIVE BUILD STOPS ***
> make: *** [recurse] Error 1
>
> Cheers,
>
> James Graves
> _______________________________________________
> bitc-dev mailing list
> bitc-dev at coyotos.org
> http://www.coyotos.org/mailman/listinfo/bitc-dev
More information about the bitc-dev
mailing list