
2 issues (6.4.20050218): Compiling on OS X 10.2.8 (using gcc 3.1, ghc-6.2.2) gave an error on ghc/rts/Linker.c. The tarball includes a bogus version of ghc/includes/ghcplatform.h, which from what I can tell ought to be generated by make. Deleting the file and re-making seemed to work for a while. (Also, should that file be removed by make clean? It doesn't seem to be...) Later on in the compilation, though, I got another error (pasted below) on ghc/rts/Apply.cmm. Thanks, -Judah ../../ghc/compiler/ghc-inplace -H16m -O -O2 -static -I. -#include Prelude.h -#include Rts.h -#include RtsFlags.h -#include RtsUtils.h -#include StgRun.h -#include Schedule.h -#include Printer.h -#include Sanity.h -#include STM.h -#include Storage.h -#include SchedAPI.h -#include Timer.h -#include Itimer.h -#include ProfHeap.h -#include LdvProfile.h -#include Profiling.h -#include Apply.h -fvia-C -dcmm-lint -c Apply.cmm -o Apply.o Apply.cmm:28: illegal external declaration, missing `;' after `section' Apply.cmm:52: syntax error, found `1' Apply.cmm:52: illegal method selector, found `*' Apply.cmm:52: illegal method definition, missing `{' after `)' Apply.cmm:53: illegal external declaration, missing `;' after `again' Apply.cmm:53: illegal method definition, found `+' Apply.cmm:53: illegal method definition, missing `{' after `]' Apply.cmm:53: illegal external declaration, found `goto' Apply.cmm:53: syntax error, found `0' Apply.cmm:53: illegal method selector, found `*' Apply.cmm:53: illegal method definition, missing `{' after `)' Apply.cmm:53: illegal external declaration, found `default' Apply.cmm:78: undefined type, found `bits32' Apply.cmm:79: undefined type, found `bits32' Apply.cmm:83: illegal expression, found `%' Apply.cmm:90: illegal external declaration, found `if' Apply.cmm:90: syntax error, found `Words' Apply.cmm:90: illegal method selector, found `*' Apply.cmm:96: undefined type, found `jump' Apply.cmm:109: undefined type, found `bits32' Apply.cmm:110: undefined type, found `bits32' Apply.cmm:113: illegal external declaration, found `for' Apply.cmm:115: syntax error, found `i' Apply.cmm:115: illegal method selector, found `*' Apply.cmm:115: illegal method definition, missing `{' after `]' Apply.cmm:118: illegal external declaration, found `goto' Apply.cmm:127: undefined type, found `bits32' Apply.cmm:128: illegal expression, found `%' Apply.cmm:129: undefined type, found `bits32' Apply.cmm:130: illegal expression, found `%' Apply.cmm:131: illegal external declaration, found `if' Apply.cmm:132: illegal method selector, found `0' Apply.cmm:132: illegal method definition, missing `{' after `)' Apply.cmm:134: illegal external declaration, found `if' Apply.cmm:135: illegal method selector, found `0' Apply.cmm:135: illegal method definition, missing `{' after `)' Apply.cmm:137: illegal external declaration, found `if' Apply.cmm:138: syntax error, found `-' Apply.cmm:138: illegal method selector, found `*' Apply.cmm:138: illegal method definition, missing `{' after `)' Apply.cmm:141: undefined type, found `jump' Apply.cmm:143: undefined type, found `jump' Apply.cmm:144: illegal expression, found `%' Apply.cmm:157: syntax error, found `0' Apply.cmm:157: illegal function definition, found `)' Apply.cmm:159: undefined type, found `bits32' Apply.cmm:160: undefined type, found `bits32' Apply.cmm:164: illegal expression, found `%' Apply.cmm:172: illegal function prototype, found `(' Apply.cmm:172: illegal function definition, found `)' Apply.cmm:172: undefined type, found `SIZEOF_StgHeader' Apply.cmm:172: syntax error, found `+' Apply.cmm:172: illegal method selector, found `)' Apply.cmm:172: illegal method definition, missing `{' after `)' Apply.cmm:174: syntax error, found `-' Apply.cmm:174: illegal function definition, found `)' Apply.cmm:175: undefined type, found `SIZEOF_StgHeader' Apply.cmm:175: syntax error, found `+' Apply.cmm:175: illegal method selector, found `)' Apply.cmm:175: illegal method definition, missing `{' after `)' Apply.cmm:186: undefined type, found `bits32' Apply.cmm:187: undefined type, found `bits32' Apply.cmm:190: illegal external declaration, found `for' Apply.cmm:192: syntax error, found `i' Apply.cmm:192: illegal method selector, found `*' Apply.cmm:192: illegal method definition, missing `{' after `]' Apply.cmm:195: illegal external declaration, found `goto' Apply.cmm:204: undefined type, found `bits32' Apply.cmm:205: illegal expression, found `%' Apply.cmm:206: undefined type, found `bits32' Apply.cmm:207: illegal expression, found `%' Apply.cmm:208: illegal external declaration, found `if' Apply.cmm:209: illegal method selector, found `0' Apply.cmm:209: illegal method definition, missing `{' after `)' Apply.cmm:211: illegal external declaration, found `if' Apply.cmm:212: illegal method selector, found `0' Apply.cmm:212: illegal method definition, missing `{' after `)' Apply.cmm:214: illegal external declaration, found `if' Apply.cmm:215: syntax error, found `-' Apply.cmm:215: illegal method selector, found `*' Apply.cmm:215: illegal method definition, missing `{' after `)' Apply.cmm:218: undefined type, found `jump' Apply.cmm:220: undefined type, found `jump' Apply.cmm:221: illegal expression, found `%' Apply.cmm:236: syntax error, found `0' Apply.cmm:236: illegal function definition, found `)' Apply.cmm:238: undefined type, found `bits32' Apply.cmm:239: undefined type, found `bits32' Apply.cmm:251: illegal function prototype, found `(' Apply.cmm:251: illegal function definition, found `)' Apply.cmm:251: undefined type, found `SIZEOF_StgHeader' Apply.cmm:251: syntax error, found `+' Apply.cmm:251: illegal method selector, found `)' Apply.cmm:251: illegal method definition, missing `{' after `)' Apply.cmm:253: syntax error, found `-' Apply.cmm:253: illegal function definition, found `)' Apply.cmm:254: undefined type, found `SIZEOF_StgHeader' Apply.cmm:254: syntax error, found `+' Apply.cmm:254: illegal method selector, found `)' Apply.cmm:254: illegal method definition, missing `{' after `)' Apply.cmm:265: undefined type, found `bits32' Apply.cmm:266: undefined type, found `bits32' Apply.cmm:269: illegal external declaration, found `for' Apply.cmm:271: syntax error, found `i' Apply.cmm:271: illegal method selector, found `*' Apply.cmm:271: illegal method definition, missing `{' after `]' Apply.cmm:274: illegal external declaration, found `goto' Apply.cmm:280: illegal method definition, found `+' Apply.cmm:280: illegal method definition, missing `{' after `]' Apply.cmm:280: illegal external declaration, found `goto' Apply.cmm:280: syntax error, found `0' Apply.cmm:280: illegal method selector, found `*' Apply.cmm:280: illegal method definition, missing `{' after `)' Apply.cmm:280: illegal external declaration, found `default' cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode /Users/judah/unix/haskell/ghc-6.4pre/ghc-6.4.20050217/ghc/includes/Cmm.h:65:0: lexical error make[1]: *** [Apply.o] Error 1 make: *** [all] Error 1