[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help to build libsmithwaterman with gcc-8 needed

Hi Andrey,

On Sun, Aug 05, 2018 at 01:00:28PM +0500, Andrey Rahmatullin wrote:
> On Sun, Aug 05, 2018 at 05:31:48AM +0200, Andreas Tille wrote:
> > Hi,
> > 
> > I thinks I've fixed the issue for bug #897797 in Git[1] for
> > libsmithwaterman but somehow it fails to build for a different
> > reason now.  Any idea why this might happen:
> > 
> > ...
> > make  all-am
> > make[2]: Entering directory '/build/libsmithwaterman-0.0+git20160702.2610e25'
> > g++ -DHAVE_CONFIG_H -I.   -I. -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fdebug-prefix-map=/build/libsmithwaterman-0.0+git20160702.2610e25=. -fstack-protector-strong -Wformat -Werror=format-security -c -o smithwaterman.o smithwaterman.cpp
> > /bin/bash ./libtool  --tag=CXX   --mode=link g++  -g -O2 -fdebug-prefix-map=/build/libsmithwaterman-0.0+git20160702.2610e25=. -fstack-protector-strong -Wformat -Werror=format-security  -  Wl,-z,relro -Wl,-z,now -o smithwaterman smithwaterman.o -lsmithwaterman -ldisorder
> > libtool: link: g++ -g -O2 -fdebug-prefix-map=/build/libsmithwaterman-0.0+git20160702.2610e25=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o smithwaterman smithwaterman.o  -lsmithwaterman -ldisorder
> > /usr/bin/ld: cannot find -lsmithwaterman
> > collect2: error: ld returned 1 exit status
> Well, your Makefile.am doesn't say you need to build the lib before the
> binary.

Strange.  I have never seen such kind of specification and I assumed
that this is automatically the case.  I checked some references about
automake and also example packages but failed to find a clue.  Could you
give any more detailed hint to specify that the library needs to be
build first.

Kind regards



Reply to: