Hi,
I am working on updating the freemat OpenBSD port from 4.0 to 4.1.
When calling some functions, I see an error like so:
---8<---
--> x = linspace(-pi,pi);
Error: Unexpected input at line number: 1 of file
/usr/local/share/FreeMat-4.1/toolbox/array/PaxHeader/linspace.m
30 mtime=1322353631.803467856
^
---8<---
The contents of /usr/local/share/FreeMat-4.1/toolbox/array/PaxHeader/linspace.m:
---8<---
30 mtime=1322353631.803467856
30 ctime=1322353631.803467856
30 atime=1322353631.803467856
20 SCHILY.dev=64770
23 SCHILY.ino=36968595
18 SCHILY.nlink=1
88 LIBARCHIVE.xattr.security.selinux=dW5jb25maW5lZF91Om9iamVjdF9yOnVzZXJfaG9tZV90OnMwAA
---8<---
There is another linspace.m, which is installed under
/usr/local/share/FreeMat-4.1/toolbox/array/linspace.m
I am only speculating, as I do not know the function of these files;
should freemat have imported the latter file rather than the former?
It is worth noting that the LLVM JIT is off for now (CONFIGURE_ARGS=
-DUSE_LLVM:BOOL=FALSE). I will be working on enabling this at some
point, but not yet.
Any ideas?
Cheers
For the record, enabling the JIT does not resolve this issue.