Skip to content

Building error #180

Description

@aravindpad

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

Activity

  1. hsymoon commented on May 11, 2024

    @hsymoon

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

  2. aravindpad commented on May 16, 2024

    @aravindpad
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions