On Thu, Jul 27, 2006 at 09:07:09AM -0400, Kurt Miller wrote:
> On Saturday 22 July 2006 7:44 pm, Aaron W. Hsu wrote:
> ...
> > Basically, Scheme allows external C libraries to access the
> > scheme48vm's internal C structures through a scheme48.h header
> > file. One such program (http://magic.xmog.com) is using a postgresql.c
> > wrapper file to provide special wrappers to my Scheme programs. In
> > doing so, it utilizes some of the internal structures (functions,
> > variables, etc.) declared in scheme48.h. 
> > 
> > However, when I load this software (further instructions on
> > reproducing the exact error are below), and run the proper commands,
> > the program faults out (segfault) giving me errors that it cannot find
> > the functions internal to scheme48vm
> 
> It sounds like you need to link the executable with -Wl,-E. 
> Read man 1 ld -E option to understand why.

Yes, this problem was solved thanks to some help at
[EMAIL PROTECTED] That was the issue. This has been fixed when I
submitted the port more officially to the list. In the end, it boiled
down to LDFLAGS=-Wl,--export-dynamic.

-- 
Aaron Hsu <[EMAIL PROTECTED]> 
<http://www.aaronhsu.com> 
XMPP/Jabber/GTalk: [EMAIL PROTECTED] | ICQ: 153114301
AIM/Yahoo: NoorahAbeer | MSN: [EMAIL PROTECTED]

Reply via email to