| I recently installed octave 2.0.5 on Linux - the interpreter
| works fine but when I make the oct-file example oregonator.oct
| it prints the following when run:
| octave:1> oregonator([1,2,3],0)
| ans =
| removing the .oct file and running the .m file gives the right answer.
| Does anyone recognize this problem?
Did you use --enable-shared when you configured octave? I seem to
remember seeing this problem when I used dynamic linking on a Linux
system without shared versions of the Octave libraries.
| I am also trying to use the octave
| libraries but whenever I link against libf2c I get the link error:
| /usr/lib/libf2c.so: undefined reference to 'MAIN__'
| I get this *any* time I link to that lib, by adding -lf2c to a gcc
| command to compile a typical hello.c for instance. Can anyone tell me
| what I need to do here?