[bitc-dev] Compilation of bitcc

Jonathan S. Shapiro shap at eros-os.com
Wed Jan 10 19:23:46 CST 2007


Pierre:

Where did you sync *from*? There is no longer any doxyFlexLexer in the
tree.

I suspect that possibly you did not do a "make clean" before sync, and
the ancient doxyFlexLexer is still being found in the build tree.

Try:

	cd /usr/src
	make -k clean
	make -k nodepend
	cd ccs
	make

and see what happens.

On Thu, 2007-01-11 at 01:19 +0100, Pierre THIERRY wrote:
> Tonight, I tried compiling the BitC compiler. I rsynced my copy of the
> coyotos source tree, and did:
> 
> $ cd coyotos/src/ccs
> $ make
> 
> After a bunch of apparently successful compilations, i end up with the
> following errors:
> 
> make[2]: Leaving directory `/home/pierre/Logiciel/Libre/Coyotos/coyotos/src/ccs/bitcc-bootstrap'
> make[2]: Entering directory `/home/pierre/Logiciel/Libre/Coyotos/coyotos/src/ccs/capidl'
> g++ -fdefault-inline  -g  -I. -I..  -Wall -Winline -Wno-format -Werror -c BUILD/DoxyLexer.cxx -o BUILD/DoxyLexer.o
> DoxyLexer.l:409: error: redefinition of 'void doxyFlexLexer::yy_push_state(int)'
> BUILD/DoxyLexer.cxx:11260: error: 'void doxyFlexLexer::yy_push_state(int)' previously defined here
> DoxyLexer.l: In member function 'void doxyFlexLexer::yy_push_state(int)':
> DoxyLexer.l:419: error: 'yy_flex_alloc' was not declared in this scope
> DoxyLexer.l:423: error: 'yy_flex_realloc' was not declared in this scope
> DoxyLexer.l: At global scope:
> DoxyLexer.l:435: error: redefinition of 'void doxyFlexLexer::yy_pop_state()'
> BUILD/DoxyLexer.cxx:11289: error: 'void doxyFlexLexer::yy_pop_state()' previously defined here
> DoxyLexer.l:443: error: redefinition of 'int doxyFlexLexer::yy_top_state()'
> BUILD/DoxyLexer.cxx:11301: error: 'int doxyFlexLexer::yy_top_state()' previously defined here
> make[2]: *** [BUILD/DoxyLexer.o] Error 1
> make[2]: Leaving directory `/home/pierre/Logiciel/Libre/Coyotos/coyotos/src/ccs/capidl'
> *** RECURSIVE BUILD STOPS ***
> make[1]: *** [recurse] Error 1
> make[1]: Leaving directory `/home/pierre/Logiciel/Libre/Coyotos/coyotos/src/ccs'
> make: *** [package] Error 2
> 
> 
> Is this a known issue? Is it a temporary disruption because of changes
> in the code that break things, or is something wrong with my system?
> 
> If it helps: version gcc 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
> 
> Unsuccessfully,
> Pierre
> _______________________________________________
> 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