Thanks for reply. I'll report a bug if there is no new reply in two days.

------------
Nobuhito


From: Stefan O'Rear <[EMAIL PROTECTED]>
To: Nobuhito Mori <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [Haskell-cafe] Link error in ALUT "Hello, World"
Date: Sat, 24 Mar 2007 19:43:18 -0700

On Sun, Mar 25, 2007 at 11:38:56AM +0900, Nobuhito Mori wrote:
> 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)

@8 is name mangling, used by the (Windows-specific) calling convention
for these symbols.  Probably, a convention declaration was omitted in
ALUT, and not noticed because it would only affect windows.  Report a
bug (http://hackage.haskell.org/trac/ghc/newticket?type=bug).
Disclaimer: I haven't used windows in four years.

Stefan

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to