Created
April 25, 2016 14:20
-
-
Save gacha/ad70623939bb94cfb441f70353af4538 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"gcc -o conftest -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main(int argc, char **argv) | |
4: { | |
5: return 0; | |
6: } | |
/* end */ | |
"gcc -o conftest -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() { return 0; } | |
/* end */ | |
./conftest | |
"gcc -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -c conftest.c" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: #ifndef __GNUC__ | |
5: # error | |
6: |:/ === __GNUC__ undefined === /:| | |
7: #endif | |
/* end */ | |
"gcc -o conftest -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() { return sizeof(long) == 8 ? 0 : 1; } | |
/* end */ | |
./conftest | |
have_header: checking for sys/types.h... -------------------- yes | |
"gcc -E -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <sys/types.h> | |
/* end */ | |
-------------------- | |
have_func: checking for OCIEnvCreate() in oci.h... -------------------- yes | |
"gcc -o conftest -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -I/opt/oracle/instantclient_12_1/sdk/include conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/usr/local/lib -L/opt/oracle/instantclient_12_1 -Wl,-rpath,/opt/oracle/instantclient_12_1 -lclntsh -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -L/usr/local/lib -L/opt/oracle/instantclient_12_1 -Wl,-rpath,/opt/oracle/instantclient_12_1 -lclntsh -lpthread -lrt -ldl -lcrypt -lm -lc" | |
conftest.c: In function 't': | |
conftest.c:7:32: warning: variable 'p' set but not used [-Wunused-but-set-variable] | |
int t(void) { void ((*volatile p)()); p = (void ((*)()))OCIEnvCreate; return 0; } | |
^ | |
/usr/bin/ld: warning: libaio.so.1, needed by /opt/oracle/instantclient_12_1/libclntsh.so, not found (try using -rpath or -rpath-link) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <oci.h> | |
4: | |
5: /*top*/ | |
6: extern int t(void); | |
7: int t(void) { void ((*volatile p)()); p = (void ((*)()))OCIEnvCreate; return 0; } | |
8: int main(int argc, char **argv) | |
9: { | |
10: if (argc > 1000000) { | |
11: printf("%p", &t); | |
12: } | |
13: | |
14: return 0; | |
15: } | |
/* end */ | |
-------------------- | |
"gcc -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -I/opt/oracle/instantclient_12_1/sdk/include -c conftest.c" | |
conftest.c:6:5: error: size of array 'conftest_const' is negative | |
int conftest_const[(OCI_MAJOR_VERSION < 0) ? 1 : -1]; | |
^ | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <oci.h> | |
4: | |
5: /*top*/ | |
6: int conftest_const[(OCI_MAJOR_VERSION < 0) ? 1 : -1]; | |
/* end */ | |
"gcc -o conftest -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -I/opt/oracle/instantclient_12_1/sdk/include conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <oci.h> | |
4: | |
5: #include <stdio.h> | |
6: /*top*/ | |
7: typedef unsigned | |
8: #ifdef PRI_LL_PREFIX | |
9: #define PRI_CONFTEST_PREFIX PRI_LL_PREFIX | |
10: LONG_LONG | |
11: #else | |
12: #define PRI_CONFTEST_PREFIX "l" | |
13: long | |
14: #endif | |
15: conftest_type; | |
16: conftest_type conftest_const = (conftest_type)(OCI_MAJOR_VERSION); | |
17: int main() {printf("%"PRI_CONFTEST_PREFIX"u\n", conftest_const); return 0;} | |
/* end */ | |
./conftest | | |
"gcc -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -I/opt/oracle/instantclient_12_1/sdk/include -c conftest.c" | |
conftest.c:6:5: error: size of array 'conftest_const' is negative | |
int conftest_const[(OCI_MINOR_VERSION < 0) ? 1 : -1]; | |
^ | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <oci.h> | |
4: | |
5: /*top*/ | |
6: int conftest_const[(OCI_MINOR_VERSION < 0) ? 1 : -1]; | |
/* end */ | |
"gcc -o conftest -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -I/opt/oracle/instantclient_12_1/sdk/include conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <oci.h> | |
4: | |
5: #include <stdio.h> | |
6: /*top*/ | |
7: typedef unsigned | |
8: #ifdef PRI_LL_PREFIX | |
9: #define PRI_CONFTEST_PREFIX PRI_LL_PREFIX | |
10: LONG_LONG | |
11: #else | |
12: #define PRI_CONFTEST_PREFIX "l" | |
13: long | |
14: #endif | |
15: conftest_type; | |
16: conftest_type conftest_const = (conftest_type)(OCI_MINOR_VERSION); | |
17: int main() {printf("%"PRI_CONFTEST_PREFIX"u\n", conftest_const); return 0;} | |
/* end */ | |
./conftest | | |
"gcc -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -I/opt/oracle/instantclient_12_1/sdk/include -c conftest.c" | |
conftest.c:6:5: error: size of array 'conftest_const' is negative | |
int conftest_const[(OCI_MAJOR_VERSION < 0) ? 1 : -1]; | |
^ | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <oci.h> | |
4: | |
5: /*top*/ | |
6: int conftest_const[(OCI_MAJOR_VERSION < 0) ? 1 : -1]; | |
/* end */ | |
"gcc -o conftest -I/usr/local/include/ruby-2.0.0/x86_64-linux -I/usr/local/include/ruby-2.0.0/ruby/backward -I/usr/local/include/ruby-2.0.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -I/opt/oracle/instantclient_12_1/sdk/include conftest.c -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -L/opt/oracle/instantclient_12_1 -Wl,-rpath,/opt/oracle/instantclient_12_1 -lclntsh -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc" | |
/usr/bin/ld: warning: libaio.so.1, needed by /opt/oracle/instantclient_12_1/libclntsh.so, not found (try using -rpath or -rpath-link) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <oci.h> | |
4: | |
5: #include <stdio.h> | |
6: /*top*/ | |
7: typedef unsigned | |
8: #ifdef PRI_LL_PREFIX | |
9: #define PRI_CONFTEST_PREFIX PRI_LL_PREFIX | |
10: LONG_LONG | |
11: #else | |
12: #define PRI_CONFTEST_PREFIX "l" | |
13: long | |
14: #endif | |
15: conftest_type; | |
16: conftest_type conftest_const = (conftest_type)(OCI_MAJOR_VERSION); | |
17: int main() {printf("%"PRI_CONFTEST_PREFIX"u\n", conftest_const); return 0;} | |
/* end */ | |
./conftest | | |
./conftest: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment