Your IP : 18.117.72.244


Current Path : /opt/alt/ruby26/lib64/ruby/gems/2.6.0/extensions/x86_64-linux/2.6.0/ruby-lsapi-5.6/
Upload File :
Current File : //opt/alt/ruby26/lib64/ruby/gems/2.6.0/extensions/x86_64-linux/2.6.0/ruby-lsapi-5.6/mkmf.log

have_library: checking for -lsocket... -------------------- no

"gcc -o conftest -I/opt/alt/ruby26/include/ruby-2.6.0/x86_64-linux -I/opt/alt/ruby26/include/ruby-2.6.0/ruby/backward -I/opt/alt/ruby26/include/ruby-2.6.0 -I.    -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection conftest.c  -L. -L/opt/alt/ruby26/lib64 -Wl,-rpath,/opt/alt/ruby26/lib64 -L. -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic  -m64   -Wl,-rpath,/opt/alt/ruby26/lib64 -L/opt/alt/ruby26/lib64 -lruby  -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/opt/alt/ruby26/include/ruby-2.6.0/x86_64-linux -I/opt/alt/ruby26/include/ruby-2.6.0/ruby/backward -I/opt/alt/ruby26/include/ruby-2.6.0 -I.    -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection conftest.c  -L. -L/opt/alt/ruby26/lib64 -Wl,-rpath,/opt/alt/ruby26/lib64 -L. -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic  -m64   -Wl,-rpath,/opt/alt/ruby26/lib64 -L/opt/alt/ruby26/lib64 -lruby -lsocket  -lm   -lc"
/usr/bin/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return 0;
13: }
14: 
15: int t(void) { ; return 0; }
/* end */

--------------------


?>