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 in compilation Makefile:39: recipe for target 'ksw2-test' failed #14

Open
patrick-douglas opened this issue Nov 5, 2019 · 0 comments

Comments

@patrick-douglas
Copy link

Hi,
I'm trying copilling ksw2 to use Salmon in ARM ubuntu (aarch), but I'm getting the following error:

rock01 ksw2 # make 
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. cli.c -o cli.o
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. kalloc.c -o kalloc.o
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. ksw2_gg.c -o ksw2_gg.o
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. ksw2_gg2.c -o ksw2_gg2.o
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. ksw2_gg2_sse.c -o ksw2_gg2_sse.o
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. ksw2_extz.c -o ksw2_extz.o
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. ksw2_extz2_sse.c -o ksw2_extz2_sse.o
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. ksw2_extd.c -o ksw2_extd.o
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. ksw2_extd2_sse.c -o ksw2_extd2_sse.o
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. ksw2_extf2_sse.c -o ksw2_extf2_sse.o
gcc -c -g -Wall -Wextra -Wc++-compat -O2 -march=native -DHAVE_KALLOC -I. ksw2_exts2_sse.c -o ksw2_exts2_sse.o
gcc -g -Wall -Wextra -Wc++-compat -O2 -march=native cli.o kalloc.o ksw2_gg.o ksw2_gg2.o ksw2_gg2_sse.o ksw2_extz.o ksw2_extz2_sse.o ksw2_extd.o ksw2_extd2_sse.o ksw2_extf2_sse.o ksw2_exts2_sse.o -o ksw2-test  -lz
cli.o: In function `global_aln':
/home/me/ksw2/cli.c:84: undefined reference to `ksw_extd2_sse'
/home/me/ksw2/cli.c:73: undefined reference to `ksw_gg2_sse'
/home/me/ksw2/cli.c:75: undefined reference to `ksw_extz2_sse'
/home/me/ksw2/cli.c:78: undefined reference to `ksw_extf2_sse'
/home/me/ksw2/cli.c:82: undefined reference to `ksw_exts2_sse'
collect2: error: ld returned 1 exit status
Makefile:39: recipe for target 'ksw2-test' failed
make: *** [ksw2-test] Error 1

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

1 participant