- Subject: Re: [slang-users] Error On IMPORTING Modules.
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Tue, 14 Jun 2005 13:34:09 -0400
Ben Duncan <ben@xxxxxxxxxxxxxxxxxx> wrote:
>nm -g =
>
>0000c088 D SLmodule_appmenu_api_version
It looks like it was compiled against slang2.
>ldd -r =
>
> libm.so.6 => /lib/libm.so.6 (0xb7f9c000)
> libc.so.6 => /lib/libc.so.6 (0xb7e6d000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
This is puzzling. I expected to see a number of unresolved symbols.
For example, if you run "ldd -r" on, e.g., the select module you
should obtain:
#ldd -r ./select-module.so
libm.so.6 => /lib/libm.so.6 (0x4000b000)
libc.so.6 => /lib/libc.so.6 (0x4002d000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: SLang_peek_at_stack (./select-module.so)
undefined symbol: SLang_create_array (./select-module.so)
undefined symbol: SLfile_get_fd (./select-module.so)
undefined symbol: SLns_create_namespace (./select-module.so)
undefined symbol: SLang_free_array (./select-module.so)
undefined symbol: SLang_push_null (./select-module.so)
undefined symbol: SLns_add_intrin_fun_table (./select-module.so)
undefined symbol: SLang_pop_null (./select-module.so)
undefined symbol: SLerrno_set_errno (./select-module.so)
undefined symbol: SLang_pop_array_of_type (./select-module.so)
undefined symbol: SLstruct_create_struct (./select-module.so)
I suspect that you have statically linked slang to your module. How
are you compiling it?
Thanks,
--John
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]