[gambit-list] Dynamic loading
Peter Wang
tjaden at ozadsl.com.au
Sun Oct 24 03:37:34 EDT 2004
Hello, I'm trying out the example instructions for bundling multiple
source files into something that can be loaded with `load', but it
appears a symbol is missing: (this is on linux)
% gsc -flat -o foo.c m2 m3
% gcc -shared -fPIC -D___DYNAMIC m1.c m2.c m3.c foo.c -o foo.o1
-I/usr/local/Gambit-C/include
% gsi foo
*** ERROR IN ##main -- /tmp/foo.o1: undefined symbol: ____20_foo_2e_o1
(load "foo")
And a thank you to all the Gambit authors.
Peter
More information about the Gambit-list
mailing list