Hi, I installed OpenAL and ALUT bindings downloaded from
http://hackage.haskell.org/packages/archive/pkg-list.html and tried
compilation of "HelloWorld.hs" example which I got from
http://darcs.haskell.org/packages/ALUT/
But it returns errors as follow and I can not get an '.exe' file.
Though there are clearly "link errors", I can not understand why it happens.
By option "-package ALUT", libalut.a (which made by pexports and dlltool
because I do not know original "alut.lib" can be used by mingw) and other
necessary libraries are automatically linked, I think. What is "@8" of
"[EMAIL PROTECTED]"?
How can I avoid these errors?
My environment is
Windows XP SP2, GHC6.6, MinGW/MSYS (so some of mingw tools are duplicated.
one is GHC's, the other is MinGW's)
---------------
ghc -package ALUT HelloWorld.hs
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x18): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0xdc): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x19d): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x1d9): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x210): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x2b0): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x36d): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x3f7): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x584): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x6b8): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x7e8): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0x92f): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0xb2c): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0xbc9): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0xc01): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0xc55): undefined reference to [EMAIL PROTECTED]'
C:\Program
Files\Haskell\ALUT-2.0\ghc-6.6/libHSALUT-2.0.a(Config.o):fake:(.text+
0xd89): undefined reference to [EMAIL PROTECTED]'
---------------------
--------------------
Nobuhito
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe