Hi,

I've checked in a fix for this to the CVS repo (was
bitten by the very same problem here), so hopefully
a release of ghc-win32 will have that fix included at
some stage.

--sigbjorn

Krasimir Angelov [EMAIL PROTECTED] writes:
> 
> Problem while I use Dynamic libraries from C side.
> Prims.o, grid.o and pack.o are compiled C modules
> They uses Win32 API.
> 
> ----------------- DUMP ----------------------------
> 
> 
> C:\WinHaskell2>ghci prims.o grid.o pack.o WinStub.o
> -lgdi32 -luser32 -lkernel32
> -lcomctl32
>    ___         ___ _
>   / _ \ /\  /\/ __(_)
>  / /_\// /_/ / /  | |      GHC Interactive, version 5.01, for Haskell 98.
> / /_\\/ __  / /___| |      http://www.haskell.org/ghc/
> \____/\/ /_/\____/|_|      Type :? for help.
> 
> Loading package std ... linking ... done.
> Loading object (static) prims.o ... done
> Loading object (static) grid.o ... done
> Loading object (static) pack.o ... done
> Loading object (static) WinStub.o ... not found
> Loading object (dynamic) comctl32 ... done
> Loading object (dynamic) kernel32 ... done
> Loading object (dynamic) user32 ... done
> Loading object (dynamic) gdi32 ... done
> Prelude>
> Prelude> :l WinHaskell
> can't find module `Addr'
> Prelude> :s -package lang
> Loading package lang ... linking ... ocResolve_PEi386:
> pack.o: unknown symbol `_GetWindowLongA'
> ghc.exe: panic! (the `impossible' happened, GHC
> version 5.01):
>        resolveObjs: failed
> 
> Please report it as a compiler bug to
> [EMAIL PROTECTED],
> or http://sourceforge.net/projects/ghc/.




_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to