| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=1.2 required=5.0 tests=AWL,BAYES_00,RCVD_BAD_ID |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4A72C2F8.5010007@bull.net> |
| Date: | Fri, 31 Jul 2009 12:10:00 +0200 |
| From: | Martine Carannante <Martine DOT Carannante AT bull DOT net> |
| User-Agent: | Thunderbird 2.0.0.22 (Windows/20090605) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | lt_dlopen() cant open the module |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Hi
I built a shared module (compiled with gcc -shared).
Thanks to Yaakov (Cygwin/X), I solved my undefined references.
Solution 2) Build the main program first with these additional LDFLAGS:=20
'-Wl,--export-all-symbols,--out-implib,libfoo.a'. Then build the=20
plugins, adding to their LDFLAGS: '-Wl,/path/to/libfoo.a'.
But when the main program loads the module with lt_dlopen() function, I=20
get the lt_dlerror message : can't open the module.
I don't know which is the reason :
- is the module bad built ?
- I give a full CYGWIN path to lt_dlopen function , is it correct ?
- other reasons ?
I dont know where to find the man page of the CYGWIN lt_dlopen()=20
function to have an idea of the errors.
Thanks for your help
Best regards
Martine
--=20
Martine Carannante
System Software Development R&D=20
Bull, Architect of an Open World TM=20
T=E9l : (+33) 1 30 80 71 87
http://www.bull.com=20
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |