Today I installed OpenAL on my windows machine. I installed both OpenAl-1.4.0.0 and ALUT-2.2.0.0 I am able to load the modules in haskell files and check the types of HOpenAL functions using GCHi, however, whenever I run a main routine in GCHi using HOpenAL functions I get the following error:
Loading package OpenAL-1.4.0.0 ... linking ... <interactive>: C:\Program Files\Haskell\OpenAL-1.4.0.0\ghc-6.10.4\HSOpenAL-1.4.0.0.o: unknown symbol '_alDistanceModel' : unable to load package 'OpenAL-1.4.0.0' I wrote the following program as a test: ---------------------------- import Sound.OpenAL.AL import Sound.ALUT main = do buf <- createBuffer HelloWorld x <- getLine print "done" --------------------------- When I compile it using GHC with the command "ghc --make test.hs" I get a series of errors (about 30-50 of them) such as: Linking test.exe ... C:\Program Files\Haskell\ALUT-2-2.0.0\ghc-6.10.4/libHSALUT-2.2.0.0.a(Config.o):fake:(.text+0x4c1): undefined reference to 'aluti...@8' C:\Program Files\Haskell\OpenAL-1.4.0.0\ghc-6.10.4/libHSOpenAL-1.4.0.0.a(BufferInternal.o):fake:(.text+0x75): undefined reference to 'alIsBuffer' Does anyone know what might be causing this problem? -- View this message in context: http://old.nabble.com/GHC-failing-during-interactive-linking-with-OpenAL-tp27714337p27714337.html Sent from the Haskell - Glasgow-haskell-bugs mailing list archive at Nabble.com. _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs