Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What version of Inform 6 is required to build the test files? #1

Open
glongman opened this issue Jul 10, 2009 · 3 comments
Open

What version of Inform 6 is required to build the test files? #1

glongman opened this issue Jul 10, 2009 · 3 comments

Comments

@glongman
Copy link

First, thanks for sharing this cool stuff on GitHub.

I have Inform 6.30 but rake dies part way through trying to build the z3 files:

cd test/dorothy/programs/v3 && inform -v3 array.inf
Inform 6.30 (27th Feb 2004)
cd test/dorothy/programs/v3 && inform -v3 call.inf
Inform 6.30 (27th Feb 2004)
cd test/dorothy/programs/v3 && inform -v3 hello_world.inf
Inform 6.30 (27th Feb 2004)
cd test/dorothy/programs/v3 && inform -v3 jump.inf
Inform 6.30 (27th Feb 2004)
cd test/dorothy/programs/v3 && inform -v3 math.inf
Inform 6.30 (27th Feb 2004)
cd test/dorothy/programs/v3 && inform -v3 nop.inf
Inform 6.30 (27th Feb 2004)
cd test/dorothy/programs/v3 && inform -v3 object_attr.inf
Inform 6.30 (27th Feb 2004)
cd test/dorothy/programs/v3 && inform -v3 object_prop.inf
Inform 6.30 (27th Feb 2004)
line 13: Error:  Opcode unavailable in this Z-machine version "call_vs"
>   print Foo.bar;
line 17: Error:  Opcode unavailable in this Z-machine version "call_vs"
>   print Foo.bar;
line 19: Error:  Opcode unavailable in this Z-machine version "call_vs"
>   print (string) Foo.baz;
"<veneer routine 'RT__ChPR'>", line 1: Error:  A function may be called with at most 3 arguments
> T__Err("read", obj, prop, size);
Compiled with 4 errors (no output)
rake aborted!

Geoff

@glongman
Copy link
Author

Now that I think of it maybe this has to do with some changes I had to make to get 'rake compile' to work. I have to admit that I have not done an C programming in about 13 years so I'm at a great disadvantage.

I was getting 'ld: duplicate symbol' errors so I added 'extern' declarations to machine.h

basically I compiled, saw error, added extern decl to symbol complained about and repeated as required until the compile ran clean.

see http://gist.github.com/144182

I am running OSX 10.5.7 the version of cc is:

i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)

any guidance?

thanks - Geoff

@glongman
Copy link
Author

reading my last comment again. sheesh. the test files are being processed by the inform compiler - not dorothy. so, my changes to the header file are irrelavent. still, would be nice to get everything built. G.

@mattkimmel
Copy link

I realize I'm pretty late to the party, but I fixed this (among other things) in this pull request: #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants