[HOpenGL] OpenGL and GLUT packages on Windows cause undefeined
reference problem if build theirs myself
Sven Panne
sven.panne at aedion.de
Tue Mar 13 10:48:01 EDT 2007
On Friday 09 March 2007 07:28, shelarcy wrote:
> [...]
> This problem doesn't occure Sigbjorn Finne's build snapshot ...
> http://www.haskell.org/ghc/dist/current/dist/
> http://www.haskell.org/pipermail/cvs-ghc/2007-March/034396.html
>
> I don't know why .. but I know why reference is unresolved.
>
> CALLCONV is defined stdcall on Windows, but hs_**_getProcAddress
> (and other cbits's c functions) are build with ccall convention.
>
> Attached are darcs patch to fix these problem.
> But ... I don't know this patch doesn't cause any ptoblem Sigbjorn's
> next binary release. Because I don't know why OpenGL and GLUT can
> build correctly under his environment.
Nice analysis of the problem. Your patch looks correct, but I don't have a
clue why Sigbjorn's binary release works. Before I commit these patches I'd
like to understand the current state of affairs in detail, otherwise
the "official" release might get broken. Sigbjorn?
Cheers,
S.
More information about the HOpenGL
mailing list