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 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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