Re: dynamic loading question

From: H.J. Lu <hjl_at_nynexst.com>
Date: Fri, 7 Apr 95 12:38:34 EDT

>
>
> I'm trying to compile STk w/ dynamic loading under Linux using the
> latest ELF tools (ld.so 1.6.2, gcc 2.6.4 950305, binutils 950328, libc
> 5.0.0) and STk's dlopen() support.
>
> I've got it building okay now, but when I try to slurp hash.so, say, I
> get:
> STk> (load "hash.so")
> Unable to resolve symbol STk_alloc_cells
> Unable to resolve symbol STk_truth
> Unable to resolve symbol STk_nil
> Unable to resolve symbol STk_undefined
> Unable to resolve symbol STk_unbound
> Unable to resolve symbol STk_ntruth
> Unable to resolve symbol STk_freelist
>
> These are all globals declared extern in a file included by hash.c and
> defined in the slurping executable. What do I need to do to get these
> to be bound correctly?
>

Please read my release note. Please add -rdynamic.

-- 
H.J. Lu
NYNEX Science and Technology, Inc.			hjl_at_nynexst.com
Received on Fri Apr 07 1995 - 18:41:41 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST