/bin/sh のバッティング
/bin/sh: -c: line 3: syntax error: unexpected end of file make[2]: *** [arch-libs] Error 258 make[2]: Target `libs' not remade because of errors. make[1]: *** [dir_syscall] Error 2 /bin/sh: -c: line 3: syntax error: unexpected end of file make[2]: *** [dir_arch] Error 258 /bin/sh: -c: line 3: syntax error: unexpected end of file make[2]: *** [dir_sys] Error 258 /bin/sh: -c: line 3: syntax error: unexpected end of file make[2]: *** [dir_ipc] Error 258 make[2]: Target `all' not remade because of errors. make[1]: *** [dir_src] Error 2
/bin/sh のバッティングが原因だった。私の場合は netberner をインストールしたら msys と sh がインストールされた上に PATH まで設定されてしまっていた。そのため、/bin/sh が neberner の msys をさしていた。nebberner を一時的にはずすとうまくコンパイルで来た。