.a linking (with Mono)

BlitzMax Forums/BlitzMax Programming/.a linking (with Mono)

On windows you can import the mono library like so: (notice 'libmono.dll.a')
Import "C:\libraries\Mono\lib\libmono.dll.a"
Extern
	Function Mono_Config_Parse(file$z) = "mono_config_parse"  '= getprocaddress(handle,"mono_config_parse")
	Function mono_jit_init:Byte Ptr(file$z) = "mono_jit_init"
	Function mono_jit_cleanup(domain:Byte Ptr) = "mono_jit_cleanup"
	Function mono_runtime_exec_main(domain:Byte Ptr) = "mono_runtime_exec_main"
	Function mono_set_dirs(asmdir$z, cfgdir$z) = "mono_set_dirs"
	Function mono_domain_assembly_open:Byte Ptr(domain:Byte Ptr, file$z) = "mono_domain_assembly_open"
	Function mono_jit_exec(domain:Byte Ptr, assembly:Byte Ptr, argv:Int, argc$z) = "mono_jit_exec"
	Function mono_assembly_get_image:Byte Ptr(assembly:Byte Ptr) = "mono_assembly_get_image"
	
	Function mono_class_from_name:Byte Ptr(image:Byte Ptr, namespace$z, name$z) = "mono_class_from_name"
	Function mono_class_get_method_from_name:Byte Ptr(klass:Byte Ptr, name$z, param_count:Int)
	Function mono_runtime_invoke(Meth:Byte Ptr, Obj:Byte Ptr, params:Byte Ptr, exc:Byte Ptr)
	
	Function mono_object_new:Byte Ptr(domain:Byte Ptr, class:Byte Ptr) = "mono_object_new"
	Function mono_runtime_object_init(obj:Byte Ptr) = "mono_runtime_object_init"
End Extern


However, in Linux there is only libmono.a (no libmono.so.a or anything).

