nmとは何でしょうか。わたしにはさっぱりですが、とりあえず、「ext/Setup
を修正して static link し」たつもりの、bow(1.51alpha on
NT4.0)でのnmの結果です。
----------
# nm dbm.o
         U _ArgError
         U _Fail
00000c78 T _Init_dbm
00000000 t ___gnu_compiled_c
         U _ary_new
         U _ary_new2
         U _ary_push
         U _assoc_new
00000004 C _cDBM
         U _cObject
00000018 t _closed_dbm
         U _data_object_alloc
         U _dbm_close
         U _dbm_delete
         U _dbm_fetch
         U _dbm_firstkey
         U _dbm_nextkey
         U _dbm_open
         U _dbm_store
000005b8 t _each_pair
         U _errno
00000494 t _fdbm_clear
00000164 t _fdbm_close
0000026c t _fdbm_delete
000003b0 t _fdbm_delete_if
0000086c t _fdbm_each_key
000008c8 t _fdbm_each_pair
00000808 t _fdbm_each_value
000007a8 t _fdbm_empty_p
000001a0 t _fdbm_fetch
00000a40 t _fdbm_has_key
00000aa0 t _fdbm_has_value
00000214 t _fdbm_indexes
00000508 t _fdbm_invert
00000968 t _fdbm_keys
00000748 t _fdbm_length
0000065c t _fdbm_replace
00000050 t _fdbm_s_open
00000314 t _fdbm_shift
00000698 t _fdbm_store
00000b24 t _fdbm_to_a
00000638 t _fdbm_update
000009d0 t _fdbm_values
         U _free
00000028 t _free_dbm
         U _hash_aset
         U _hash_new
         U _iterator_p
00000f70 d _libs_to_be_linked
         U _mEnumerable
         U _memset
         U _num2long
         U _obj_as_string
         U _obj_call_init
         U _rb_check_safe_str
         U _rb_check_type
         U _rb_define_alias
         U _rb_define_class
         U _rb_define_method
         U _rb_define_singleton_method
         U _rb_funcall
         U _rb_include_module
         U _rb_intern
         U _rb_iterate
         U _rb_scan_args
         U _rb_secure
         U _rb_sys_fail
         U _rb_yield
         U _str_new
         U _str_taint
000005f8 t _update_i
         U _xmalloc
00000000 t gcc2_compiled.

大橋弘靖 <hohasi / cb3.so-net.ne.jp>