You should try doing google searches for the compile errors.  And if you
do, remove the minus sign from "-lpthread" or "-lm" because a minus sign
before a term causes that term to be excluded from any search results.
Another option is to quote the whole search string "/usr/bin/ld: cannot
find -lm".

(I think there might be just one package that your system is missing.  And
if you really can't figure this out after doing your own research, post a
follow-up here.)

On Tue, Jun 13, 2017 at 3:56 AM, lejeczek <[email protected]> wrote:

> hi fellas
>
> I wonder if you have seen something like this:
> ..
> SpecUtils.o CometWriteOut.o CometWriteSqt.o CometWritePepXML.o
> CometWritePercolator.o CometWriteTxt.o CometSearchManager.o
> make[1]: Leaving directory `/home.sysops/appmgr/rpmbuild/svn.src/
> TransProteomicPipeline/release_5-0-0/build/linux-x86_
> 64/artifacts/comet_source_2016012/CometSearch'
> g++ -O3 -Wall -Wextra -static -Wno-char-subscripts -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D__LINUX__ -IMSToolkit/include -ICometSearch
> Comet.o -LMSToolkit -LCometSearch -lcometsearch -lmstoolkitlite -lm
> -lpthread -o comet.exe
> /usr/bin/ld: cannot find -lpthread
> /usr/bin/ld: cannot find -lm
> /usr/bin/ld: cannot find -lc
> collect2: error: ld returned 1 exit status
> make: *** [comet.exe] Error 1
>
> I'm trying to compile TPP release_5-0-0 and above happens. Software stack
> is Centos7, gcc version 4.8.5 20150623, GNU Make 3.82 (pretty much default
> tools which come with distro)
> Would you share your thoughts?
> much appreciated
> L.
>
> --
> You received this message because you are subscribed to the Google Groups
> "spctools-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/spctools-discuss.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"spctools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spctools-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to