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:
Thanks for noting the issue. You are having a problem in compiling the capidl compiler. However, I had no such problem compiling it on the lab machine (gcc version 4.1.1 20061011, Red Hat 4.1.1-30). Can you try performing a clean rebuild? In particular make sure that flex regenerates DoxyLexer.cxx: flex -d -oBUILD/DoxyLexer.cxx DoxyLexer.l Swaroop. > 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 _______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
