On Solaris 7/SPARC with cc: Build failure. CC stat.o "stat.c", line 623: invalid type combination cc: acomp failed for stat.c *** Error code 2
It's a declaration-after-statement problem: Inserting an opening brace in line 623 and a closing brace at the end of the function fixes the problem. This compiler has not complained about the other declaration-after-statement occurrences (in fts.c, earlier in stat.c, and other source files), just about this one. Other than that, "make" works fine, and "make check" sees 2 failing tests: 1) tty-eof: this script requires Perl's Expect package >=1.11 FAIL: misc/tty-eof The error message sounds as if that should be a SKIP, not a FAIL, no? $ perl --version This is perl, v5.8.8 built for sun4-solaris-thread-multi 2) FAIL: mv/i-3 The test-suite.log says: FAIL: mv/i-3 (exit: 1) ====================== cat: out: No such file or directory kill: 1000: no such process This one is hard to debug: $ gmake check TESTS=mv/i-3 fails but $ gmake check TESTS=mv/i-3 VERBOSE=yes succeeds! Bruno -- In memoriam Engin Ceber <http://en.wikipedia.org/wiki/Engin_Ceber>