[Mono-list] writing an interpreter in c#

stett@cs.iastate.edu stett@cs.iastate.edu
Sat, 17 May 2003 19:19:02 -0500

        I'm wanting to write an interpreter in C# on my linux machine.
I have been looking at the mono source for help on this project. I have
come across a project called Coco/R for C# to generate a scanner and
parser, but I have been unable to figure out how to get that working on
a linux machine. I thought maybe I needed to get CLI for linux. I'm trying
to install it, but it gives me an error:

$ ./buildall
PAL build complete.
gcc -o /home/stuart/tmp/sscli_linux_20020821/build/v1.x86fstchk.rotor/nmake
/usr/lib/crti.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/crtbegin.o
../../pal/unix/startup/objdf/palcrt1.o   getrcmsg.o  action.o  build.o 
charmap.o  command.o  error.o  exec.o  file.o  globals.o  ifexpr.o  init.o 
inline.o  lexer.o  macro.o  nmake.o  parser.o  print.o  rpn.o  rule.o  util.o 
utilp.o  win32.o /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/crtend.o
/usr/lib/crtn.o  -nostartfiles -pthread
-L/home/stuart/tmp/sscli_linux_20020821/build/v1.x86fstchk.rotor -lrotor_pal
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2 -lgcc
action.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
build.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
command.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
error.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
exec.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
ifexpr.o(.eh_frame+0x11): more undefined references to `__gxx_personality_v0' follow
collect2: ld returned 1 exit status
make: *** [/home/stuart/tmp/sscli_linux_20020821/build/v1.x86fstchk.rotor/nmake]
Error 1

Please let me know if you know how to debug this error or if you have any
suggestions/references/etc for
my project (writing an interpreter for a Maya Embedded Language in C# on a linux
computer). Any help 
would be very much appreciated.

Thanks in advance,