SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
ask for help on soap xujie De novo discovery 0 12-13-2010 06:30 AM
soap semna Bioinformatics 0 12-01-2010 11:53 PM
SAM to SOAP bioenvisage Bioinformatics 2 09-23-2010 11:48 PM
SOAP: short oligonucleotide alignment program. ECO Bioinformatics 22 10-26-2009 01:55 PM
how to use soap? lemon027 Bioinformatics 9 10-29-2008 07:47 AM

Reply
 
Thread Tools
Old 08-13-2014, 02:21 PM   #1
Pol8
Member
 
Location: USA

Join Date: Aug 2014
Posts: 33
Default on SOAP program

Hi everyone,

I just typed 'make' to install SOAP, but I got this error.

main.c.text.startup+0xff): undefined reference to `call_pregraph_sparse'
collect2: error: ld returned 1 exit status
make: *** [SOAPdenovo-63mer] Error 1


Any help?
Thanks!
Pol8 is offline   Reply With Quote
Old 08-13-2014, 04:07 PM   #2
Wallysb01
Senior Member
 
Location: San Francisco, CA

Join Date: Feb 2011
Posts: 286
Default

Just get the binaries instead of the source code
Wallysb01 is offline   Reply With Quote
Old 11-26-2014, 08:41 AM   #3
chuckcode
Junior Member
 
Location: SF Bay Area

Join Date: Nov 2014
Posts: 1
Default add includes

On my ubuntu system pregraph_sparse.cpp was failing to compile because the includes for getopt and usleep were missing. I added them to the SOAPdenovo2-src-r240/sparsePregraph/inc/stdinc.h file so they would get included other places if needed as well and then compilation finished fine for me.

Specifically in file SOAPdenovo2-src-r240/sparsePregraph/inc/stdinc.h I have:
...
#include <pthread.h>
#include <getopt.h> /* added to find getopt functions */
#include <unistd.h> /* added to find usleep, may be different on your system */
using namespace std;

Probably too late to help original post but maybe help other folks in the future as google points to this post.
chuckcode is offline   Reply With Quote
Old 02-15-2016, 08:46 AM   #4
caiosuz
Member
 
Location: Brazil_Bahia_Ilheus

Join Date: Dec 2015
Posts: 12
Default

Thanks for the tip chuckcode.
It worked perfectly!
caiosuz is offline   Reply With Quote
Reply

Tags
soap

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 07:49 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO