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

installation error #35

Open
madhubioinfo opened this issue Mar 29, 2019 · 7 comments
Open

installation error #35

madhubioinfo opened this issue Mar 29, 2019 · 7 comments

Comments

@madhubioinfo
Copy link

Hi,
I am trying to install smartdenovo for my analysis but it failed with error when i do the make command

This the error i am getting, help me in fixing this

collect2: error: ld returned 1 exit status
Makefile:48: recipe for target 'wtlay' failed
make: *** [wtlay] Error 1

@ruanjue
Copy link
Owner

ruanjue commented Mar 30, 2019

Please give me more backward lines.

@fabiodepa
Copy link

fabiodepa commented Apr 30, 2019

Hi @ruanjue
I had a similar error while compiling from the github repository.

me@mypc:~/applications$ git clone https://github.com/ruanjue/smartdenovo.git
me@mypc:~/applications$ cd smartdenovo
me@mypc:~/applications/smartdenovo$ make
gcc -W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -mssse3 -o pairaln file_reader.c ksw.c pairaln.c -lm -lpthread
gcc -W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -mssse3 -o wtpre file_reader.c wtpre.c -lm -lpthread
gcc -W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -mssse3 -o wtcyc file_reader.c ksw.c wtcyc.c -lm -lpthread
gcc -W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -mssse3 -o wtmer file_reader.c wtmer.c -lm -lpthread
gcc -W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -mssse3 -o wtzmo file_reader.c ksw.c wtzmo.c -lm -lpthread
gcc -W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -mssse3 -o wtobt file_reader.c wtobt.c -lm -lpthread
gcc -W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -mssse3 -o wtclp file_reader.c wtclp.c -lm -lpthread
gcc -W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -mssse3 -o wtext file_reader.c ksw.c wtext.c -lm -lpthread
gcc -W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -mssse3 -o wtgbo file_reader.c ksw.c wtgbo.c -lm -lpthread
gcc -W -Wall -O4 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -mssse3 -o wtlay file_reader.c wtlay.c -lm -lpthread
/tmp/ccFAXTvE.o: In function `merge_bubbles_strgraph':
wtlay.c:(.text+0x984d): undefined reference to `cut_biedge_strgraph2'
wtlay.c:(.text+0x9861): undefined reference to `cut_biedge_strgraph2'
wtlay.c:(.text+0x992d): undefined reference to `cut_biedge_strgraph2'
wtlay.c:(.text+0x994a): undefined reference to `cut_biedge_strgraph2'
collect2: error: ld returned 1 exit status
Makefile:48: recipe for target 'wtlay' failed
make: *** [wtlay] Error 1

Thank you for any help,

Fabio

@fabiodepa
Copy link

Update:
I tried with the suggestions @ruanjue gave in the issue #18 and now the make get to the end without any error.

Hope it could help,
Fabio

@jhernandez1409
Copy link

Hi, I am getting the same error. I tried fixing it with comments in Issue #18 but still getting the same error. Please advise.

Thanks,

JoJo

@fabiodepa
Copy link

Hi JoJo,

Just trying to help...
Did you made all the changes suggested in the five posts by @ruanjue in #18 ? For me, those worked...

Fabio

@jhernandez1409
Copy link

Hi Fabio,

Thank you for your reply... yes, I did all the suggested changes in issue #18 but I still get the same error. I tried it multiple times to make sure I was doing it right but still the same error.

JoJo

@jhernandez1409
Copy link

Hi! I actually add ´static´ in front of ´inline...´ in line 516 of the wtlay.h file and compiled wtlay again and it worked, just as @ruanjue suggested in issue #22. Hope this helps.

Thanks,

JoJo

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