build problems with dice

chenggh chenggh04 at st.lzu.edu.cn
Fri Aug 18 18:33:04 CEST 2006


hi:
	when I try to compile the dice, there are some errors like this:

/home/chenggh/L4/l4/tool/dice/src/CDCEParser.cpp:264: undefined reference to 
`dce_flex_debug'
CCORBAParser.o: In function `CCORBAParser::Import(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >)':
/home/chenggh/L4/l4/tool/dice/src/CCORBAParser.cpp:93: undefined reference to 
`GetCurrentBufferCorba()'
/home/chenggh/L4/l4/tool/dice/src/CCORBAParser.cpp:154: undefined reference to 
`RestoreBufferCorba(void*, bool)'
CCORBAParser.o: In function `CCORBAParser::Parse(void*, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, 
bool, bool)':
/home/chenggh/L4/l4/tool/dice/src/CCORBAParser.cpp:231: undefined reference to 
`corba_flex_debug'
/home/chenggh/L4/l4/tool/dice/src/CCORBAParser.cpp:245: undefined reference to 
`RestoreBufferCorba(void*, bool)'
/home/chenggh/L4/l4/tool/dice/src/CCORBAParser.cpp:257: undefined reference to 
`GetCurrentBufferCorba()'
/home/chenggh/L4/l4/tool/dice/src/CCORBAParser.cpp:241: undefined reference to 
`corbain'
/home/chenggh/L4/l4/tool/dice/src/CCORBAParser.cpp:242: undefined reference to 
`StartBufferCorba(_IO_FILE*)'
/home/chenggh/L4/l4/tool/dice/src/CCORBAParser.cpp:236: undefined reference to 
`corba_flex_debug'
CPreProcess.o: In function `CPreProcess::PreProcess(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, bool, bool)':
/home/chenggh/L4/l4/tool/dice/src/CPreProcess.cpp:343: undefined reference to 
`incin'
/home/chenggh/L4/l4/tool/dice/src/CPreProcess.cpp:344: undefined reference to 
`incout'
/home/chenggh/L4/l4/tool/dice/src/CPreProcess.cpp:348: undefined reference to 
`inclex()'
./src/parser/dce/libdce.a(parser.o): In function `dceparse()':
/home/chenggh/L4/l4/tool/dice/src/parser/dce/parser.yy:3577: undefined 
reference to `dcelex(yystype*)'
./src/parser/dce/libdce.a(parser.o): In function `dceparse()':
/usr/share/bison/bison.simple:574: undefined reference to `dcelex(yystype*)'
./src/parser/corba/libcorba.a(parser.o): In function `corbaparse()':
/usr/share/bison/bison.simple:574: undefined reference to `corbalex(yystype*)'
./src/parser/gcc-c/libg


	I checked the old mailist again. Somebody else encountered the same problem 
with me. I use g++3.3.6 and bison 1.35. My host OS is ubuntu 5.10. How to fix 
it?
	thank you
									chenggh




More information about the l4-hackers mailing list