From: Grzegorz J. <ja...@he...> - 2003-08-26 02:39:46
|
Hi, Assuming that VerboseClass-init.so you sent is the same as the one that libltdl finds, I would blame libtool. What I would suggest is that you upgrade to the newest libtool. In order to do this: * make distclean * install libtool (newest stable), automake, autoconf * run libtoolize --ltdl in top distro dir * run ./bootstrap * ./configure; make If the problem is not gone, find the place in libltdl/ltdl.c where the error is reported (in my version it is ltdl.c:1572), insert 'abort()' there and send the stack trace. Hope this helps. Best regards Grzegorz PS: It would not hurt if you also could somehow verify that there are no problems with dlopenable modules on your platform, e.g. by creating a small program that tries to dlopen something. On Fri, 22 Aug 2003 TSc...@ca... wrote: > > Hello Grzegorz, > > static linking works. Here are the desired outputs. > > $ ls -l VerboseClass-init.so > -rwxrwxrwx 1 TSchmitt mkpasswd 20833 Aug 22 10:29 > VerboseClass-init.so > > TSchmitt@pc-dev13 /cygdrive/c/download/opencxx20030820/sample2 > $ nm -C VerboseClass-init.so > 10005130 b .bss > 10005020 b .bss > 10005130 b .bss > 10005130 b .bss > 10005130 b .bss > 10005130 b .bss > 10005130 b .bss > 10005020 b .bss > 10005130 b .bss > 10005130 b .bss > 10005000 b .bss > 10005070 b .bss > 10005130 b .bss > 10005030 b .bss > 10005130 b .bss > 10005070 b .bss > 10005130 b .bss > 10005120 b .bss > 10005130 b .bss > 10005130 b .bss > 10005030 b .bss > 10002a14 t .ctors > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003000 d .data > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003030 d .data > 10003000 d .data > 10003000 d .data > 10003030 d .data > 10003010 d .data > 10003030 d .data > 10002a20 t .dtors > 100043b4 r .eh_frame > 10004000 r .eh_frame > 10004000 r .eh_frame > 10007014 i .idata$2 > 10007000 i .idata$2 > 10007070 i .idata$4 > 10007080 i .idata$4 > 10007048 i .idata$4 > 1000705c i .idata$4 > 1000704c i .idata$4 > 10007074 i .idata$4 > 1000703c i .idata$4 > 1000708c i .idata$4 > 10007078 i .idata$4 > 1000707c i .idata$4 > 10007088 i .idata$4 > 10007068 i .idata$4 > 1000706c i .idata$4 > 10007044 i .idata$4 > 10007054 i .idata$4 > 10007058 i .idata$4 > 10007084 i .idata$4 > 10007064 i .idata$4 > 10007050 i .idata$4 > 10007060 i .idata$4 > 10007040 i .idata$4 > 100070dc i .idata$5 > 10007094 i .idata$5 > 100070cc i .idata$5 > 100070d8 i .idata$5 > 100070c4 i .idata$5 > 100070b8 i .idata$5 > 100070d4 i .idata$5 > 100070e0 i .idata$5 > 1000709c i .idata$5 > 100070a4 i .idata$5 > 100070b4 i .idata$5 > 100070b0 i .idata$5 > 10007090 i .idata$5 > 100070d0 i .idata$5 > 100070c8 i .idata$5 > 10007098 i .idata$5 > 100070a8 i .idata$5 > 100070a0 i .idata$5 > 100070c0 i .idata$5 > 100070bc i .idata$5 > 100070ac i .idata$5 > 100070f8 i .idata$6 > 100071cc i .idata$6 > 1000718c i .idata$6 > 10007130 i .idata$6 > 10007138 i .idata$6 > 10007168 i .idata$6 > 10007150 i .idata$6 > 100070e4 i .idata$6 > 10007198 i .idata$6 > 10007144 i .idata$6 > 100071a4 i .idata$6 > 100071bc i .idata$6 > 10007120 i .idata$6 > 100070ec i .idata$6 > 10007180 i .idata$6 > 1000710c i .idata$6 > 100071b0 i .idata$6 > 10007224 i .idata$7 > 10007200 i .idata$7 > 1000722c i .idata$7 > 10007210 i .idata$7 > 100071e4 i .idata$7 > 100071f4 i .idata$7 > 100071fc i .idata$7 > 10007204 i .idata$7 > 100071e0 i .idata$7 > 10007230 i .idata$7 > 10007208 i .idata$7 > 1000720c i .idata$7 > 100071f0 i .idata$7 > 10007220 i .idata$7 > 10007214 i .idata$7 > 10007228 i .idata$7 > 100071ec i .idata$7 > 100071e8 i .idata$7 > 100071f8 i .idata$7 > 10002970 t .text > 100023c0 t .text > 10001060 t .text > 100029f0 t .text > 10002980 t .text > 100029f0 t .text > 100029d0 t .text > 10002990 t .text > 100029f0 t .text > 100029a0 t .text > 10002720 t .text > 10002750 t .text > 10002710 t .text > 100029c0 t .text > 10002790 t .text > 10002700 t .text > 100028c0 t .text > 100026f0 t .text > 100026e0 t .text > 100028d0 t .text > 100026d0 t .text > 10002940 t .text > 100026c0 t .text > 10001000 t .text > 10002950 t .text > 100026b0 t .text > 10002960 t .text > 100025a0 t .text > 100029f0 t .text > 100029b0 t .text > 10001050 t .text > 10002730 t .text > 10002740 t .text > 100029e0 t .text > 100029c0 T AddAtomA@4 > 10002730 T DllMain@12 > 100029b0 T FindAtomA@4 > 100029d0 T GetAtomNameA@12 > 100029e0 T GetModuleHandleA@4 > 10002a10 T _CTOR_LIST__ > 10002a1c T _DTOR_LIST__ > 100043b8 R _RUNTIME_PSEUDO_RELOC_LIST_END__ > 100043b8 R _RUNTIME_PSEUDO_RELOC_LIST__ > 10001f20 T _Unwind_Find_FDE > 10001050 T opcxx_Init_VerboseClass() > 10002a10 T __CTOR_LIST__ > 10002a1c T __DTOR_LIST__ > 10004000 R __EH_FRAME_BEGIN__ > 100043b4 r __EH_FRAME_END__ > 100043b8 R __RUNTIME_PSEUDO_RELOC_LIST_END__ > 100043b8 R __RUNTIME_PSEUDO_RELOC_LIST__ > 10002a00 t __dereg_frame_dtor > 100014b0 T __deregister_frame > 100014a0 T __deregister_frame_info > 100013f0 T __deregister_frame_info_bases > 100025a0 t __dllMain > 10001030 T __do_frame_fini > 10001000 T __do_frame_init > 100029f0 t __reg_frame_ctor > 100012e0 T __register_frame > 100012b0 T __register_frame_info > 10001240 T __register_frame_info_bases > 10001390 T __register_frame_info_table > 10001320 T __register_frame_info_table_bases > 100013c0 T __register_frame_table > 10003010 d __w32_sharedptr > 100023c0 T __w32_sharedptr_initialize > 10003020 D __w32_sharedptr_seen_objects > 10003014 D __w32_sharedptr_terminate > 10003018 D __w32_sharedptr_unexpected > 1000301c D __w32_sharedptr_unseen_objects > 10005150 B _bss_end__ > 10005000 B _bss_start__ > 10002790 T _cygwin_crt0_common@8 > 100025d0 T _cygwin_dll_entry@12 > 100026a0 T _cygwin_noncygwin_dll_entry@12 > 10003030 D _data_end__ > 10003000 D _data_start__ > 00000000 A _dll__ > 10001000 T _end__ > 00000200 A _file_alignment__ > 10005128 B _fmode > 10007000 I _head_cygwin1_dll > 10007014 I _head_libkernel32_a > 10000000 A _image_base__ > 100070d0 I _imp__AddAtomA@4 > 100070d4 I _imp__FindAtomA@4 > 100070d8 I _imp__GetAtomNameA@12 > 100070dc I _imp__GetModuleHandleA@4 > 10007094 I _imp__abort > 10007098 I _imp__calloc > 1000709c I _imp__cygwin_detach_dll > 100070a0 I _imp__cygwin_internal > 100070a4 I _imp__dll_dllcrt0 > 100070a8 I _imp__free > 100070ac I _imp__malloc > 100070b0 I _imp__memset > 100070b4 I _imp__pthread_mutex_lock > 100070b8 I _imp__pthread_mutex_unlock > 100070bc I _imp__realloc > 100070c0 I _imp__strlen > 100070c4 I _imp__strtoul > 10005124 B _impure_ptr > 10007230 I _libkernel32_a_iname > 00000000 A _loader_flags__ > 00000001 A _major_image_version__ > 00000004 A _major_os_version__ > 00000004 A _major_subsystem_version__ > 00000000 A _minor_image_version__ > 00000000 A _minor_os_version__ > 00000000 A _minor_subsystem_version__ > 10002910 T _pei386_runtime_relocator > 00001000 A _section_alignment__ > 00001000 A _size_of_heap_commit__ > 00100000 A _size_of_heap_reserve__ > 00001000 A _size_of_stack_commit__ > 00200000 A _size_of_stack_reserve__ > 00000003 A _subsystem__ > 10002700 T abort > 10001a30 t add_fdes > 100014e0 t base_from_object > 10002940 T calloc > 10001900 t classify_object_over_fdes > 10007214 I cygwin1_dll_iname > 10002750 T cygwin_attach_dll > 10002740 T cygwin_detach_dll > 100029a0 T cygwin_internal > 10002990 T cygwin_premain0 > 10002980 T cygwin_premain1 > 10002970 T cygwin_premain2 > 10002960 T cygwin_premain3 > 100028c0 T dll_dllcrt0 > 10005060 b dll_index > 100028d0 T do_pseudo_reloc > 10005120 B environ > 100016a0 t fde_mixed_encoding_compare > 10001610 t fde_single_encoding_compare > 10002300 t fde_split > 100015f0 t fde_unencoded_compare > 10001750 t frame_heapsort > 100026c0 T free > 10001530 t get_cie_encoding > 10002060 t init_object > 10001b40 t linear_search_fdes > 100026d0 T malloc > 10005020 b marker.0 > 10002720 T memset > 10005000 b obj > 10003000 d object_mutex > 100026f0 T pthread_mutex_lock > 100026e0 T pthread_mutex_unlock > 10001140 t read_encoded_value_with_base > 100010f0 t read_sleb128 > 100010b0 t read_uleb128 > 10002950 T realloc > 10001c70 t search_object > 10001060 t size_of_encoded_value > 10005030 b storedHandle > 10005050 b storedPtr > 10005040 b storedReason > 100026b0 T strlen > 10002710 T strtoul > 10005070 b u.0 > 100070d0 i fthunk > 1000707c i hname > > TSchmitt@pc-dev13 /cygdrive/c/download/opencxx20030820/sample2 > $ > > Mit freundlichen Gr=FC=DFen > With best regards > > Tobias Schmitt-Lechner > > -------------------------------------------------------------------------= ------------------------ > > Dipl.Inf. Tobias Schmitt-Lechner > Basis-Entwicklung > Tel: +49-621 33075 ( 0 ) Direktwahl ( 139) > Fax: +49-621 33075 200 > e-mail: mailto:'tschmitt'@capeware.com > Internet: http://www.capeware.com > CapeWare Software GmbH, Am Exerzierplatz 9, D-68167 Mannheim > > > > ################################################################## # Grzegorz Jakacki Huada Electronic Design # # Senior Engineer, CAD Dept. 1 Gaojiayuan, Chaoyang # # tel. +86-10-64365577 x2074 Beijing 100015, China # # Copyright (C) 2002 Grzegorz Jakacki, HED. All Rights Reserved. # ################################################################## |