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/Version.hs -o Sound/ALUT/Version.o -ohi
Sound/ALUT/Version.hi
/tmp/ghc31164.hc: In function `SoundziALUTziVersion_alutVersion_entry':
/tmp/ghc31164.hc:199: warning: implicit declaration of function
`alutGetMajorVersion'
/tmp/ghc31164.hc:202: warning: implicit declaration of function
`alutGetMinorVersion'
<>
( cd Sound/ALUT/Version_split; rm -f ld.script; touch ld.script; echo "INPUT("
*.o ")" >>ld.script; /usr/bin/ld -r -x -o ../Version.o ld.script; );
rm -f Sound/ALUT/BuiltInSounds.o; if [ ! -d Sound/ALUT/BuiltInSounds_split ];
then mkdir Sound/ALUT/BuiltInSounds_split; else /usr/bin/find
Sound/ALUT/BuiltInSounds_split -name '*.o' -print | xargs rm -f __rm_food;
fi;
../../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/BuiltInSounds.hs -o Sound/ALUT/BuiltInSounds.o
-ohi Sound/ALUT/BuiltInSounds.hi
/tmp/ghc31192.hc: In function `s2aH_entry':
/tmp/ghc31192.hc:49: warning: implicit declaration of function
`alutCreateBufferWaveform'
/tmp/ghc31192.hc: In function `SoundziALUTziBuiltInSounds_zdLs2bksat_entry':
/tmp/ghc31192.hc:405: warning: implicit declaration of function
`alutCreateBufferHelloWorld'
<>
( cd Sound/ALUT/BuiltInSounds_split; rm -f ld.script; touch ld.script; echo
"INPUT(" *.o ")" >>ld.script; /usr/bin/ld -r -x -o ../BuiltInSounds.o
ld.script; );
rm -f Sound/ALUT/Loaders.o; if [ ! -d Sound/ALUT/Loaders_split ]; then mkdir
Sound/ALUT/Loaders_split; else /usr/bin/find Sound/ALUT/Loaders_split -name
'*.o' -print | xargs rm -f __rm_food; fi;
../../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/Loaders.hs -o Sound/ALUT/Loaders.o -ohi
Sound/ALUT/Loaders.hi
/tmp/ghc31242.hc: In function `s3bZ_entry':
/tmp/ghc31242.hc:1956: warning: implicit declaration of function
`alutCreateBufferFromFile'
/tmp/ghc31242.hc: In function `s3dz_ret':
/tmp/ghc31242.hc:2188: warning: implicit declaration of function
`alutGetError'
/tmp/ghc31242.hc:2193: warning: implicit declaration of function
`alutGetErrorString'
/tmp/ghc31242.hc: In function `s3pP_ret':
/tmp/ghc31242.hc:2332: warning: implicit declaration of function
`alutLoadMemoryFromFile'
/tmp/ghc31242.hc: In function `s3qz_ret':
/tmp/ghc31242.hc:2453: warning: implicit declaration of function
`alutLoadMemoryFromFileImage'
/tmp/ghc31242.hc: In function `s3rA_entry':
/tmp/ghc31242.hc:2662: warning: implicit declaration of function
`alutCreateBufferFromFileImage'
/tmp/ghc31242.hc: In function `SoundziALUTziLoaders_zdwmimeTypes_entry':
/tmp/ghc31242.hc:3117: warning: implicit declaration of function
`alutGetMIMETypes'
<>
( cd Sound/ALUT/Loaders_split; rm -f ld.script; touch ld.script; echo "INPUT("
*.o ")" >>ld.script; /usr/bin/ld -r -x -o ../Loaders.o ld.script; );
rm -f Sound/ALUT/Initialization.o; if [ ! -d Sound/ALUT/Initialization_split
]; then mkdir Sound/ALUT/Initialization_split; else /usr/bin/find
Sound/ALUT/Initialization_split -name '*.o' -print | xargs rm -f __rm_food;
fi;
../../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'
<>
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
What can I do to fix it?
Cheers,
Daniel
--
"In My Egotistical Opinion, most people's C programs should be
indented six feet downward and covered with dirt."
-- Blair P. Houghton