Tag: configure

Autoconf问题:“错误:C编译器无法创建可执行文件”

我正在尝试使用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” | […]