configure:icc conftest.c -o conftest configure: failed program was: #define MPE_USE_EXTENSIONS 1 #include "confdefs.h" int f(double a){return 0;} int main() { exit(0); } int t() { } ./configure: line 4423: icc: command not found configure:gcc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR conftest.c -o conftest configure: failed program was: #define MPE_USE_EXTENSIONS 1 #define HAS_VOLATILE 1 #define HAVE_MPICH_MPID_H 1 #include "confdefs.h" #include int main() { exit(0); } int t() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_gethrtime) || defined (__stub___gethrtime) choke me #else /* Override any gcc2 internal prototype to avoid an error. */ extern char gethrtime(); gethrtime(); #endif } conftest.c: In function 'main': conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit' /tmp/cckr7yHh.o: In function `t': conftest.c:(.text+0x18): undefined reference to `gethrtime' collect2: ld returned 1 exit status configure:gcc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR conftest.c -o conftest configure: failed program was: #define MPE_USE_EXTENSIONS 1 #define HAS_VOLATILE 1 #define HAVE_MPICH_MPID_H 1 #include "confdefs.h" #include int main() { exit(0); } int t() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_clock_gettime) || defined (__stub___clock_gettime) choke me #else /* Override any gcc2 internal prototype to avoid an error. */ extern char clock_gettime(); clock_gettime(); #endif } conftest.c: In function 'main': conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit' /tmp/cc4PBFxv.o: In function `t': conftest.c:(.text+0x18): undefined reference to `clock_gettime' collect2: ld returned 1 exit status configure:gcc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR conftest.c -o conftest configure: failed program was: #define MPE_USE_EXTENSIONS 1 #define HAS_VOLATILE 1 #define HAVE_MPICH_MPID_H 1 #include "confdefs.h" #include int main() { exit(0); } int t() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_clock_gettime) || defined (__stub___clock_gettime) choke me #else /* Override any gcc2 internal prototype to avoid an error. */ extern char clock_gettime(); clock_gettime(); #endif } conftest.c: In function 'main': conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit' /tmp/cciVVNhy.o: In function `t': conftest.c:(.text+0x18): undefined reference to `clock_gettime' collect2: ld returned 1 exit status configure:gcc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR conftest.c -o conftest configure: failed program was: #define MPE_USE_EXTENSIONS 1 #define HAS_VOLATILE 1 #define HAVE_MPICH_MPID_H 1 #include "confdefs.h" #include int main() { exit(0); } int t() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_clock_getres) || defined (__stub___clock_getres) choke me #else /* Override any gcc2 internal prototype to avoid an error. */ extern char clock_getres(); clock_getres(); #endif } conftest.c: In function 'main': conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit' /tmp/ccYLvC6G.o: In function `t': conftest.c:(.text+0x18): undefined reference to `clock_getres' collect2: ld returned 1 exit status configure:gcc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR conftest.c -o conftest configure: failed program was: #define MPE_USE_EXTENSIONS 1 #define HAS_VOLATILE 1 #define HAVE_MPICH_MPID_H 1 #include "confdefs.h" #include int main() { exit(0); } int t() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_clock_getres) || defined (__stub___clock_getres) choke me #else /* Override any gcc2 internal prototype to avoid an error. */ extern char clock_getres(); clock_getres(); #endif } conftest.c: In function 'main': conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit' /tmp/ccumXqDO.o: In function `t': conftest.c:(.text+0x18): undefined reference to `clock_getres' collect2: ld returned 1 exit status /opt/intel/Compiler/11.1/046/bin/intel64/fortcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory ifort: error #10273: Fatal error in /opt/intel/Compiler/11.1/046/bin/intel64/fortcom, terminated by 0x7f ifort -o conftest conftest.f conftest1.o Error linking program main end ./configure: line 11505: icpc: command not found icpc -o conftest conftest.cc conftest1.o Error linking int main() { return 0; } #include "confdefs.h" #include #include int func( int a, ... ){ int b; va_list ap; va_start( ap ); b = va_arg(ap, int); printf( "%d-%d\n", a, b ); va_end(ap); fflush(stdout); return 0; } int main() { func( 1, 2 ); return 0;} conftest.c:7:14: error: macro "va_start" requires 2 arguments, but only 1 given conftest.c: In function 'func': conftest.c:7: error: 'va_start' undeclared (first use in this function) conftest.c:7: error: (Each undeclared identifier is reported only once conftest.c:7: error: for each function it appears in.) configure:gcc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR conftest.c -o conftest configure: failed program was: #define MPE_USE_EXTENSIONS 1 #define HAS_VOLATILE 1 #define HAVE_MPICH_MPID_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_SIGACTION 1 #define HAVE_PRAGMA_WEAK 1 #define HAVE_WEAK_SYMBOLS 1 #define HAS_XDR 1 #define HAVE_UNAME 1 #define HAVE_NETDB_H 1 #define HAVE_GETHOSTBYNAME 1 #define MPID_NO_FORTRAN 1 #define HAVE_CATOPEN 1 #define HAVE_CATCLOSE 1 #define HAVE_CATGETS 1 #define HAVE_GENCAT 1 #define HAVE_NL_TYPES_H 1 #define STDC_HEADERS 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDARG_H 1 #define USE_STDARG 1 #define MALLOC_RET_VOID 1 #define HAVE_SYSTEM 1 #define HAVE_NICE 1 #define HAVE_STRDUP 1 #define HAVE_MEMORY_H 1 #define HAVE_SYS_IOCTL_H 1 #include "confdefs.h" #include int main() { exit(0); } int t() { main(); } conftest.c:3:24: error: sys/sockio.h: No such file or directory conftest.c: In function 'main': conftest.c:4: warning: incompatible implicit declaration of built-in function 'exit' gcc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR ... test for quotes in defn gcc -DUSE_SOCKLEN_T -DUSE_U_INT_FOR_XDR conftest.o -o conftest foo.a