When trying to link to the libmono.a library I get about a 578kb worth of errors (mostly function definition errors).
Here is a section of the error list:
Building mono-simple
Compiling:mono-simple.bmx
flat assembler  version 1.64
3 passes, 2304 bytes.
Linking:mono-simple
/usr/lib/libmono.a(driver.o): In function `compile_all_methods_thread_main':
(.text+0x374): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `compile_all_methods_thread_main':
(.text+0x37c): undefined reference to `g_free'
/usr/lib/libmono.a(driver.o): In function `opt_descr':
(.text+0x3a5): undefined reference to `g_string_new'
/usr/lib/libmono.a(driver.o): In function `opt_descr':
(.text+0x3d4): undefined reference to `g_string_append'
/usr/lib/libmono.a(driver.o): In function `opt_descr':
(.text+0x415): undefined reference to `g_string_insert_c'
/usr/lib/libmono.a(driver.o): In function `opt_descr':
(.text+0x427): undefined reference to `g_string_free'
/usr/lib/libmono.a(driver.o): In function `mono_jit_exec':
(.text+0x482): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_jit_exec':
(.text+0x4e5): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x555): undefined reference to `g_threads_got_initialized'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x576): undefined reference to `g_log_set_always_fatal'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x58a): undefined reference to `g_log_set_fatal_mask'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x829): undefined reference to `g_set_prgname'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x8dd): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x9bd): undefined reference to `g_thread_init'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0xa13): undefined reference to `g_mem_set_vtable'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0xc2b): undefined reference to `g_timer_new'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0xe59): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0xe61): undefined reference to `g_free'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0xe74): undefined reference to `g_hash_table_destroy'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0xe8f): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0xec0): undefined reference to `g_timer_start'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0xf91): undefined reference to `g_timer_elapsed'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0xfe7): undefined reference to `g_timer_elapsed'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x101a): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1071): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x10a3): undefined reference to `g_timer_elapsed'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x10f0): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1126): undefined reference to `g_timer_stop'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1139): undefined reference to `g_timer_elapsed'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1187): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x11b2): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1213): undefined reference to `g_timer_destroy'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1290): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x129c): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x12e5): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1316): undefined reference to `g_log'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1356): undefined reference to `g_getenv'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x13e2): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x13ee): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1482): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x164a): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x165a): undefined reference to `g_print'
/usr/lib/libmono.a(driver.o):(.text+0x166a): more undefined references to `g_print' follow
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1ac8): undefined reference to `g_timer_new'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1bb1): undefined reference to `g_timer_start'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1c0e): undefined reference to `g_timer_stop'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1c24): undefined reference to `g_timer_elapsed'
/usr/lib/libmono.a(driver.o): In function `mono_main':
(.text+0x1e69): undefined reference to `g_log'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_free_method_jit_info':
(.text+0x220): undefined reference to `g_free'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_free_method_jit_info':
(.text+0x22b): undefined reference to `g_free'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_free_method_jit_info':
(.text+0x236): undefined reference to `g_free'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_free_method_jit_info':
(.text+0x241): undefined reference to `g_free'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_free_method_jit_info':
(.text+0x24c): undefined reference to `g_free'
/usr/lib/libmono.a(debug-mini.o):(.text+0x254): more undefined references to `g_free' follow
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_init_method':
(.text+0x27a): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debugger_thread_created':
(.text+0x2d7): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debugger_remove_breakpoint':
(.text+0x446): undefined reference to `g_ptr_array_remove'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debugger_remove_breakpoint':
(.text+0x44e): undefined reference to `g_free'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debugger_insert_breakpoint_full':
(.text+0x46f): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debugger_insert_breakpoint_full':
(.text+0x4a0): undefined reference to `g_ptr_array_add'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debugger_insert_breakpoint_full':
(.text+0x4b1): undefined reference to `g_ptr_array_new'
/usr/lib/libmono.a(debug-mini.o): In function `print_var_info':
(.text+0x538): undefined reference to `g_print'
/usr/lib/libmono.a(debug-mini.o): In function `print_var_info':
(.text+0x580): undefined reference to `g_assertion_message'
/usr/lib/libmono.a(debug-mini.o): In function `print_var_info':
(.text+0x5b4): undefined reference to `g_print'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_print_vars':
(.text+0x649): undefined reference to `g_malloc'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_record_line_number':
(.text+0x74d): undefined reference to `g_array_append_vals'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_record_line_number':
(.text+0x780): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_open_method':
(.text+0x7d1): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_open_method':
(.text+0x7f1): undefined reference to `g_array_new'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_open_method':
(.text+0x809): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_open_method':
(.text+0x845): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_close_method':
(.text+0x8d4): undefined reference to `g_array_append_vals'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_close_method':
(.text+0x8ec): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_close_method':
(.text+0x978): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_close_method':
(.text+0xa04): undefined reference to `g_array_free'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_close_method':
(.text+0xa0f): undefined reference to `g_free'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_close_method':
(.text+0xa23): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_close_method':
(.text+0xa50): undefined reference to `g_free'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_open_block':
(.text+0xadd): undefined reference to `g_array_append_vals'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_open_block':
(.text+0xb10): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(debug-mini.o): In function `deserialize_variable':
(.text+0xb7b): undefined reference to `g_assertion_message'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_add_aot_method':
(.text+0xcd7): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_add_aot_method':
(.text+0xcf3): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_add_aot_method':
(.text+0xd16): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_add_aot_method':
(.text+0xdf9): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_add_aot_method':
(.text+0xf21): undefined reference to `g_malloc0'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_add_aot_method':
(.text+0x1189): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(debug-mini.o): In function `serialize_variable':
(.text+0x1203): undefined reference to `g_assertion_message'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_serialize_debug_info':
(.text+0x13ce): undefined reference to `g_malloc'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_serialize_debug_info':
(.text+0x1847): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debugger_thread_cleanup':
(.text+0x1fd): undefined reference to `g_free'
/usr/lib/libmono.a(debug-mini.o): In function `mono_debug_print_vars':
(.text+0x6c4): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `add_token_info_hash':
(.text+0x90): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-compiler.o): In function `get_got_offset':
(.text+0xdb): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-compiler.o): In function `get_shared_got_offset':
(.text+0x12e): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-compiler.o): In function `get_shared_got_offset':
(.text+0x182): undefined reference to `g_hash_table_insert'
/usr/lib/libmono.a(aot-compiler.o): In function `get_shared_got_offset':
(.text+0x191): undefined reference to `g_ptr_array_add'
/usr/lib/libmono.a(aot-compiler.o): In function `get_image_index':
(.text+0x6ce): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-compiler.o): In function `get_image_index':
(.text+0x6ef): undefined reference to `g_hash_table_size'
/usr/lib/libmono.a(aot-compiler.o): In function `get_image_index':
(.text+0x707): undefined reference to `g_hash_table_insert'
/usr/lib/libmono.a(aot-compiler.o): In function `get_image_index':
(.text+0x716): undefined reference to `g_ptr_array_add'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x757): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x781): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x79c): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x7ae): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x7cb): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x7f4): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x7fc): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x804): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x814): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x82a): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x83c): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x856): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x85e): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_writeout':
(.text+0x8af): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_name_table':
(.text+0x8f9): undefined reference to `g_spaced_primes_closest'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_name_table':
(.text+0x904): undefined reference to `g_ptr_array_sized_new'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_name_table':
(.text+0x926): undefined reference to `g_ptr_array_add'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_name_table':
(.text+0x975): undefined reference to `g_str_hash'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_name_table':
(.text+0x988): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_name_table':
(.text+0x9be): undefined reference to `g_ptr_array_add'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_name_table':
(.text+0x9dd): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_name_table':
(.text+0xdf2): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_name_table':
(.text+0xe1e): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_image_table':
(.text+0xe43): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_image_table':
(.text+0x1350): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x1374): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x1401): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x144d): undefined reference to `g_ptr_array_new'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x1469): undefined reference to `g_ptr_array_add'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x1482): undefined reference to `g_ptr_array_sort'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x1554): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x1594): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x15fb): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x174e): undefined reference to `g_assertion_message'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x17aa): undefined reference to `g_hash_table_insert'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x17cc): undefined reference to `g_hash_table_insert'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x18de): undefined reference to `g_print'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x199d): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x19cb): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x1aa3): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x1aed): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x1b2c): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_code':
(.text+0x1b83): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_method_ref':
(.text+0x1bda): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_method_ref':
(.text+0x1d29): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_method_ref':
(.text+0x1d55): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_method_ref':
(.text+0x1d81): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_klass_info':
(.text+0x1e80): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_klass_info':
(.text+0x2250): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o):(.text+0x227c): more undefined references to `g_assertion_message_expr' follow
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_info':
(.text+0x2324): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_info':
(.text+0x23c5): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_info':
(.text+0x23f4): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_info':
(.text+0x243d): undefined reference to `g_malloc'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_info':
(.text+0x2692): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_info':
(.text+0x26ef): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_class_info':
(.text+0x289a): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_exception_info':
(.text+0x28b4): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_exception_info':
(.text+0x28f7): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_exception_info':
(.text+0x295f): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_exception_info':
(.text+0x2981): undefined reference to `g_malloc'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_exception_info':
(.text+0x2b79): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_exception_info':
(.text+0x2b84): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_exception_info':
(.text+0x2bad): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_exception_info':
(.text+0x2c14): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_exception_info':
(.text+0x2e90): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_exception_info':
(.text+0x30c9): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_patch':
(.text+0x3109): undefined reference to `g_log'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_patch':
(.text+0x3135): undefined reference to `g_assertion_message'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_patch':
(.text+0x33c4): undefined reference to `g_assertion_message'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_patch':
(.text+0x3927): undefined reference to `g_assertion_message'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_patch':
(.text+0x39e9): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_patch':
(.text+0x3a15): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_patch':
(.text+0x3a41): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_patch':
(.text+0x3a6d): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `encode_patch':
(.text+0x3a99): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o):(.text+0x3ac5): more undefined references to `g_assertion_message_expr' follow
/usr/lib/libmono.a(aot-compiler.o): In function `emit_got_info':
(.text+0x3b78): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_got_info':
(.text+0x3bc7): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_got_info':
(.text+0x3cf9): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3d18): undefined reference to `g_malloc'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3d2c): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3d8a): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3e29): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3e8f): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3ea2): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3ec1): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3ee0): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3ef1): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3fc3): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x3fd6): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x4047): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x4081): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x408d): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x40d5): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x4129): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x414e): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_plt':
(.text+0x418b): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x41a4): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x41e7): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x4244): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x424c): undefined reference to `g_ptr_array_new'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x4268): undefined reference to `g_ptr_array_add'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x427e): undefined reference to `g_ptr_array_sort'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x42c0): undefined reference to `g_malloc'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x4311): undefined reference to `g_list_length'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x4499): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x44a4): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x44c1): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x4528): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x4685): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x48c3): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `emit_info':
(.text+0x48ef): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4941): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x495b): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4978): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x498d): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x49a4): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x49ac): undefined reference to `g_ptr_array_new'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x49c3): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x49da): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x49f1): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x49f9): undefined reference to `g_ptr_array_new'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4a53): undefined reference to `g_strsplit'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4a67): undefined reference to `g_strdup'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4b00): undefined reference to `g_get_home_dir'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4b22): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4b34): undefined reference to `g_file_test'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4bff): undefined reference to `g_list_find'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4c49): undefined reference to `g_list_append'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4c81): undefined reference to `g_list_find'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4cab): undefined reference to `g_list_reverse'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4cc6): undefined reference to `g_list_last'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4cec): undefined reference to `g_file_open_tmp'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4d32): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4d69): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4d86): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x4e9f): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x515e): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x51df): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x5230): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x528f): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o):(.text+0x538a): more undefined references to `g_strdup_printf' follow
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x53a6): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x53b2): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x562d): undefined reference to `g_list_prepend'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x589a): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x58f5): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x598d): undefined reference to `g_hash_table_foreach'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x5ac1): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x5ad3): undefined reference to `g_free'
/usr/lib/libmono.a(aot-compiler.o): In function `mono_compile_assembly':
(.text+0x5b12): undefined reference to `g_hash_table_insert'
/usr/lib/libmono.a(aot-compiler.o): In function `add_token_info_hash':
(.text+0xb7): undefined reference to `g_hash_table_insert'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_is_pagefault':
(.text+0xe5): undefined reference to `g_hash_table_foreach'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_plt_entry':
(.text+0x154): undefined reference to `g_hash_table_foreach'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_is_got_entry':
(.text+0x1d3): undefined reference to `g_hash_table_foreach'
/usr/lib/libmono.a(aot-runtime.o): In function `load_image':
(.text+0x2c4): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_handle_pagefault':
(.text+0x388): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `make_writable':
(.text+0x3ff): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x513): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x567): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x57d): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x63c): undefined reference to `g_str_hash'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x787): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x7a9): undefined reference to `g_hash_table_insert'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x7e8): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x7f2): undefined reference to `g_str_hash'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x811): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x836): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x842): undefined reference to `g_str_equal'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x849): undefined reference to `g_str_hash'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x84e): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x869): undefined reference to `g_str_equal'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x870): undefined reference to `g_str_hash'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x875): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_class_from_name':
(.text+0x896): undefined reference to `g_hash_table_insert'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_init':
(.text+0x8c2): undefined reference to `g_hash_table_new'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xaba): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xb15): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xb50): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xb75): undefined reference to `g_get_home_dir'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xb97): undefined reference to `g_build_filename'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xba9): undefined reference to `g_file_test'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xbed): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xc0d): undefined reference to `g_build_filename'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xc1f): undefined reference to `g_file_test'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xc63): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xc68): undefined reference to `g_get_home_dir'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xc92): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xcb8): undefined reference to `g_build_filename'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xcc2): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xd59): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xd78): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xd9f): undefined reference to `g_spawn_command_line_sync'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xddc): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xde7): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xdef): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xe11): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xe82): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xf00): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xf12): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0xf20): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x1002): undefined reference to `g_strdup'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x102b): undefined reference to `g_strdup'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x1052): undefined reference to `g_strdup'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x13b5): undefined reference to `g_hash_table_insert'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x1441): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x1483): undefined reference to `g_strerror'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x14ab): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x14bf): undefined reference to `g_strerror'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x14e7): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x1540): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x156c): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x1598): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x15c4): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `load_aot_module':
(.text+0x15f0): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o):(.text+0x161c): more undefined references to `g_assertion_message_expr' follow
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_find_jit_info':
(.text+0x1c7d): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_find_jit_info':
(.text+0x1e8f): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_find_jit_info':
(.text+0x1ec2): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_find_jit_info':
(.text+0x1eee): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_find_jit_info':
(.text+0x1f1a): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_find_jit_info':
(.text+0x1f46): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o):(.text+0x1f72): more undefined references to `g_assertion_message_expr' follow
/usr/lib/libmono.a(aot-runtime.o): In function `decode_patch_info':
(.text+0x24bc): undefined reference to `g_log'
/usr/lib/libmono.a(aot-runtime.o): In function `decode_patch_info':
(.text+0x24e8): undefined reference to `g_assertion_message'
/usr/lib/libmono.a(aot-runtime.o): In function `decode_patch_info':
(.text+0x253f): undefined reference to `g_assertion_message'
/usr/lib/libmono.a(aot-runtime.o): In function `decode_patch_info':
(.text+0x264f): undefined reference to `g_malloc'
/usr/lib/libmono.a(aot-runtime.o): In function `decode_patch_info':
(.text+0x3496): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `decode_patch_info':
(.text+0x35b9): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `decode_patch_info':
(.text+0x35e5): undefined reference to `g_assertion_message'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_plt_resolve':
(.text+0x372b): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_plt_resolve':
(.text+0x3757): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `load_patch_info':
(.text+0x37c8): undefined reference to `g_malloc'
/usr/lib/libmono.a(aot-runtime.o): In function `load_patch_info':
(.text+0x3851): undefined reference to `g_malloc'
/usr/lib/libmono.a(aot-runtime.o): In function `load_patch_info':
(.text+0x388a): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_method_from_token':
(.text+0x390f): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_method_from_token':
(.text+0x3b4f): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_method_from_token':
(.text+0x3c56): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_method_from_token':
(.text+0x3cef): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_method':
(.text+0x3f5f): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_method':
(.text+0x3fde): undefined reference to `g_malloc0'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_method':
(.text+0x4192): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_method':
(.text+0x4246): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_method':
(.text+0x42d8): undefined reference to `g_free'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_method':
(.text+0x4309): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_get_cached_class_info':
(.text+0x4d2b): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(aot-runtime.o): In function `mono_aot_init_vtable':
(.text+0x4e0f): undefined reference to `g_hash_table_lookup'
/usr/lib/libmono.a(graph.o): In function `convert_name':
(.text+0x1c): undefined reference to `g_malloc'
/usr/lib/libmono.a(graph.o): In function `cfg_emit_one_loop_level':
(.text+0x105): undefined reference to `g_list_find'
/usr/lib/libmono.a(graph.o): In function `dtree_emit_one_loop_level':
(.text+0x2fb): undefined reference to `g_list_find'
/usr/lib/libmono.a(graph.o): In function `mono_draw_graph':
(.text+0x8bd): undefined reference to `g_strdup_printf'
/usr/lib/libmono.a(graph.o): In function `mono_draw_graph':
(.text+0xc2a): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(graph.o): In function `mono_draw_graph':
(.text+0xc56): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(graph.o): In function `mono_draw_graph':
(.text+0x8d6): undefined reference to `g_free'
/usr/lib/libmono.a(wapihandles.o): In function `sem_explain':
(.text+0x45): undefined reference to `g_print'
/usr/lib/libmono.a(wapihandles.o): In function `sem_explain':
(.text+0x57): undefined reference to `g_print'
/usr/lib/libmono.a(wapihandles.o): In function `sem_explain':
(.text+0x63): undefined reference to `g_print'
/usr/lib/libmono.a(wapihandles.o): In function `sem_explain':
(.text+0x94): undefined reference to `g_print'
/usr/lib/libmono.a(wapihandles.o): In function `mini_wapi_seminfo':
(.text+0x10f): undefined reference to `g_print'
/usr/lib/libmono.a(wapihandles.o):(.text+0x13c): more undefined references to `g_print' follow
/usr/lib/libmono.a(wapihandles.o): In function `mini_wapi_semdel':
(.text+0x238): undefined reference to `g_strerror'
/usr/lib/libmono.a(wapihandles.o): In function `mini_wapi_semdel':
(.text+0x258): undefined reference to `g_log'
/usr/lib/libmono.a(wapihandles.o): In function `mini_wapi_hps':
(.text+0x2af): undefined reference to `g_log'
/usr/lib/libmono.a(wapihandles.o): In function `mini_wapi_hps':
(.text+0x2eb): undefined reference to `g_print'
/usr/lib/libmono.a(wapihandles.o): In function `mini_wapi_hps':
(.text+0x37f): undefined reference to `g_print'
/usr/lib/libmono.a(wapihandles.o): In function `mini_wapi_hps':
(.text+0x3a0): undefined reference to `g_log'
/usr/lib/libmono.a(wapihandles.o): In function `mini_wapi_hps':
(.text+0x3bc): undefined reference to `g_print'
/usr/lib/libmono.a(wapihandles.o): In function `mini_wapi_hps':
(.text+0x41b): undefined reference to `g_print'
/usr/lib/libmono.a(wapihandles.o): In function `process_details':
(.text+0x478): undefined reference to `g_snprintf'
/usr/lib/libmono.a(wapihandles.o): In function `namedevent_details':
(.text+0x4df): undefined reference to `g_snprintf'
/usr/lib/libmono.a(wapihandles.o): In function `namedsem_details':
(.text+0x53e): undefined reference to `g_snprintf'
/usr/lib/libmono.a(wapihandles.o): In function `namedmutex_details':
(.text+0x5a9): undefined reference to `g_snprintf'
/usr/lib/libmono.a(wapihandles.o): In function `thread_details':
(.text+0x604): undefined reference to `g_snprintf'
/usr/lib/libmono.a(mini-x86.o): In function `emit_float_to_int':
(.text+0x525): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(mini-x86.o): In function `emit_float_to_int':
(.text+0x551): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(mini-x86.o): In function `mono_arch_get_delegate_invoke_impl':
(.text+0x7f0): undefined reference to `g_assertion_message_expr'
/usr/lib/libmono.a(mini-x86.o): In function `get_call_info':
(.text+0x9bc): undefined reference to `g_log'
/usr/lib/libmono.a(mini-x86.o): In function `get_call_info':
(.text+0x9de): undefined reference to `g_malloc0'
/usr/lib/libmono.a(mini-x86.o): In function `get_call_info':
(.text+0xb3b): undefined reference to `g_log'
/usr/lib/libmono.a(mini-x86.o): In function `mono_arch_get_this_arg_from_call':
(.text+0xd1f): undefined reference to `g_free'


Try
Import "-lmono"

under Linux. That might work under Windows as well for the dynamic library, but I'm not sure.

under Linux. That might work under Windows as well for the dynamic library, but I'm not sure.
Heh. I just recently found Brucey doing that in FMOD (along with the LD_OPTS ModuleInfo thing).

It works with windows, but I haven't got on Linux yet to test it..