Sindbad~EG File Manager

Current Path : /opt/alt/ruby18/lib64/ruby/gems/1.8/gems/ruby-lsapi-5.6/ext/lsapi/
Upload File :
Current File : //opt/alt/ruby18/lib64/ruby/gems/1.8/gems/ruby-lsapi-5.6/ext/lsapi/mkmf.log

have_library: checking for main() in -lsocket... -------------------- no

"gcc -o conftest -I. -I/opt/alt/ruby18/lib64/ruby/1.8/x86_64-linux -I.    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic conftest.c  -L. -L/opt/alt/ruby18/lib64 -Wl,-R/opt/alt/ruby18/lib64 -L. -Wl,-z,relro  -rdynamic -Wl,-export-dynamic     -lruby-static -lsocket  -lpthread -lrt -ldl -lcrypt -lm   -lc"
conftest.c: In function 't':
conftest.c:3:28: warning: variable 'p' set but not used [-Wunused-but-set-variable]
 int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
                            ^
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"gcc -o conftest -I. -I/opt/alt/ruby18/lib64/ruby/1.8/x86_64-linux -I.    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic conftest.c  -L. -L/opt/alt/ruby18/lib64 -Wl,-R/opt/alt/ruby18/lib64 -L. -Wl,-z,relro  -rdynamic -Wl,-export-dynamic     -lruby-static -lsocket  -lpthread -lrt -ldl -lcrypt -lm   -lc"
/opt/rh/devtoolset-6/root/usr/libexec/gcc/x86_64-redhat-linux/6.3.1/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { main(); return 0; }
/* end */

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


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists