mkoctfile and 64 bit

Michael Kopp michael.kopp at univie.ac.at
Thu Mar 6 05:27:48 CST 2008


Dear all,

> I have just installed the 64-bit version of Ubuntu 7.10 on a PC with an 
> Intel Q6660 CPU. Currently, I am not able to use
> functions compiled with mkoctfile. Although the compilation with 
> "mkoctfile xxx.cc" doesn't produce any error messages, when I try to use 
> the function in an m-file, I receive error messages like "error: 
> xxx.oct: wrong ELF class: ELFCLASS32". This is true for both octave 2.1 
> and octave 2.9. Any suggestions?

Thanks to Rishi and Przemek for your suggestions. As it turns out, the 
reason for the problem was a stupid mistake on my part. I had used 
mkoctfile *.cc to compile a number of files in one go, but apparently, 
all the output was written into a single oct-file, leaving the other 
oct-files, (which I had previously built on a 32 bit machine) intact.

Thanks for your help anyway,

Michael.


More information about the Help-octave mailing list