Re: building execline 2.0.0.0: No rule to make target '-lexecline'

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Tue, 23 Dec 2014 19:27:08 +0100

  Hi Patrick,

> exec gcc -iquote src/include-local -Isrc/include (...)
> (...)
> make: *** No rule to make target '-lexecline', needed by 'background'. Stop.

  You have no -L option to gcc in that command line at all, so make
cannot expand '-lexecline' to './libexecline.a'. Something is messing
with your LDFLAGS; can you post your configure invocation and your
config.mak ?


> background: private EXTRA_LIBS :=
> background: src/execline/background.o -lexecline -lskarnet
>
> Is it correct that "-lexecline" is a dependency rather than up in
> EXTRA_LIBS ?

  Yes, it is correct. EXTRA_LIBS is only used for things like -lsocket
and -lrt, on systems that need them.

-- 
  Laurent
Received on Tue Dec 23 2014 - 18:27:08 UTC

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