Build error with Mac OS X

Project:GNU Smalltalk
Component:Build
Category:bug
Priority:normal
Assigned:Unassigned
Status:invalid
Description

There are links error on Mac OS X when I try to build GST 3.2.4 :

libtool: link: /usr/bin/grep -E -e "^gst_.*" ".libs/libgst.exp" > ".libs/libgst.expT"
libtool: link: mv -f ".libs/libgst.expT" ".libs/libgst.exp"
../libtool: line 7567: func_echo_all: command not found
libtool: link: sed 's,^,_,' < .libs/libgst.exp > .libs/libgst-symbols.expsym
libtool: link: gcc -dynamiclib -o .libs/libgst.7.dylib .libs/gstpub.o .libs/files.o .libs/gst-parse.o .libs/lex.o .libs/str.o .libs/tree.o .libs/byte.o .libs/comp.o .libs/sym.o .libs/dict.o .libs/oop.o .libs/opt.o .libs/save.o .libs/cint.o .libs/heap.o .libs/input.o .libs/sysdep.o .libs/callin.o .libs/xlat.o .libs/mpz.o .libs/print.o .libs/alloc.o .libs/security.o .libs/re.o .libs/interp.o .libs/real.o .libs/sockets.o .libs/events.o -ldl -lc -lltdl -lm -m32 -install_name /usr/local/lib/libgst.7.dylib -compatibility_version 9 -current_version 9.3 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libgst-symbols.expsym
Undefined symbols for architecture i386:

 "_snv_asprintf", referenced from:
     __gst_initialize in files.o
     __gst_find_file in files.o
     _find_user_file in files.o
     _find_executable in sysdep.o
     _VMpr_FileDescriptor_fileOp in interp.o
 "_stream_new", referenced from:
     _filprintf in gst-parse.o
 "_stream_vprintf", referenced from:
     _filprintf in gst-parse.o
 "_stream_delete", referenced from:
     _filprintf in gst-parse.o
 "_snv_printf", referenced from:
     __gst_print_tokens in gst-parse.o
     _parse_eval_definition in gst-parse.o
     __gst_print_tree in tree.o
     _print_list_node in tree.o
     _print_expr_node in tree.o
     _print_method_node in tree.o
     _print_block_node in tree.o
     ...
 "_filnew", referenced from:
     _expected in gst-parse.o
     _parse_instance_variables in gst-parse.o
 "_fildelete", referenced from:
     _expected in gst-parse.o
     _parse_instance_variables in gst-parse.o
 "_snv_filputc", referenced from:
     _filprintf in gst-parse.o
 "_snv_sprintf", referenced from:
     _invalid in lex.o
     _init_smalltalk_dictionary in dict.o
     __gst_relocate_path in sysdep.o
     __gst_type_name_to_oop in callin.o
     _printf_oop in print.o
 "__obstack_newchunk", referenced from:
     _scan_symbol in lex.o
     _string_literal in lex.o
     _scan_ident in lex.o
     _scan_digits in lex.o
     _scan_fraction in lex.o
     _scan_large_integer in lex.o
     __gst_make_byte_array_constant in tree.o
     ...
 "_obstack_free", referenced from:
     _scan_number in lex.o
     __gst_parse_stream in lex.o
     __gst_free_tree in tree.o
 "__obstack_begin", referenced from:
     __gst_parse_stream in lex.o
     __gst_free_tree in tree.o
 "_snv_fprintf", referenced from:
     __gst_yyprint in lex.o
     __gst_global_gc in oop.o
     __gst_scavenge in oop.o
     _heap_sbrk_internal in heap.o
     __gst_warningf_at in input.o
     __gst_warningf in input.o
     __gst_errorf_at in input.o
     ...
 "_pointer_set_create", referenced from:
     _make_with_all_superspaces_set in sym.o
     _combine_local_pools in sym.o
 "_pointer_set_insert", referenced from:
     _make_with_all_superspaces_set in sym.o
     _visit_pool in sym.o
 "_pointer_set_contains", referenced from:
     _add_namespace in sym.o
     _visit_pool in sym.o
 "_pointer_set_destroy", referenced from:
     _add_namespace in sym.o
     _combine_local_pools in sym.o
     _add_local_pool_resolution in sym.o
 "_sigsegv_install_handler", referenced from:
     __gst_init_mem in oop.o
 "_rb_erase", referenced from:
     __gst_make_oop_non_weak in oop.o
     __gst_unregister_oop in callin.o
     __gst_unregister_oop_array in callin.o
 "_rb_rebalance", referenced from:
     __gst_make_oop_weak in oop.o
     __gst_register_oop in callin.o
     __gst_register_oop_array in callin.o
 "_rb_first", referenced from:
     _check_weak_refs in oop.o
     __gst_copy_registered_oops in callin.o
     __gst_mark_registered_oops in callin.o
 "_rb_next", referenced from:
     _check_weak_refs in oop.o
     __gst_copy_registered_oops in callin.o
     __gst_mark_registered_oops in callin.o
 "_pointer_map_create", referenced from:
     __gst_init_cfuncs in cint.o
 "_avl_rebalance", referenced from:
     __gst_define_cfunc in cint.o
 "_pointer_map_insert", referenced from:
     __gst_invoke_croutine in cint.o
 "_ffi_prep_cif", referenced from:
     __gst_invoke_croutine in cint.o
     __gst_make_closure in cint.o
 "_ffi_call", referenced from:
     __gst_invoke_croutine in cint.o
 "_ffi_closure_alloc", referenced from:
     __gst_make_closure in cint.o
 "_ffi_prep_closure_loc", referenced from:
     __gst_make_closure in cint.o
 "_ffi_closure_free", referenced from:
     __gst_free_closure in cint.o
 "_ffi_type_pointer", referenced from:
     _get_ffi_type in cint.o
     _smalltalk_to_c in cint.o
 "_ffi_type_float", referenced from:
     _get_ffi_type in cint.o
     _smalltalk_to_c in cint.o
 "_ffi_type_double", referenced from:
     _get_ffi_type in cint.o
     _smalltalk_to_c in cint.o
 "_ffi_type_longdouble", referenced from:
     _get_ffi_type in cint.o
     _smalltalk_to_c in cint.o
 "_ffi_type_uint32", referenced from:
     _get_ffi_type in cint.o
 "_ffi_type_sint32", referenced from:
     _get_ffi_type in cint.o
     _smalltalk_to_c in cint.o
 "_snv_vfprintf", referenced from:
     __gst_warningf_at in input.o
     __gst_warningf in input.o
     __gst_errorf_at in input.o
     __gst_errorf in input.o
 "_snv_vasprintf", referenced from:
     __gst_errorf_at in input.o
     __gst_errorf in input.o
 "_rpl_poll$UNIX2003", referenced from:
     __gst_sync_file_polling in sysdep.o
     _signal_polled_files in sysdep.o
     __gst_wait_for_input in sysdep.o
 "_stream_printf", referenced from:
     _print_char_to_stream in print.o
     _print_string_to_stream in print.o
     _print_association_key_to_stream in print.o
     _print_class_name_to_stream in print.o
     _print_oop_constructor_to_stream in print.o
     _printf_oop in print.o
 "_stream_puts", referenced from:
     _printf_oop in print.o
 "_register_printf_function", referenced from:
     __gst_init_snprintfv in print.o
 "_snv_realloc", referenced from:
     __gst_init_snprintfv in print.o
 "_printf_generic", referenced from:
     __gst_init_snprintfv in print.o
 "_snv_malloc", referenced from:
     __gst_init_snprintfv in print.o
 "_snv_free", referenced from:
     __gst_init_snprintfv in print.o
 "_pre_compile_pattern", referenced from:
     _compileRegex in re.o
 "_pre_search", referenced from:
     __gst_re_search in re.o
 "_pre_free_pattern", referenced from:
     __gst_re_search in re.o
     __gst_re_match in re.o
 "_pre_free_registers", referenced from:
     __gst_re_search in re.o
 "_pre_match", referenced from:
     __gst_re_match in re.o
 "_pre_set_casetable", referenced from:
     _init_re in re.o
 "_strnspell", referenced from:
     _VMpr_String_similarityTo in interp.o

ld: symbol(s) not found for architecture i386

Updates

#1 submitted by Paolo Bonzini on Wed, 02/22/2012 - 11:36
Status:active» invalid

This looks like a problem in libtool instead.

User login