FW: 6.4.2 build Sound/OpenAL/ALC error

Simon Marlow simonmar at microsoft.com
Mon Apr 24 04:56:08 EDT 2006

Forwarding to glasgow-haskell-users at haskell.org 

-----Original Message-----
From: mailman-bounces at haskell.org [mailto:mailman-bounces at haskell.org] On Behalf Of Erik J Pearson
Sent: 24 April 2006 06:21
To: glasgow-haskell-users-owner at haskell.org
Subject: 6.4.2 build Sound/OpenAL/ALC error

While building 6.4.2 on SuSE 10.0 with 6.4.1, I encountered this error.  Is 
this a known issue?

../../ghc/compiler/ghc-inplace -H16m -O -Wall -fffi -Iinclude '-#include 
"HsOpenAL.h"' -cpp -DCALLCONV=ccall -ignore-package OpenAL -O -Rghc-timing 
-fgenerics  -package base  -package OpenGL -fgenerics -split-objs    -c 
Sound/OpenAL/ALC/Capture.hs -o Sound/OpenAL/ALC/Capture.o  -ohi 

    Couldn't match `NumSamples' against `Sound.OpenAL.Config.ALCint'
      Expected type: GettableStateVar NumSamples
      Inferred type: GettableStateVar Sound.OpenAL.Config.ALCint
    In the expression:
        makeGettableStateVar $ (getInteger (Just device) CaptureSamples)
    In the definition of `captureNumSamples':
        captureNumSamples device
                            = makeGettableStateVar $ (getInteger (Just device) 
<<ghc: 31117576 bytes, 10 GCs, 1478944/2861380 avg/max bytes residency (2 
samples), 17M in use, 0.00 INIT (0.00 elapsed), 0.12 MUT (0.26 elapsed), 0.13 
GC (0.13 elapsed) :ghc>>
make[2]: *** [Sound/OpenAL/ALC/Capture.o] Error 1

Thanks for all the great work.


More information about the Glasgow-haskell-users mailing list