I'm trying to compile Exult from CVS (downloaded 26 Mar 2006) on Ubuntu 5.10, amd64. I'm running into a few undefined symbol errors. I run ./autogen.sh, then ./configure, then make as I should. Everything goes well until we get into compiling the usecode compiler. The last few lines of my compilation are:
/bin/sh ../../libtool --tag=CXX --mode=link g++ -g -O2 -o ucc ucparse.o uclex.o ucmain.o ucexpr.o ucfun.o ucloc.o ucstmt.o ucsym.o ../libusecode.la -lasound
g++ -g -O2 -o ucc ucparse.o uclex.o ucmain.o ucexpr.o ucfun.o ucloc.o ucstmt.o ucsym.o ../.libs/libusecode.a /usr/lib/libasound.so -lm -ldl -lpthread
ucparse.o: In function `yyparse()':
/home/andrew/exult/usecode/compiler/ucparse.cc
ucparse.o: In function `yyparse()':
/home/andrew/exult/usecode/compiler/ucparse.yy:500: undefined reference to `start_script()'
/home/andrew/exult/usecode/compiler/ucparse.yy:512: undefined reference to `end_script()'
ucmain.o: In function `main':
/home/andrew/exult/usecode/compiler/ucmain.cc:107: undefined reference to `yyin'/home/andrew/exult/usecode/compiler/ucmain.cc:93: undefined reference to `yyin'
collect2: ld returned 1 exit status
make[3]: *** [ucc] Error 1
make[3]: Leaving directory `/home/andrew/exult/usecode/compiler'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andrew/exult/usecode'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andrew/exult'
make: *** [all] Error 2
I'm wondering if anyone can suggest a fix, or tell me if I'm missing something. Thanks,
Andrew