Thanks for the tip, that did get me further. However now I get similar errors concerning functions calls to (what appears to be) garbage collection libs.
The LIBS that I am using include -ldl -lm -lgc. The trace I get is attached. Any ideas ? gcc -L/usr/X11R6/lib -L/usr/local/lib -o vim objects/*.o -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -ldl -lncurses -lnsl -lncurses -lnsl -lm -lgc /usr/local/plt/lib/libmzgc.a /usr/local/plt/lib/libmzscheme.a /usr/local/plt/lib/libmzscheme.a(list.o): In function `mark_ephemerons':./list.c:1842: undefined reference to `GC_did_mark_stack_overflow' :./list.c:1847: undefined reference to `GC_flush_mark_stack' :./list.c:1848: undefined reference to `GC_did_mark_stack_overflow' /usr/local/plt/lib/libmzscheme.a(list.o): In function `scheme_init_ephemerons':./list.c:1925: undefined reference to `GC_custom_finalize' /usr/local/plt/lib/libmzscheme.a(salloc.o): In function `raise_out_of_memory':./salloc.c:229: undefined reference to `GC_out_of_memory' /usr/local/plt/lib/libmzscheme.a(salloc.o): In function `scheme_malloc_fail_ok':./salloc.c:237: undefined reference to `GC_out_of_memory' :./salloc.c:238: undefined reference to `GC_out_of_memory' :./salloc.c:240: undefined reference to `GC_out_of_memory' /usr/local/plt/lib/libmzscheme.a(salloc.o): In function `scheme_malloc_eternal':./salloc.c:261: undefined reference to `GC_out_of_memory' /usr/local/plt/lib/libmzscheme.a(salloc.o): In function `do_next_finalization':./salloc.c:458: undefined reference to `GC_register_eager_finalizer' /usr/local/plt/lib/libmzscheme.a(salloc.o): In function `add_finalizer':./salloc.c:538: undefined reference to `GC_register_eager_finalizer' /usr/local/plt/lib/libmzscheme.a(salloc.o): In function `scheme_weak_reference_indirect':./salloc.c:631: undefined reference to `GC_register_late_disappearing_link' /usr/local/plt/lib/libmzscheme.a(setjmpup.o): In function `push_copied_stacks':./setjmpup.c:113: undefined reference to `GC_flush_mark_stack' :./setjmpup.c:122: undefined reference to `GC_did_mark_stack_overflow' :./setjmpup.c:126: undefined reference to `GC_flush_mark_stack' :./setjmpup.c:127: undefined reference to `GC_did_mark_stack_overflow' /usr/local/plt/lib/libmzscheme.a(setjmpup.o): In function `scheme_init_setjumpup':./setjmpup.c:157: undefined reference to `GC_push_last_roots' :./setjmpup.c:158: undefined reference to `GC_push_last_roots_again' /usr/local/plt/lib/libmzscheme.a(symbol.o): In function `scheme_init_symbol_table':./symbol.c:271: undefined reference to `GC_custom_finalize' /usr/local/plt/lib/libmzscheme.a(thread.o): In function `current_memory_use':./thread.c:816: undefined reference to `GC_get_memory_use' /usr/local/plt/lib/libmzscheme.a(thread.o): In function `make_thread':./thread.c:1889: undefined reference to `GC_collect_start_callback' :./thread.c:1890: undefined reference to `GC_collect_end_callback' collect2: ld returned 1 exit status On 5/12/06, Alexey I. Froloff <[EMAIL PROTECTED]> wrote:
* Therapon Skotiniotis <therapon@> [060512 17:33]: > Trying to compile MzScheme support with vim 7 I keep getting errors > about undefined references. You should add -lm to LIBS. If you are using -Wl,--as-needed, -lm should be after libmzsomething.a. -- Regards, Sir Raorn. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEZJUqVqT7+fkT8woRAl6/AJ0V+TZIQLfVMEPqkz40XvVgREld3ACfapV6 q/V7qBTdd3CGXhJ54LvfuIM= =NMee -----END PGP SIGNATURE-----
-- Therapon
