This is the mail archive of the cygwin 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]

Re: dll links or pkgconfig/libtool information is wrong


$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
<dave.korn.cygwin@googlemail.com> 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
>
>>> ÂNormally for every /bin/cygDLLNAME-VERSION.dll, there should be a
>>> /usr/lib/libDLLNAME.dll.a that contains import stubs, allowing you to link
>>> 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 Â/lib/libGLU.dll.a
>>
>> however, without -lGL-1 it's impossible to link a dll (report missing symbols)
>> thanks and regards
>
> ÂThat is strange and unexpected and could indicate a bug, perhaps in the
> building of the import libraries. ÂCan you show us a very simple testcase,
> e.g. a trivial C program with just a "main" function that calls a few of these
> functions that cause missing references? Â(Also, double-check that you have
> the exact corresponding version of the lib package and the -devel package by
> running "cygcheck -c libGL1 libGL-devel", just in case).
>
> Â Âcheers,
> Â Â ÂDaveK
>
>
> --
> 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/
>
>



-- 
KISS! (Keep It Simple, Stupid!)
(garde le simple, imbÃcile!)
"mais qu'est-ce que tu m'as pondu comme usine à gaz? fait des choses
simples et qui marchent, espÃce d'imbÃcile!"
-----------------------------
"Si vous pensez que vous Ãtes 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/


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