6.4.2 Build error

Daniel Fischer daniel.is.fischer at web.de
Tue Apr 25 04:04:19 EDT 2006


Am Montag, 24. April 2006 11:11 schrieben Sie:
> Daniel Fischer wrote:
> > When building 6.4.2 today, make died with
> >
> > ../../ghc/compiler/ghc-inplace -H16m -O -Wall -fffi -Iinclude '-#include
> > "HsALUT.h"' -cpp -DCALLCONV=ccall -ignore-package ALUT -O -Rghc-timing
> > -fgenerics  -package base  -package OpenGL  -package OpenAL -fgenerics
> > -split-objs    -c Sound/ALUT/Initialization.hs -o
> > Sound/ALUT/Initialization.o -ohi Sound/ALUT/Initialization.hi
> > /tmp/ghc31340.hc: In function `s2OJ_entry':
> > /tmp/ghc31340.hc:403: error: void value not ignored as it ought to be
> > /tmp/ghc31340.hc:410: warning: implicit declaration of function
> > `alutGetError' /tmp/ghc31340.hc:415: warning: implicit declaration of
> > function
> > `alutGetErrorString'
> > /tmp/ghc31340.hc: In function `s2R4_entry':
> > /tmp/ghc31340.hc:1051: error: void value not ignored as it ought to be
> > /tmp/ghc31340.hc: In function `s2RF_entry':
> > /tmp/ghc31340.hc:1211: warning: implicit declaration of function
> > `alutInitWithoutContext'
> > <<ghc: 51549408 bytes, 13 GCs, 2615637/5782796 avg/max bytes residency (3
> > samples), 20M in use, 0.00 INIT (0.00 elapsed), 0.58 MUT (1.13 elapsed),
> > 0.39 GC (0.39 elapsed) :ghc>>
> > make[2]: *** [Sound/ALUT/Initialization.o] Error 1
> > make[1]: *** [all] Error 1
> > make[1]: Leaving directory `/usr/local/lib/ghc-6.4.2/libraries'
> > make: *** [build] Error 1
>
> If you don't need OpenAL or ALUT, then I suggest you configure with
> --disable-openal.

Did that and make died shortly after complaining about not finding 
libHSOpenAL.a when trying to build ALUT, so if anybody else has similar 
problems, configure with --disable-openal --disable-alut, that worked for me.

>
> OpenAL was updated in 6.4.2.  I thought the new version handled
> compatibility with different versions of the OpenAL library better
> (indeed that's why it was updated), but it appears not.  I'm hoping Sven
> Panne, the author of OpenAL, will be able to shed some light.
>
> Cheers,
> 	Simon

Thanks,
Daniel

-- 

"In My Egotistical Opinion, most people's C programs should be
indented six feet downward and covered with dirt."
	-- Blair P. Houghton



More information about the Glasgow-haskell-users mailing list