Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building error #180

Open
aravindpad opened this issue Dec 6, 2023 · 2 comments
Open

Building error #180

aravindpad opened this issue Dec 6, 2023 · 2 comments

Comments

@aravindpad
Copy link

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

@hsymoon
Copy link

hsymoon commented May 11, 2024

I also met this error,Could you tell me your solution

@aravindpad
Copy link
Author

@hsymoon I finally ended up using singularity container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants