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/.

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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

Reply via email to