This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compiling bash-2.05b-3: "loadables" not available?


/usr/src/bash-2.05b-3:
the sources in ./examples/loadables are not compiled under cygwin, in spite
of docs saying:
Loadables are available if dlopen, dlclose, dlsym are available.

config.log:
ac_cv_func_dlopen='yes'
ac_cv_func_dlclose='yes'
ac_cv_func_dlsym='yes'
ac_cv_lib_dl_dlopen='no'    <-- is this the evil devil?

./configure generates the Makefile in ./examples/loadables, and
I don't see a query anywhere in the makefiles/scripts which prevents make
from beeing executed in this directory. But if I manually do a "make" in
this directory, I get lots of errors [1].

But I liked to have these loadables (esp. cat)!
Who knows more about? Are there any tricks?


[1] -> make
gcc -shared  -o print print.o
print.o: In function `print_builtin':
/usr/src/bash-2.05b-3/examples/loadables/print.c:65: undefined reference to
`reset_internal_getopt'
/usr/src/bash-2.05b-3/examples/loadables/print.c:72: undefined reference to
`lcurrent'
/usr/src/bash-2.05b-3/examples/loadables/print.c:72: undefined reference to
`loptend'
/usr/src/bash-2.05b-3/examples/loadables/print.c:75: undefined reference to
`loptend'
/usr/src/bash-2.05b-3/examples/loadables/print.c:91: undefined reference to
`list_optarg'
/usr/src/bash-2.05b-3/examples/loadables/print.c:91: undefined reference to
`all_digits'
/usr/src/bash-2.05b-3/examples/loadables/print.c:91: undefined reference to
`list_optarg'
/usr/src/bash-2.05b-3/examples/loadables/print.c:91: undefined reference to
`legal_number'
/usr/src/bash-2.05b-3/examples/loadables/print.c:95: undefined reference to
`lcurrent'
/usr/src/bash-2.05b-3/examples/loadables/print.c:96: undefined reference to
`loptend'
/usr/src/bash-2.05b-3/examples/loadables/print.c:96: undefined reference to
`lcurrent'
/usr/src/bash-2.05b-3/examples/loadables/print.c:101: undefined reference to
`list_optarg'
/usr/src/bash-2.05b-3/examples/loadables/print.c:104: undefined reference to
`builtin_usage'
/usr/src/bash-2.05b-3/examples/loadables/print.c:107: undefined reference to
`internal_getopt'
/usr/src/bash-2.05b-3/examples/loadables/print.c:110: undefined reference to
`loptend'
/usr/src/bash-2.05b-3/examples/loadables/print.c:119: undefined reference to
`make_word'
/usr/src/bash-2.05b-3/examples/loadables/print.c:120: undefined reference to
`make_word_list'
/usr/src/bash-2.05b-3/examples/loadables/print.c:121: undefined reference to
`printf_builtin'
/usr/src/bash-2.05b-3/examples/loadables/print.c:123: undefined reference to
`dispose_words'
print.o: In function `printargs':
/usr/src/bash-2.05b-3/examples/loadables/print.c:160: undefined
reference to `ansicstr'
collect2: ld returned 1 exit status
make: *** [print] Fehler 1


Adolf Markl


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]