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

Error coming during compilation #387

Open
achintkansal opened this issue Feb 11, 2023 · 3 comments
Open

Error coming during compilation #387

achintkansal opened this issue Feb 11, 2023 · 3 comments

Comments

@achintkansal
Copy link

This is the type of error I am getting? What to do?
gcc -g -Wall -Wno-unused-function -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS bwashm.o bwase.o bwaseqio.o bwtgap.o bwtaln.o bamlite.o bwape.o kopen.o pemerge.o maxk.o bwtsw2_core.o bwtsw2_main.o bwtsw2_aux.o bwt_lite.o bwtsw2_chain.o fastmap.o bwtsw2_pair.o main.o -o bwa -L. -lbwa -lm -lz -lpthread -lrt /usr/bin/ld: ./libbwa.a(rope.o):/home/achint/Desktop/BWA/bwa-0.7.17/rle.h:33: multiple definition ofrle_auxtab'; ./libbwa.a(bwtindex.o):/home/achint/Desktop/BWA/bwa-0.7.17/rle.h:33: first defined here
/usr/bin/ld: ./libbwa.a(rle.o):/home/achint/Desktop/BWA/bwa-0.7.17/rle.h:33: multiple definition of rle_auxtab'; ./libbwa.a(bwtindex.o):/home/achint/Desktop/BWA/bwa-0.7.17/rle.h:33: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:30: bwa] Error 1

@guyleonard
Copy link

This error was fixed here:
2a1ae7b

I think this will still show up though if you download the release https://github.com/lh3/bwa/releases/tag/v0.7.17 rather than cloning the repository.

@Stikus
Copy link

Stikus commented Dec 7, 2023

@lh3 Shouldn't it be a new release with this fix? For now, the current latest release failed to build on modern systems.

@mwalker174
Copy link

Just running into this as well. A new release would be great!

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

4 participants