GNU autotoolsを使用してCで作成したプログラムを作成しようとしていますが、configure
実行すると吐き出されるため、設定が間違っているようです。
configure: error: C compiler cannot create executables
調べてみるとconfig.log
、次のようになります。
configure:2846: checking for C compiler default output file name
configure:2868: gcc conftest.c >&5
conftest.c:3:25: warning: missing terminating " character
conftest.c:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "Jackoff"
| #define PACKAGE_TARNAME "jackoff
| http://github.com/enaeseth/jackoff"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "Jackoff 0.1"
| #define PACKAGE_BUGREPORT "Eric Naeseth <enaeseth@gmail.com>"
| #define PACKAGE "jackoff
| http://github.com/enaeseth/jackoff"
| #define VERSION "0.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
何らかの理由で、autoconfは無効なテストファイルを生成しています:セミコロンとして表示されるその行には何が必要ですか?ビルドはUbuntu9.04とMacOSX 10.6でも同じように失敗するので、これは間違いなく私のせいであり、環境のせいではありません。