1 | configure:/usr/bin/gcc-4.2 -DMPID_NO_FORTRAN -O2 -arch x86_64 -DUSE_SOCKLEN_T conftest.c -o conftest |
---|
2 | configure: failed program was: |
---|
3 | |
---|
4 | #define MPE_USE_EXTENSIONS 1 |
---|
5 | #define HAVE_PROTOTYPES 1 |
---|
6 | #define HAS_VOLATILE 1 |
---|
7 | #define HAVE_MPICH_MPID_H 1 |
---|
8 | #include "confdefs.h" |
---|
9 | #include <ctype.h> |
---|
10 | int main() { exit(0); } |
---|
11 | int t() { |
---|
12 | /* The GNU C library defines this for functions which it implements |
---|
13 | to always fail with ENOSYS. Some functions are actually named |
---|
14 | something starting with __ and the normal name is an alias. */ |
---|
15 | #if defined (__stub_gethrtime) || defined (__stub___gethrtime) |
---|
16 | choke me |
---|
17 | #else |
---|
18 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
19 | extern char gethrtime(); gethrtime(); |
---|
20 | #endif |
---|
21 | } |
---|
22 | conftest.c: In function 'main': |
---|
23 | conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit' |
---|
24 | Undefined symbols: |
---|
25 | "_gethrtime", referenced from: |
---|
26 | _t in ccYkcgEG.o |
---|
27 | ld: symbol(s) not found |
---|
28 | collect2: ld returned 1 exit status |
---|
29 | configure:/usr/bin/gcc-4.2 -DMPID_NO_FORTRAN -O2 -arch x86_64 -DUSE_SOCKLEN_T conftest.c -o conftest |
---|
30 | configure: failed program was: |
---|
31 | |
---|
32 | #define MPE_USE_EXTENSIONS 1 |
---|
33 | #define HAVE_PROTOTYPES 1 |
---|
34 | #define HAS_VOLATILE 1 |
---|
35 | #define HAVE_MPICH_MPID_H 1 |
---|
36 | #include "confdefs.h" |
---|
37 | #include <ctype.h> |
---|
38 | int main() { exit(0); } |
---|
39 | int t() { |
---|
40 | /* The GNU C library defines this for functions which it implements |
---|
41 | to always fail with ENOSYS. Some functions are actually named |
---|
42 | something starting with __ and the normal name is an alias. */ |
---|
43 | #if defined (__stub_clock_gettime) || defined (__stub___clock_gettime) |
---|
44 | choke me |
---|
45 | #else |
---|
46 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
47 | extern char clock_gettime(); clock_gettime(); |
---|
48 | #endif |
---|
49 | } |
---|
50 | conftest.c: In function 'main': |
---|
51 | conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit' |
---|
52 | Undefined symbols: |
---|
53 | "_clock_gettime", referenced from: |
---|
54 | _t in ccUs2RJ3.o |
---|
55 | ld: symbol(s) not found |
---|
56 | collect2: ld returned 1 exit status |
---|
57 | configure:/usr/bin/gcc-4.2 -DMPID_NO_FORTRAN -O2 -arch x86_64 -DUSE_SOCKLEN_T conftest.c -o conftest |
---|
58 | configure: failed program was: |
---|
59 | |
---|
60 | #define MPE_USE_EXTENSIONS 1 |
---|
61 | #define HAVE_PROTOTYPES 1 |
---|
62 | #define HAS_VOLATILE 1 |
---|
63 | #define HAVE_MPICH_MPID_H 1 |
---|
64 | #include "confdefs.h" |
---|
65 | #include <ctype.h> |
---|
66 | int main() { exit(0); } |
---|
67 | int t() { |
---|
68 | /* The GNU C library defines this for functions which it implements |
---|
69 | to always fail with ENOSYS. Some functions are actually named |
---|
70 | something starting with __ and the normal name is an alias. */ |
---|
71 | #if defined (__stub_clock_gettime) || defined (__stub___clock_gettime) |
---|
72 | choke me |
---|
73 | #else |
---|
74 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
75 | extern char clock_gettime(); clock_gettime(); |
---|
76 | #endif |
---|
77 | } |
---|
78 | conftest.c: In function 'main': |
---|
79 | conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit' |
---|
80 | Undefined symbols: |
---|
81 | "_clock_gettime", referenced from: |
---|
82 | _t in cceId3y1.o |
---|
83 | ld: symbol(s) not found |
---|
84 | collect2: ld returned 1 exit status |
---|
85 | configure:/usr/bin/gcc-4.2 -DMPID_NO_FORTRAN -O2 -arch x86_64 -DUSE_SOCKLEN_T conftest.c -o conftest |
---|
86 | configure: failed program was: |
---|
87 | |
---|
88 | #define MPE_USE_EXTENSIONS 1 |
---|
89 | #define HAVE_PROTOTYPES 1 |
---|
90 | #define HAS_VOLATILE 1 |
---|
91 | #define HAVE_MPICH_MPID_H 1 |
---|
92 | #include "confdefs.h" |
---|
93 | #include <ctype.h> |
---|
94 | int main() { exit(0); } |
---|
95 | int t() { |
---|
96 | /* The GNU C library defines this for functions which it implements |
---|
97 | to always fail with ENOSYS. Some functions are actually named |
---|
98 | something starting with __ and the normal name is an alias. */ |
---|
99 | #if defined (__stub_clock_getres) || defined (__stub___clock_getres) |
---|
100 | choke me |
---|
101 | #else |
---|
102 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
103 | extern char clock_getres(); clock_getres(); |
---|
104 | #endif |
---|
105 | } |
---|
106 | conftest.c: In function 'main': |
---|
107 | conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit' |
---|
108 | Undefined symbols: |
---|
109 | "_clock_getres", referenced from: |
---|
110 | _t in ccJWNEuV.o |
---|
111 | ld: symbol(s) not found |
---|
112 | collect2: ld returned 1 exit status |
---|
113 | configure:/usr/bin/gcc-4.2 -DMPID_NO_FORTRAN -O2 -arch x86_64 -DUSE_SOCKLEN_T conftest.c -o conftest |
---|
114 | configure: failed program was: |
---|
115 | |
---|
116 | #define MPE_USE_EXTENSIONS 1 |
---|
117 | #define HAVE_PROTOTYPES 1 |
---|
118 | #define HAS_VOLATILE 1 |
---|
119 | #define HAVE_MPICH_MPID_H 1 |
---|
120 | #include "confdefs.h" |
---|
121 | #include <ctype.h> |
---|
122 | int main() { exit(0); } |
---|
123 | int t() { |
---|
124 | /* The GNU C library defines this for functions which it implements |
---|
125 | to always fail with ENOSYS. Some functions are actually named |
---|
126 | something starting with __ and the normal name is an alias. */ |
---|
127 | #if defined (__stub_clock_getres) || defined (__stub___clock_getres) |
---|
128 | choke me |
---|
129 | #else |
---|
130 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
131 | extern char clock_getres(); clock_getres(); |
---|
132 | #endif |
---|
133 | } |
---|
134 | conftest.c: In function 'main': |
---|
135 | conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit' |
---|
136 | Undefined symbols: |
---|
137 | "_clock_getres", referenced from: |
---|
138 | _t in cclirelj.o |
---|
139 | ld: symbol(s) not found |
---|
140 | collect2: ld returned 1 exit status |
---|
141 | ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >conftest.out 2>&1 |
---|
142 | Failed program was |
---|
143 | #include "confdefs.h" |
---|
144 | |
---|
145 | extern int PFoo(int a); |
---|
146 | #pragma weak PFoo = Foo |
---|
147 | int Foo(a) { return a; } |
---|
148 | |
---|
149 | int main() { return 0; } |
---|
150 | int t() { |
---|
151 | return PFoo(1); |
---|
152 | ; return 0; } |
---|
153 | conftest.c:10: warning: alias definitions not supported in Mach-O; ignored |
---|
154 | Undefined symbols: |
---|
155 | "_PFoo", referenced from: |
---|
156 | _t in cc6WNYBy.o |
---|
157 | ld: symbol(s) not found |
---|
158 | collect2: ld returned 1 exit status |
---|
159 | ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >conftest.out 2>&1 |
---|
160 | Failed program was |
---|
161 | #include "confdefs.h" |
---|
162 | |
---|
163 | #pragma _HP_SECONDARY_DEF Foo PFoo |
---|
164 | int Foo(a) { return a; } |
---|
165 | |
---|
166 | int main() { return 0; } |
---|
167 | int t() { |
---|
168 | return PFoo(1); |
---|
169 | ; return 0; } |
---|
170 | Undefined symbols: |
---|
171 | "_PFoo", referenced from: |
---|
172 | _t in ccKwCH9W.o |
---|
173 | ld: symbol(s) not found |
---|
174 | collect2: ld returned 1 exit status |
---|
175 | ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >conftest.out 2>&1 |
---|
176 | Failed program was |
---|
177 | #include "confdefs.h" |
---|
178 | |
---|
179 | #pragma _CRI duplicate PFoo as Foo |
---|
180 | int Foo(a) { return a; } |
---|
181 | |
---|
182 | int main() { return 0; } |
---|
183 | int t() { |
---|
184 | return PFoo(1); |
---|
185 | ; return 0; } |
---|
186 | Undefined symbols: |
---|
187 | "_PFoo", referenced from: |
---|
188 | _t in ccVEWmvV.o |
---|
189 | ld: symbol(s) not found |
---|
190 | collect2: ld returned 1 exit status |
---|
191 | #include "confdefs.h" |
---|
192 | #include <stdio.h> |
---|
193 | #include <stdarg.h> |
---|
194 | int func( int a, ... ){ |
---|
195 | int b; |
---|
196 | va_list ap; |
---|
197 | va_start( ap ); |
---|
198 | b = va_arg(ap, int); |
---|
199 | printf( "%d-%d\n", a, b ); |
---|
200 | va_end(ap); |
---|
201 | fflush(stdout); |
---|
202 | return 0; |
---|
203 | } |
---|
204 | int main() { func( 1, 2 ); return 0;} |
---|
205 | conftest.c:7:14: error: macro "va_start" requires 2 arguments, but only 1 given |
---|
206 | conftest.c: In function 'func': |
---|
207 | conftest.c:7: error: 'va_start' undeclared (first use in this function) |
---|
208 | conftest.c:7: error: (Each undeclared identifier is reported only once |
---|
209 | conftest.c:7: error: for each function it appears in.) |
---|
210 | /usr/bin/gcc-4.2 -DMPID_NO_FORTRAN -O2 -arch x86_64 -DUSE_SOCKLEN_T ... test for quotes in defn |
---|
211 | /usr/bin/gcc-4.2 -DMPID_NO_FORTRAN -O2 -arch x86_64 -DUSE_SOCKLEN_T -L/opt/local/lib -arch x86_64 conftest.o -o conftest foo.a |
---|