X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4A1D200B.2020503@gmail.com> References: <1de9d39c0905260519x7cdf738cxbc057482c6cdcd6b AT mail DOT gmail DOT com> <4A1C120F DOT 8040808 AT gmail DOT com> <1de9d39c0905270207x62e00deej9920f3d6b4e31c12 AT mail DOT gmail DOT com> <4A1D200B DOT 2020503 AT gmail DOT com> Date: Wed, 27 May 2009 19:01:32 +0200 Message-ID: <1de9d39c0905271001v1fddafb5me5729f36282889bd@mail.gmail.com> Subject: Re: dll links or pkgconfig/libtool information is wrong From: jean-luc malet To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 $cygcheck -c libGL1 libGL-devel Cygwin Package Information Package Version Status libGL-devel 7.2-2 OK libGL1 7.2-2 OK I'll try to make a small lib that cause the error... but I think that anything that do opengl shall fail thanks JLM On Wed, May 27, 2009 at 1:12 PM, Dave Korn wrote: > jean-luc malet wrote: >> On Tue, May 26, 2009 at 6:00 PM, Dave Korn >>> jean-luc malet wrote: > >>>> this dll use 2 others dll : -lglut -lGL >>>> $pkg-config.exe --libs gl >>>> -lGL >>>> but /bin/ contain cygGL-1.dll >>>> when static linking with -lGL this works fine because libGL.a exist >>>> when creating the dll -lGL don't work at all, I have to specify -lGL-1 >>>> doing >>>> /bin/$ ln -s cygGL-1.dll cygGL.dll >>>> solve the issue > >>> =C2=A0Normally for every /bin/cygDLLNAME-VERSION.dll, there should be a >>> /usr/lib/libDLLNAME.dll.a that contains import stubs, allowing you to l= ink >>> against whatever DLL is current without needing to specify the version = number >>> as you have done. > >> I have the dev packages installed and the libGL.dll.a are present >> $ls /lib/libGL* >> /lib/libGL.dll.a =C2=A0/lib/libGLU.dll.a >> >> however, without -lGL-1 it's impossible to link a dll (report missing sy= mbols) >> thanks and regards > > =C2=A0That is strange and unexpected and could indicate a bug, perhaps in= the > building of the import libraries. =C2=A0Can you show us a very simple tes= tcase, > e.g. a trivial C program with just a "main" function that calls a few of = these > functions that cause missing references? =C2=A0(Also, double-check that y= ou have > the exact corresponding version of the lib package and the -devel package= by > running "cygcheck -c libGL1 libGL-devel", just in case). > > =C2=A0 =C2=A0cheers, > =C2=A0 =C2=A0 =C2=A0DaveK > > > -- > Unsubscribe info: =C2=A0 =C2=A0 =C2=A0http://cygwin.com/ml/#unsubscribe-s= imple > Problem reports: =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/problems.html > Documentation: =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://cygwin.com/docs.html > FAQ: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http:= //cygwin.com/faq/ > > --=20 KISS! (Keep It Simple, Stupid!) (garde le simple, imb=C3=A9cile!) "mais qu'est-ce que tu m'as pondu comme usine =C3=A0 gaz? fait des choses simples et qui marchent, esp=C3=A8ce d'imb=C3=A9cile!" ----------------------------- "Si vous pensez que vous =C3=AAtes trop petit pour changer quoique ce soit, essayez donc de dormir avec un moustique dans votre chambre." Betty Reese http://www.grainesdechangement.com/citations.htm -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/