Installing MixABEL on Ubuntu 16.04

Questions about ProbABEL are welcome here.
Forum rules
Please remember not to post any sensitive data on this public forum.
The first few posts of newly registered users will be moderated in order to filter out any spammers.

When get a solution to the problem you posted, please change the topic name (e.g. from "how to ..." to "[SOLVED] how to ..."). This will make it easier for the community to follow the posts yet to be attended.
ginevrab
Posts: 3
Joined: Mon Mar 23, 2015 2:48 pm

Installing MixABEL on Ubuntu 16.04

Postby ginevrab » Wed Oct 05, 2016 8:25 am

Hi all,
I have a problem with MixABEL installation.
I have already read all the related posts but none resolved my problem.
I've talked to Nicola Pirastu and he advised me to write to the forum.

1) I'm using Ubuntu 16.04 server

2) gcc compiler (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609

3) R version 3.3.0 (2016-05-03)

4) since an updated version of MixABEL is still missing on the website, I'm using the MixABEL_0.1-2.tar.gz, I had installed on the old Ubuntu server (10.04 version)
command used :
R CMD INSTALL MixABEL_NEW.tar (the file name MixABEL_NEW.tar depends on the fact that the patch (https://r-forge.r-project.org/tracker/i ... &atid=2058) to get rid of an old error was applied,upon suggestion of Nicola Pirastu)

Please find attached the log file I obained trying to install MixABEL

In practice, compilation get stopped because the stucture is a mix of C and C++ code, that new compilers do not accept anymore because could generate errors (for example declarations of the same function "abs" that conflict each other)

I'm not able to force the compiler in order to make it more "permissive" ignoring such situations.

Hoping somebody could help me to resolve this problem,
Best wishes
Ginevra

Execution:

Code: Select all

g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c AbstractMatrix.cpp -o AbstractMatrix.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c AbstractMatrix_R.cpp -o AbstractMatrix_R.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c CastUtils.cpp -o CastUtils.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c FileVector.cpp -o FileVector.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c FilteredMatrix.cpp -o FilteredMatrix.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c FilteredMatrix_R.cpp -o FilteredMatrix_R.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c Logger.cpp -o Logger.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c RealHandlerWrapper.cpp -o RealHandlerWrapper.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c ReusableFileHandle.cpp -o ReusableFileHandle.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c Transposer.cpp -o Transposer.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c convert_util.cpp -o convert_util.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c dautil.cpp -o dautil.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c exception.cpp -o exception.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c fgls.cpp -o fgls.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c fglsWrapper.cpp -o fglsWrapper.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c frutil.cpp -o frutil.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c gsl_types_extptr.cpp -o gsl_types_extptr.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c iterator.cpp -o iterator.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c iterator_functions.cpp -o iterator_functions.o
g++ -I/usr/share/R/include -DNDEBUG     -fopenmp -fpic  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c main.cpp -o main.o
/usr/lib/R/etc/Makeconf:141: recipe for target 'main.o' failed


Errors:

Code: Select all

During startup - Warning messages:
1: Setting LC_TIME failed, using "C"
2: Setting LC_MONETARY failed, using "C"
3: Setting LC_PAPER failed, using "C"
4: Setting LC_MEASUREMENT failed, using "C"
* installing to library ‘/usr/local/lib/R/site-library’
* installing *source* package ‘MixABEL’ ...
** libs
fglsWrapper.cpp: In function ‘void fglsWrapper(double*, long unsigned int, long unsigned int, double*, long unsigned int&, long unsigned int&, unsigned int, SEXPREC**)’:
fglsWrapper.cpp:348:22: warning: converting to non-pointer type ‘double’ from NULL [-Wconversion-null]
    double scorevar = NULL;      // should provide residual variance used in score test (if score used)
                      ^
In file included from /usr/share/R/include/R.h:40:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cstdlib: In function ‘long long int std::abs(long long int)’:
/usr/include/c++/5/cstdlib:174:20: error: conflicting declaration of C function ‘long long int std::abs(long long int)’
   abs(long long __x) { return __builtin_llabs (__x); }
                    ^
/usr/include/c++/5/cstdlib:166:3: note: previous declaration ‘long int std::abs(long int)’
   abs(long __i) { return __builtin_labs(__i); }
   ^
/usr/include/c++/5/cstdlib: In function ‘__int128 std::abs(__int128)’:
/usr/include/c++/5/cstdlib:179:33: error: conflicting declaration of C function ‘__int128 std::abs(__int128)’
   abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
                                 ^
/usr/include/c++/5/cstdlib:174:3: note: previous declaration ‘long long int std::abs(long long int)’
   abs(long long __x) { return __builtin_llabs (__x); }
   ^
/usr/include/c++/5/cstdlib:179:33: error: conflicting declaration of C function ‘__int128 std::abs(__int128)’
   abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
                                 ^
/usr/include/c++/5/cstdlib:166:3: note: previous declaration ‘long int std::abs(long int)’
   abs(long __i) { return __builtin_labs(__i); }
   ^
In file included from /usr/share/R/include/R.h:43:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cmath: In function ‘double std::abs(double)’:
/usr/include/c++/5/cmath:81:17: error: conflicting declaration of C function ‘double std::abs(double)’
   abs(double __x)
                 ^
In file included from /usr/share/R/include/R.h:40:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cstdlib:179:3: note: previous declaration ‘__int128 std::abs(__int128)’
   abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
   ^
In file included from /usr/share/R/include/R.h:43:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cmath:81:17: error: conflicting declaration of C function ‘double std::abs(double)’
   abs(double __x)
                 ^
In file included from /usr/share/R/include/R.h:40:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cstdlib:174:3: note: previous declaration ‘long long int std::abs(long long int)’
   abs(long long __x) { return __builtin_llabs (__x); }
   ^
In file included from /usr/share/R/include/R.h:43:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cmath:81:17: error: conflicting declaration of C function ‘double std::abs(double)’
   abs(double __x)
                 ^
In file included from /usr/share/R/include/R.h:40:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cstdlib:166:3: note: previous declaration ‘long int std::abs(long int)’
   abs(long __i) { return __builtin_labs(__i); }
   ^
In file included from /usr/share/R/include/R.h:43:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cmath: In function ‘float std::abs(float)’:
/usr/include/c++/5/cmath:87:16: error: conflicting declaration of C function ‘float std::abs(float)’
   abs(float __x)
                ^
/usr/include/c++/5/cmath:81:3: note: previous declaration ‘double std::abs(double)’
   abs(double __x)
   ^
/usr/include/c++/5/cmath:87:16: error: conflicting declaration of C function ‘float std::abs(float)’
   abs(float __x)
                ^
In file included from /usr/share/R/include/R.h:40:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cstdlib:179:3: note: previous declaration ‘__int128 std::abs(__int128)’
   abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
   ^
In file included from /usr/share/R/include/R.h:43:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cmath:87:16: error: conflicting declaration of C function ‘float std::abs(float)’
   abs(float __x)
                ^
In file included from /usr/share/R/include/R.h:40:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cstdlib:174:3: note: previous declaration ‘long long int std::abs(long long int)’
   abs(long long __x) { return __builtin_llabs (__x); }
   ^
In file included from /usr/share/R/include/R.h:43:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cmath:87:16: error: conflicting declaration of C function ‘float std::abs(float)’
   abs(float __x)
                ^
In file included from /usr/share/R/include/R.h:40:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cstdlib:166:3: note: previous declaration ‘long int std::abs(long int)’
   abs(long __i) { return __builtin_labs(__i); }
   ^
In file included from /usr/share/R/include/R.h:43:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cmath: In function ‘long double std::abs(long double)’:
/usr/include/c++/5/cmath:91:22: error: conflicting declaration of C function ‘long double std::abs(long double)’
   abs(long double __x)
                      ^
/usr/include/c++/5/cmath:87:3: note: previous declaration ‘float std::abs(float)’
   abs(float __x)
   ^
/usr/include/c++/5/cmath:91:22: error: conflicting declaration of C function ‘long double std::abs(long double)’
   abs(long double __x)
                      ^
/usr/include/c++/5/cmath:81:3: note: previous declaration ‘double std::abs(double)’
   abs(double __x)
   ^
/usr/include/c++/5/cmath:91:22: error: conflicting declaration of C function ‘long double std::abs(long double)’
   abs(long double __x)
                      ^
In file included from /usr/share/R/include/R.h:40:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cstdlib:179:3: note: previous declaration ‘__int128 std::abs(__int128)’
   abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
   ^
In file included from /usr/share/R/include/R.h:43:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cmath:91:22: error: conflicting declaration of C function ‘long double std::abs(long double)’
   abs(long double __x)
                      ^
In file included from /usr/share/R/include/R.h:40:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cstdlib:174:3: note: previous declaration ‘long long int std::abs(long long int)’
   abs(long long __x) { return __builtin_llabs (__x); }
   ^
In file included from /usr/share/R/include/R.h:43:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cmath:91:22: error: conflicting declaration of C function ‘long double std::abs(long double)’
   abs(long double __x)
                      ^
In file included from /usr/share/R/include/R.h:40:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cstdlib:166:3: note: previous declaration ‘long int std::abs(long int)’
   abs(long __i) { return __builtin_labs(__i); }
   ^
In file included from /usr/share/R/include/R.h:43:0,
                 from main.h:7,
                 from main.cpp:19:
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:95:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::acos(long double)’:
/usr/include/c++/5/cmath:110:23: error: conflicting declaration of C function ‘long double std::acos(long double)’
   acos(long double __x)
                       ^
/usr/include/c++/5/cmath:106:3: note: previous declaration ‘float std::acos(float)’
   acos(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:114:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::asin(long double)’:
/usr/include/c++/5/cmath:129:23: error: conflicting declaration of C function ‘long double std::asin(long double)’
   asin(long double __x)
                       ^
/usr/include/c++/5/cmath:125:3: note: previous declaration ‘float std::asin(float)’
   asin(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:133:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::atan(long double)’:
/usr/include/c++/5/cmath:148:23: error: conflicting declaration of C function ‘long double std::atan(long double)’
   atan(long double __x)
                       ^
/usr/include/c++/5/cmath:144:3: note: previous declaration ‘float std::atan(float)’
   atan(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:152:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::atan2(long double, long double)’:
/usr/include/c++/5/cmath:167:41: error: conflicting declaration of C function ‘long double std::atan2(long double, long double)’
   atan2(long double __y, long double __x)
                                         ^
/usr/include/c++/5/cmath:163:3: note: previous declaration ‘float std::atan2(float, float)’
   atan2(float __y, float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:171:3: error: template with C linkage
   template<typename _Tp, typename _Up>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::ceil(long double)’:
/usr/include/c++/5/cmath:188:23: error: conflicting declaration of C function ‘long double std::ceil(long double)’
   ceil(long double __x)
                       ^
/usr/include/c++/5/cmath:184:3: note: previous declaration ‘float std::ceil(float)’
   ceil(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:192:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::cos(long double)’:
/usr/include/c++/5/cmath:207:22: error: conflicting declaration of C function ‘long double std::cos(long double)’
   cos(long double __x)
                      ^
/usr/include/c++/5/cmath:203:3: note: previous declaration ‘float std::cos(float)’
   cos(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:211:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::cosh(long double)’:
/usr/include/c++/5/cmath:226:23: error: conflicting declaration of C function ‘long double std::cosh(long double)’
   cosh(long double __x)
                       ^
/usr/include/c++/5/cmath:222:3: note: previous declaration ‘float std::cosh(float)’
   cosh(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:230:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::exp(long double)’:
/usr/include/c++/5/cmath:245:22: error: conflicting declaration of C function ‘long double std::exp(long double)’
   exp(long double __x)
                      ^
/usr/include/c++/5/cmath:241:3: note: previous declaration ‘float std::exp(float)’
   exp(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:249:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::fabs(long double)’:
/usr/include/c++/5/cmath:264:23: error: conflicting declaration of C function ‘long double std::fabs(long double)’
   fabs(long double __x)
                       ^
/usr/include/c++/5/cmath:260:3: note: previous declaration ‘float std::fabs(float)’
   fabs(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:268:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::floor(long double)’:
/usr/include/c++/5/cmath:283:24: error: conflicting declaration of C function ‘long double std::floor(long double)’
   floor(long double __x)
                        ^
/usr/include/c++/5/cmath:279:3: note: previous declaration ‘float std::floor(float)’
   floor(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:287:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::fmod(long double, long double)’:
/usr/include/c++/5/cmath:302:40: error: conflicting declaration of C function ‘long double std::fmod(long double, long double)’
   fmod(long double __x, long double __y)
                                        ^
/usr/include/c++/5/cmath:298:3: note: previous declaration ‘float std::fmod(float, float)’
   fmod(float __x, float __y)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:306:3: error: template with C linkage
   template<typename _Tp, typename _Up>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::frexp(long double, int*)’:
/usr/include/c++/5/cmath:323:36: error: conflicting declaration of C function ‘long double std::frexp(long double, int*)’
   frexp(long double __x, int* __exp)
                                    ^
/usr/include/c++/5/cmath:319:3: note: previous declaration ‘float std::frexp(float, int*)’
   frexp(float __x, int* __exp)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:327:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::ldexp(long double, int)’:
/usr/include/c++/5/cmath:342:35: error: conflicting declaration of C function ‘long double std::ldexp(long double, int)’
   ldexp(long double __x, int __exp)
                                   ^
/usr/include/c++/5/cmath:338:3: note: previous declaration ‘float std::ldexp(float, int)’
   ldexp(float __x, int __exp)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:346:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::log(long double)’:
/usr/include/c++/5/cmath:361:22: error: conflicting declaration of C function ‘long double std::log(long double)’
   log(long double __x)
                      ^
/usr/include/c++/5/cmath:357:3: note: previous declaration ‘float std::log(float)’
   log(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:365:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::log10(long double)’:
/usr/include/c++/5/cmath:380:24: error: conflicting declaration of C function ‘long double std::log10(long double)’
   log10(long double __x)
                        ^
/usr/include/c++/5/cmath:376:3: note: previous declaration ‘float std::log10(float)’
   log10(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:384:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::modf(long double, long double*)’:
/usr/include/c++/5/cmath:399:44: error: conflicting declaration of C function ‘long double std::modf(long double, long double*)’
   modf(long double __x, long double* __iptr)
                                            ^
/usr/include/c++/5/cmath:395:3: note: previous declaration ‘float std::modf(float, float*)’
   modf(float __x, float* __iptr)
   ^
/usr/include/c++/5/cmath: In function ‘long double std::pow(long double, long double)’:
/usr/include/c++/5/cmath:411:39: error: conflicting declaration of C function ‘long double std::pow(long double, long double)’
   pow(long double __x, long double __y)
                                       ^
/usr/include/c++/5/cmath:407:3: note: previous declaration ‘float std::pow(float, float)’
   pow(float __x, float __y)
   ^
/usr/include/c++/5/cmath: In function ‘double std::pow(double, int)’:
/usr/include/c++/5/cmath:418:26: error: conflicting declaration of C function ‘double std::pow(double, int)’
   pow(double __x, int __i)
                          ^
/usr/include/c++/5/cmath:411:3: note: previous declaration ‘long double std::pow(long double, long double)’
   pow(long double __x, long double __y)
   ^
/usr/include/c++/5/cmath:418:26: error: conflicting declaration of C function ‘double std::pow(double, int)’
   pow(double __x, int __i)
                          ^
/usr/include/c++/5/cmath:407:3: note: previous declaration ‘float std::pow(float, float)’
   pow(float __x, float __y)
   ^
/usr/include/c++/5/cmath: In function ‘float std::pow(float, int)’:
/usr/include/c++/5/cmath:422:25: error: conflicting declaration of C function ‘float std::pow(float, int)’
   pow(float __x, int __n)
                         ^
/usr/include/c++/5/cmath:418:3: note: previous declaration ‘double std::pow(double, int)’
   pow(double __x, int __i)
   ^
/usr/include/c++/5/cmath:422:25: error: conflicting declaration of C function ‘float std::pow(float, int)’
   pow(float __x, int __n)
                         ^
/usr/include/c++/5/cmath:411:3: note: previous declaration ‘long double std::pow(long double, long double)’
   pow(long double __x, long double __y)
   ^
/usr/include/c++/5/cmath:422:25: error: conflicting declaration of C function ‘float std::pow(float, int)’
   pow(float __x, int __n)
                         ^
/usr/include/c++/5/cmath:407:3: note: previous declaration ‘float std::pow(float, float)’
   pow(float __x, float __y)
   ^
/usr/include/c++/5/cmath: In function ‘long double std::pow(long double, int)’:
/usr/include/c++/5/cmath:426:31: error: conflicting declaration of C function ‘long double std::pow(long double, int)’
   pow(long double __x, int __n)
                               ^
/usr/include/c++/5/cmath:422:3: note: previous declaration ‘float std::pow(float, int)’
   pow(float __x, int __n)
   ^
/usr/include/c++/5/cmath:426:31: error: conflicting declaration of C function ‘long double std::pow(long double, int)’
   pow(long double __x, int __n)
                               ^
/usr/include/c++/5/cmath:418:3: note: previous declaration ‘double std::pow(double, int)’
   pow(double __x, int __i)
   ^
/usr/include/c++/5/cmath:426:31: error: conflicting declaration of C function ‘long double std::pow(long double, int)’
   pow(long double __x, int __n)
                               ^
/usr/include/c++/5/cmath:411:3: note: previous declaration ‘long double std::pow(long double, long double)’
   pow(long double __x, long double __y)
   ^
/usr/include/c++/5/cmath:426:31: error: conflicting declaration of C function ‘long double std::pow(long double, int)’
   pow(long double __x, int __n)
                               ^
/usr/include/c++/5/cmath:407:3: note: previous declaration ‘float std::pow(float, float)’
   pow(float __x, float __y)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:431:3: error: template with C linkage
   template<typename _Tp, typename _Up>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::sin(long double)’:
/usr/include/c++/5/cmath:448:22: error: conflicting declaration of C function ‘long double std::sin(long double)’
   sin(long double __x)
                      ^
/usr/include/c++/5/cmath:444:3: note: previous declaration ‘float std::sin(float)’
   sin(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:452:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::sinh(long double)’:
/usr/include/c++/5/cmath:467:23: error: conflicting declaration of C function ‘long double std::sinh(long double)’
   sinh(long double __x)
                       ^
/usr/include/c++/5/cmath:463:3: note: previous declaration ‘float std::sinh(float)’
   sinh(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:471:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::sqrt(long double)’:
/usr/include/c++/5/cmath:486:23: error: conflicting declaration of C function ‘long double std::sqrt(long double)’
   sqrt(long double __x)
                       ^
/usr/include/c++/5/cmath:482:3: note: previous declaration ‘float std::sqrt(float)’
   sqrt(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:490:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::tan(long double)’:
/usr/include/c++/5/cmath:505:22: error: conflicting declaration of C function ‘long double std::tan(long double)’
   tan(long double __x)
                      ^
/usr/include/c++/5/cmath:501:3: note: previous declaration ‘float std::tan(float)’
   tan(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:509:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath: In function ‘long double std::tanh(long double)’:
/usr/include/c++/5/cmath:524:23: error: conflicting declaration of C function ‘long double std::tanh(long double)’
   tanh(long double __x)
                       ^
/usr/include/c++/5/cmath:520:3: note: previous declaration ‘float std::tanh(float)’
   tanh(float __x)
   ^
/usr/include/c++/5/cmath: At global scope:
/usr/include/c++/5/cmath:528:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:831:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:841:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:850:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:859:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:868:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:877:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:890:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:899:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:908:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:917:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:926:3: error: template with C linkage
   template<typename _Tp>
   ^
/usr/include/c++/5/cmath:935:3: error: template with C linkage
   template<typename _Tp>
   ^
make: *** [main.o] Error 1
ERROR: compilation failed for package ‘MixABEL’
* removing ‘/usr/local/lib/R/site-library/MixABEL’

Return to “ProbABEL”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest