i was not able to load the sample module 'sample' in
XEmacs 21.2 "Calliope" [Lucid] (i586-pc-linux) of Wed Mar 3 1999
here it is a mockup of my session:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% cd ~/src/xemacs-21.2/modules/sample
% make
../../lib-src/ellcc -I. -I../../src -c sample.c
ELLMAKEDOC=../../lib-src/make-docfile ../../lib-src/ellcc \
--mode=init --mod-output=sample_i.c \
--mod-name=sample --mod-version=1.0.0 \
--mod-title="Sample loadable module" sample.c
../../lib-src/ellcc -I. -I../../src -c sample_i.c
../../lib-src/ellcc --mode=link --mod-output=sample.ell sample.o sample_i.o
% cd
% xemacs -vanilla
M-x load-module <RET> ~/src/xemacs-21.2/modules/sample/sample.ell <RET>
Opening dynamic module:
~/src/xemacs-21.2.11/modules/sample/sample.ell: undefined symbol: Qt
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Qt is what the sample function returns
previously, i had similar problems with module 'base64'