* installing to library ‘/home/ripley/R/Lib32’
* installing *source* package ‘cghseg’ ...
** package ‘cghseg’ successfully unpacked and MD5 sums checked
** libs
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include -xopenmp -KPIC -O -xlibmieee -xlibmil -xtarget=native -nofstore -c ApproxSeg.c -o ApproxSeg.o
"ApproxSeg.h", line 3: warning: division by 0
cc -xc99 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include -xopenmp -KPIC -O -xlibmieee -xlibmil -xtarget=native -nofstore -c ApproxSeg_2.c -o ApproxSeg_2.o
"ApproxSeg.h", line 3: warning: division by 0
CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include -xopenmp -KPIC -O -xlibmil -xtarget=native -nofstore -c EM_algo.cc -o EM_algo.o
"EM_algo.h", line 22: Error: A declaration does not specify a tag or an identifier.
"EM_algo.h", line 22: Error: Use ";" to terminate declarations.
"EM_algo.h", line 22: Error: "}" expected instead of "0x00000010".
"EM_algo.h", line 22: Error: Use ";" to terminate declarations.
"EM_algo.h", line 22: Error: A declaration was expected instead of "0x00000010".
"EM_algo.h", line 35: Error: No direct declarator preceding "(".
"EM_algo.h", line 40: Error: "friend" is not allowed here.
"EM_algo.h", line 41: Error: Illegal number of arguments for cghseg::~cghseg().
"EM_algo.h", line 41: Warning: Implicit int is not supported in C++.
"EM_algo.h", line 43: Error: A declaration was expected instead of "}".
"EM_algo.cc", line 16: Error: Estep() is not a member of cghseg::EM_algo.
"EM_algo.cc", line 18: Error: Overloading ambiguity between "std::acos(double)" and "std::acos(float)".
"EM_algo.cc", line 62: Error: Mstep() is not a member of cghseg::EM_algo.
"EM_algo.cc", line 113: Error: EM() is not a member of cghseg::EM_algo.
"EM_algo.cc", line 173: Error: Init(double*, double*, int*) is not a member of cghseg::EM_algo.
"EM_algo.cc", line 201: Error: cghseg::EM_algo::EM_algo(int, int, int, bool) is not a member of cghseg::EM_algo.
"EM_algo.cc", line 204: Error: The left operand cannot be assigned to.
"EM_algo.cc", line 246: Error: cghseg::EM_algo::~EM_algo() is not a member of cghseg::EM_algo.
"EM_algo.cc", line 286: Error: Cannot use bool to initialize cghseg::EM_algo.
"EM_algo.cc", line 287: Error: Init is not a member of cghseg::EM_algo.
"EM_algo.cc", line 288: Error: EM is not a member of cghseg::EM_algo.
"EM_algo.cc", line 294: Error: _tau is not a member of cghseg::EM_algo.
"EM_algo.cc", line 298: Error: _phi is not a member of cghseg::EM_algo.
"EM_algo.cc", line 300: Error: _lvinc is not a member of cghseg::EM_algo.
"EM_algo.cc", line 301: Error: _dv is not a member of cghseg::EM_algo.
"EM_algo.cc", line 302: Error: _empty is not a member of cghseg::EM_algo.
Compilation aborted, too many Error messages.
*** Error code 2
make: Fatal error: Command failed for target `EM_algo.o'
Current working directory /tmp/RtmpOYaGGX/R.INSTALL63046a4109f/cghseg/src
CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -I/usr/local/include -xopenmp -KPIC -O -xlibmil -xtarget=native -nofstore -c EM_algo.cc -o EM_algo.o
"EM_algo.h", line 22: Error: A declaration does not specify a tag or an identifier.
"EM_algo.h", line 22: Error: Use ";" to terminate declarations.
"EM_algo.h", line 22: Error: "}" expected instead of "0x00000010".
"EM_algo.h", line 22: Error: Use ";" to terminate declarations.
"EM_algo.h", line 22: Error: A declaration was expected instead of "0x00000010".
"EM_algo.h", line 35: Error: No direct declarator preceding "(".
"EM_algo.h", line 40: Error: "friend" is not allowed here.
"EM_algo.h", line 41: Error: Illegal number of arguments for cghseg::~cghseg().
"EM_algo.h", line 41: Warning: Implicit int is not supported in C++.
"EM_algo.h", line 43: Error: A declaration was expected instead of "}".
"EM_algo.cc", line 16: Error: Estep() is not a member of cghseg::EM_algo.
"EM_algo.cc", line 18: Error: Overloading ambiguity between "std::acos(double)" and "std::acos(float)".
"EM_algo.cc", line 62: Error: Mstep() is not a member of cghseg::EM_algo.
"EM_algo.cc", line 113: Error: EM() is not a member of cghseg::EM_algo.
"EM_algo.cc", line 173: Error: Init(double*, double*, int*) is not a member of cghseg::EM_algo.
"EM_algo.cc", line 201: Error: cghseg::EM_algo::EM_algo(int, int, int, bool) is not a member of cghseg::EM_algo.
"EM_algo.cc", line 204: Error: The left operand cannot be assigned to.
"EM_algo.cc", line 246: Error: cghseg::EM_algo::~EM_algo() is not a member of cghseg::EM_algo.
"EM_algo.cc", line 286: Error: Cannot use bool to initialize cghseg::EM_algo.
"EM_algo.cc", line 287: Error: Init is not a member of cghseg::EM_algo.
"EM_algo.cc", line 288: Error: EM is not a member of cghseg::EM_algo.
"EM_algo.cc", line 294: Error: _tau is not a member of cghseg::EM_algo.
"EM_algo.cc", line 298: Error: _phi is not a member of cghseg::EM_algo.
"EM_algo.cc", line 300: Error: _lvinc is not a member of cghseg::EM_algo.
"EM_algo.cc", line 301: Error: _dv is not a member of cghseg::EM_algo.
"EM_algo.cc", line 302: Error: _empty is not a member of cghseg::EM_algo.
Compilation aborted, too many Error messages.
*** Error code 2
make: Fatal error: Command failed for target `EM_algo.o'
Current working directory /tmp/RtmpOYaGGX/R.INSTALL63046a4109f/cghseg/src
ERROR: compilation failed for package ‘cghseg’
* removing ‘/home/ripley/R/Lib32/cghseg’
real 2.5
user 1.6
sys 0.4