6.4.2 Build error

Daniel Fischer daniel.is.fischer at web.de
Sat Apr 22 07:30:24 EDT 2006


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'
<<ghc: 32689024 bytes, 10 GCs, 1573218/3049972 avg/max bytes residency (2 
samples), 19M in use, 0.00 INIT (0.00 elapsed), 0.28 MUT (0.91 elapsed), 0.23 
GC (0.27 elapsed) :ghc>>
( 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'
<<ghc: 36844732 bytes, 10 GCs, 1467218/2838108 avg/max bytes residency (2 
samples), 19M in use, 0.00 INIT (0.00 elapsed), 0.35 MUT (1.21 elapsed), 0.23 
GC (0.23 elapsed) :ghc>>
( 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'
<<ghc: 68541492 bytes, 14 GCs, 2903726/5669756 avg/max bytes residency (3 
samples), 19M in use, 0.00 INIT (0.00 elapsed), 0.87 MUT (2.70 elapsed), 0.37 
GC (0.42 elapsed) :ghc>>
( 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'
<<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


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



More information about the Glasgow-haskell-users mailing list