delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/16/10:36:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Adolf Markl" <Adolf DOT Markl AT t-online DOT de>
To: <cygwin AT cygwin DOT com>
Subject: compiling bash-2.05b-3: "loadables" not available?
Date: Mon, 16 Sep 2002 16:36:46 +0200
Message-ID: <002801c25d8e$7c4ceab0$0100a8c0@zuhause>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-Sender: 0913114731-0001 AT t-dialin DOT net

/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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019