bash loadable builtins

I have compiled a couple of ‘loadable builtins’ for bash (in
examples/loadables). The result is a .o and an executable for each - I am
currently doing ‘head’ and ‘cut’.

At a bash prompt, I type: “enable -f
/src/bash/bash-2.05a/nto-x86-o/examples/loadables/head head” and get :
unknown symbol: list_optarg
unknown symbol: loptend
unknown symbol: make_bare_word
unknown symbol: builtin_usage
unknown symbol: builtin_error
unknown symbol: internal_getopt
unknown symbol: make_word_list
unknown symbol: reset_internal_getopt
bash: enable: cannot open shared object
/src/bash/bash-2.05a/nto-x86-o/examples/loadables/head: unresolved symbols"

I get pretty much the same thing when I try to enable ‘cut’.

Most if not all of these are in
/src/bash/bash-2.05a/nto-x86-o/builtins/libbuiltins.a, which is in the
makefile as an included directory.

Advice anyone?

-KS