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

'make' fails when I run it on my fedora 32 machine #4

Closed
shokohirosue opened this issue Sep 24, 2020 · 2 comments
Closed

'make' fails when I run it on my fedora 32 machine #4

shokohirosue opened this issue Sep 24, 2020 · 2 comments

Comments

@shokohirosue
Copy link

Hi, thank you for developing and maintaining a great package.

I previously had no problem installing samstat, but somehow make gives me error when I run it for samstat-1.5.1 on my new machine.
Do you have any ideas why this could be?

Here's the output:

Making all in lib
make[1]: Entering directory ‘/mnt/data/src/samstat-1.5.1/lib’
make[1]: Nothing to be done for ‘all’.
make[1]: Leaving directory ‘/mnt/data/src/samstat-1.5.1/lib’
Making all in src
make[1]: Entering directory ‘/mnt/data/src/samstat-1.5.1/src’
make all-am
make[2]: Entering directory ‘/mnt/data/src/samstat-1.5.1/src’
gcc -O2 -funroll-loops  -Wall -std=gnu99  -o samstat interface.o nuc_code.o misc.o main.o io.o hmm.o viz.o -lm -lpthread /mnt/data/src/samstat-1.5.1/lib/libks.a 
/usr/bin/ld: misc.o:(.bss+0x0): multiple definition of `rev_nuc_code’; nuc_code.o:(.bss+0x0): first defined here
/usr/bin/ld: misc.o:(.bss+0x20): multiple definition of `nuc_code’; nuc_code.o:(.bss+0x20): first defined here
/usr/bin/ld: main.o:(.bss+0x20): multiple definition of `nuc_code’; nuc_code.o:(.bss+0x20): first defined here
/usr/bin/ld: main.o:(.bss+0x0): multiple definition of `rev_nuc_code’; nuc_code.o:(.bss+0x0): first defined here
/usr/bin/ld: io.o:(.bss+0x20): multiple definition of `nuc_code’; nuc_code.o:(.bss+0x20): first defined here
/usr/bin/ld: io.o:(.bss+0x0): multiple definition of `rev_nuc_code’; nuc_code.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:587: samstat] Error 1
make[2]: Leaving directory ‘/mnt/data/src/samstat-1.5.1/src’
make[1]: *** [Makefile:486: all] Error 2
make[1]: Leaving directory ‘/mnt/data/src/samstat-1.5.1/src’
make: *** [Makefile:334: all-recursive] Error 1

Thank you very much for your help.

@TimoLassmann
Copy link
Owner

Hi, this will take some time to investigate and fix. In the meantime I suggest using fastQC as an alternative.

@shokohirosue
Copy link
Author

Hi, thank you for getting back to me.

I found this while installing bwa and apparently there are some changes in the default setting for GCC10. (I had to install their updated version.) I am not sure if this is helpful but anyway (sorry if it isn't!)
lh3/bwa#267

Thank you very much for your help.

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