* installing to library ‘/home/ripley/R/Lib32’
* installing *source* package ‘medSTC’ ...
** package ‘medSTC’ successfully unpacked and MD5 sums checked
** libs
mksh: Warning: newline is not last character in file Makevars
Current working directory /tmp/Rtmp34aGwR/R.INSTALL56b4494752d3/medSTC/src
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c medstc/cokus.cpp -o medstc/cokus.o
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c medstc/lbfgscpp.cpp -o medstc/lbfgscpp.o
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c medstc/medstc.cpp -o medstc/medstc.o
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c medstc/utils.cpp -o medstc/utils.o
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c medstc/corpus.cpp -o medstc/corpus.o
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c medstc/main.cpp -o medstc/main.o
medstc/main.cpp: In function ‘SEXPREC* medSTCTrain(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
medstc/main.cpp:221:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    model.train("random", dir, c, &param);
                                        ^
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c medstc/params.cpp -o medstc/params.o
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c svm_multiclass/svm_struct_api.cpp -o svm_multiclass/svm_struct_api.o
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c svm_multiclass/svm_struct_common.cpp -o svm_multiclass/svm_struct_common.o
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c svm_multiclass/svm_struct_learn.cpp -o svm_multiclass/svm_struct_learn.o
svm_multiclass/svm_struct_learn.cpp: In function ‘void svm_learn_struct_joint(SAMPLE, STRUCT_LEARN_PARM*, LEARN_PARM*, KERNEL_PARM*, STRUCTMODEL*, int)’:
svm_multiclass/svm_struct_learn.cpp:642:48: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
       print_percent_progress(&progress,n,10,".");
                                                ^
svm_multiclass/svm_struct_learn.cpp: In function ‘void svm_learn_struct_joint(SAMPLE, STRUCT_LEARN_PARM*, LEARN_PARM*, KERNEL_PARM*, STRUCTMODEL*, int, double*, const int&)’:
svm_multiclass/svm_struct_learn.cpp:1091:48: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
       print_percent_progress(&progress,n,10,".");
                                                ^
svm_multiclass/svm_struct_learn.cpp: In function ‘void update_constraint_cache_for_model(CCACHE*, MODEL*)’:
svm_multiclass/svm_struct_learn.cpp:1627:53: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
    print_percent_progress(&progress,ccache->n,10,"+");
                                                     ^
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c svmlight/svm_common.cpp -o svmlight/svm_common.o
/opt/csw//bin/g++ -m32 -I/home/ripley/R/gcc/include -DNDEBUG -I. -I/opt/csw/include -I/usr/local/include    -fPIC  -O2  -c svmlight/svm_hideo.cpp -o svmlight/svm_hideo.o
svmlight/svm_hideo.cpp: In function ‘double* optimize_qp(QP*, double*, long int, double*, LEARN_PARM*)’:
svmlight/svm_hideo.cpp:204:74: error: ‘isnan’ was not declared in this scope
   if((qp->opt_m>0) && (result != NAN_SOLUTION) && (!isnan(dual[1]-dual[0])))
                                                                          ^
svmlight/svm_hideo.cpp:204:74: note: suggested alternative:
In file included from /home/ripley/R/gcc/include/R.h:43:0,
                 from svmlight/svm_hideo.cpp:21:
/opt/csw/include/c++/5.2.0/cmath:837:5: note:   ‘std::isnan’
     isnan(_Tp __f)
     ^
svmlight/svm_hideo.cpp: In function ‘int solve_dual(long int, long int, double, double, long int, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, double*, long int)’:
svmlight/svm_hideo.cpp:910:20: error: ‘isnan’ was not declared in this scope
  if(isnan(isnantest)) {
                    ^
svmlight/svm_hideo.cpp:910:20: note: suggested alternative:
In file included from /home/ripley/R/gcc/include/R.h:43:0,
                 from svmlight/svm_hideo.cpp:21:
/opt/csw/include/c++/5.2.0/cmath:837:5: note:   ‘std::isnan’
     isnan(_Tp __f)
     ^
*** Error code 1
make: Fatal error: Command failed for target `svmlight/svm_hideo.o'
Current working directory /tmp/Rtmp34aGwR/R.INSTALL56b4494752d3/medSTC/src
ERROR: compilation failed for package ‘medSTC’
* removing ‘/home/ripley/R/Lib32/medSTC’

real        9.6
user        8.2
sys         0.8