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

Re: Help to build libsmithwaterman with gcc-8 needed



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.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: