Achim D. Brucker wrote:
Hi, while trying to build an interpreted PolyML system based on version 4.1.3 (version 4.0 works fine) I'm getting linker errors, e.g.:
/tmp/driver/improve.c:724: undefined reference to `MD_update_code_addresses'
Any hints?
I should have added it to interpret.c . I added it to the machine code versions as the result of wanting to be able to have constants within the code. Since these could be the addresses of other objects they need to be updated by the garbage collector. It doesn't need to do anything in the interpreted version since all the constants in the interpreted version are held in the constant area. Try adding the following to interpret.c
void MD_update_code_addresses(word **addr, word **old, int L, void (*op)(word **)) { }
David