spall
2017-3-21 18:10:04

compiling core.sls with output to core.so Exception: attempt to reference unbound identifier procedure-arity-mask at line 64, char 24 of <http://core-procedure.ss\|core-procedure.ss> make: *** [core.so] Error 255 Anyone else have this problem when making not-a-box?


spall
2017-3-21 18:13:02

@samth @mflatt


samth
2017-3-21 18:13:41

I think you need to update chez


mflatt
2017-3-21 18:13:59

Yes, you need a newer Chez build, because I’ve started relying on recent additions


spall
2017-3-21 18:15:35

ko


spall
2017-3-21 18:15:37

thanks


spall
2017-3-21 19:01:32
echo '(reset-handler abort) (keyboard-interrupt-handler abort)' '(compile-file "core.sls")' \| scheme -q
compiling core.sls with output to core.so
Exception: multiple definitions for string-&gt;immutable-string and other identifiers in body (library (core) (export null eof void void? begin0 ...) (import (rename (...) (...) (...) (...) (...) ...) (only (...) record-field-accessor record-field-mutator)) (define none (chez:gensym "none")) (include "<http://core-constant.ss\|core-constant.ss>") ...) at line 1, char 1 of core.sls
make: *** [core.so] Error 255

spall
2017-3-21 19:02:17

Any idea about this error? I don’t think any files i modified are providing these functions. @mflatt @samth


samth
2017-3-21 19:02:35

@spall try make clean?


spall
2017-3-21 19:02:44

there are no .so files


spall
2017-3-21 19:03:12

Same error


spall
2017-3-21 19:05:46

I’m using racket 6.7 if that matters


mflatt
2017-3-21 19:41:04

Ah, sorry - Chez has gotten ahead of the main branch of “not-a-box”


mflatt
2017-3-21 19:41:42

There are two other branches, “equal+hash” and “immutable”, but those won’t work either, because the latter extends the former, while the additions will make it into Chez’s main branch in the other order (and only the “immutable” one is in at this point)


mflatt
2017-3-21 19:41:48

So, I’ll need to make a new branch that works


mflatt
2017-3-21 19:42:34

Meanwhile, you could try rewinding Chez to commit cb48dbb6fd6c4c660487e7f0421a6b44aae7d481


spall
2017-3-21 19:46:40

That version of chez won’t build for me


mflatt
2017-3-21 19:50:10

It turned out to be easy to add the patches for immutables without the patches for equal+hash, so the “not-a-box” master branch shold now work with the current Chez