Re: "multiple target patterns. Stop"

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Thu, 15 Jan 2015 16:07:15 +0100

On 15/01/2015 14:14, Ben Hyde wrote:
> ./configure --prefix=$HOME/usr --with-include=$HOME/usr/include --with-lib=$HOME/usr/lib --with-dynlib=$HOME/usr/lib
>
> and when I go to make execline I get
>
> make: *** No rule to make target '-lskarnet', needed by 'background'. Stop.

  Are you sure the libskarnet.a is in $HOME/usr/lib, not for instance in
$HOME/usr/lib/skalibs ?

  If you only specified --prefix=$HOME in the skalibs' configure options,
by default libskarnet.so will be installed in $HOME/lib and libskarnet.a
will be installed in $HOME/usr/lib/skalibs, so neither will be found in
$HOME/usr/lib.


-l' p*/deps.mak | head -3
> background: src/execline/background.o ${LIBEXECLINE} -lskarnet
> backtick: src/execline/backtick.o ${LIBEXECLINE} -lskarnet
> cd: src/execline/cd.o -lskarnet
>
> Which, while I don’t do much work at level of makefiles these days, strikes me as odd.

  No, that's okay. It's a mutant, but useful, feature of GNU make.

-- 
  Laurent
Received on Thu Jan 15 2015 - 15:07:15 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC