Hallo

I get the following errors when trying to compile


cc -Wall -O3 -fPIC -fomit-frame-pointer -I vm -DCOMPACT_TABLE -o vm/ alloc.o -c vm/alloc.c
vm/alloc.c:35:20: error: gc/gc.h: No such file or directory
vm/alloc.c: In function 'neko_gc_init':
vm/alloc.c:70: error: 'GC_no_dls' undeclared (first use in this function)
vm/alloc.c:70: error: (Each undeclared identifier is reported only once
vm/alloc.c:70: error: for each function it appears in.)
vm/alloc.c:74: warning: implicit declaration of function 'GC_clear_roots' vm/alloc.c:75: warning: implicit declaration of function 'GC_set_warn_proc' vm/alloc.c:75: error: 'GC_warn_proc' undeclared (first use in this function)
vm/alloc.c:75: error: parse error before 'void'
vm/alloc.c: In function 'neko_gc_loop':
vm/alloc.c:87: warning: implicit declaration of function 'GC_collect_a_little'
vm/alloc.c: In function 'neko_gc_major':
vm/alloc.c:91: warning: implicit declaration of function 'GC_gcollect'
vm/alloc.c: In function 'neko_alloc':
vm/alloc.c:95: warning: implicit declaration of function 'GC_MALLOC'
vm/alloc.c: In function 'neko_alloc_private':
vm/alloc.c:99: warning: implicit declaration of function 'GC_MALLOC_ATOMIC'
vm/alloc.c: In function 'neko_val_gc':
vm/alloc.c:261: warning: implicit declaration of function 'GC_register_finalizer' vm/alloc.c:261: error: 'GC_finalization_proc' undeclared (first use in this function)
vm/alloc.c:261: error: parse error before '__on_finalize'
vm/alloc.c: In function 'neko_alloc_root':
vm/alloc.c:268: warning: implicit declaration of function 'GC_MALLOC_UNCOLLECTABLE'
vm/alloc.c: In function 'neko_free_root':
vm/alloc.c:272: warning: implicit declaration of function 'GC_free'
make: *** [vm/alloc.o] Error 1


thx Luzifer

---
Neko : One VM to run them all

Reply via email to