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. -Kurt