I am having difficulty in building regtools
cmake - 3.0.1, 3.10.2 and 3.4.3 gives the same error
Linking C shared library librmath.so CMakeFiles/rmath.dir/snorm.c.o: In function norm_rand':
snorm.c:(.text+0x0): multiple definition of norm_rand' CMakeFiles/rmath.dir/librandom.c.o:librandom.c:(.text+0x20): first defined here CMakeFiles/rmath.dir/sexp.c.o: In function exp_rand':
sexp.c:(.text+0x0): multiple definition of exp_rand' CMakeFiles/rmath.dir/librandom.c.o:librandom.c:(.text+0x10): first defined here CMakeFiles/rmath.dir/sunif.c.o: In function unif_rand':
sunif.c:(.text+0x30): multiple definition of unif_rand' CMakeFiles/rmath.dir/librandom.c.o:librandom.c:(.text+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [src/utils/rmath/CMakeFiles/rmath.dir/build.make:3086: src/utils/rmath/librmath.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:356: src/utils/rmath/CMakeFiles/rmath.dir/all] Error 2 make: *** [Makefile:87: all] Error 2
I am having difficulty in building regtools
cmake - 3.0.1, 3.10.2 and 3.4.3 gives the same error
Linking C shared library librmath.so CMakeFiles/rmath.dir/snorm.c.o: In functionnorm_rand':snorm.c:(.text+0x0): multiple definition of
norm_rand' CMakeFiles/rmath.dir/librandom.c.o:librandom.c:(.text+0x20): first defined here CMakeFiles/rmath.dir/sexp.c.o: In functionexp_rand':sexp.c:(.text+0x0): multiple definition of
exp_rand' CMakeFiles/rmath.dir/librandom.c.o:librandom.c:(.text+0x10): first defined here CMakeFiles/rmath.dir/sunif.c.o: In functionunif_rand':sunif.c:(.text+0x30): multiple definition of
unif_rand' CMakeFiles/rmath.dir/librandom.c.o:librandom.c:(.text+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [src/utils/rmath/CMakeFiles/rmath.dir/build.make:3086: src/utils/rmath/librmath.so] Error 1 make[1]: *** [CMakeFiles/Makefile2:356: src/utils/rmath/CMakeFiles/rmath.dir/all] Error 2 make: *** [Makefile:87: all] Error 2