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

From: Patrick Mahoney <pat_at_polycrystal.org>
Date: Tue, 23 Dec 2014 13:31:18 -0600

Hi Laurent,

I've discovered the problem only happens when running "make -j2" (or
presumably, any level of parallel building). But I've included my
configure info below in case it may be useful.

On 2014-12-23 12:27 pm, Laurent Bercot wrote:

> 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 ?

Here's execline's config:
=================================================

# This file was generated by:
# ./configure
--prefix=/nix/store/7fry12kvs71vksl1gg7rkkq4jc9gzapr-execline-2.0.0.0
--enable-static --disable-shared --libdir='${prefix}/lib'
--dynlibdir='${prefix}/lib' --includedir
='${prefix}/include'
--with-sysdeps=/nix/store/i79aryfv9by0ak2q10zb8rya0pcd7bd7-skalibs-2.0.0.0/lib/skalibs/sysdeps
--with-include=/nix/store/i79aryfv9by0ak2q10zb8rya0pcd7bd7-skalibs
-2.0.0.0/include
--with-lib=/nix/store/i79aryfv9by0ak2q10zb8rya0pcd7bd7-skalibs-2.0.0.0/lib
# Any changes made here will be lost if configure is re-run.

target := x86_64-unknown-linux-gnu
package := execline
prefix := /nix/store/7fry12kvs71vksl1gg7rkkq4jc9gzapr-execline-2.0.0.0
exec_prefix :=
/nix/store/7fry12kvs71vksl1gg7rkkq4jc9gzapr-execline-2.0.0.0
dynlibdir :=
/nix/store/7fry12kvs71vksl1gg7rkkq4jc9gzapr-execline-2.0.0.0/lib
libexecdir :=
/nix/store/7fry12kvs71vksl1gg7rkkq4jc9gzapr-execline-2.0.0.0/libexec
bindir :=
/nix/store/7fry12kvs71vksl1gg7rkkq4jc9gzapr-execline-2.0.0.0/bin
sbindir :=
/nix/store/7fry12kvs71vksl1gg7rkkq4jc9gzapr-execline-2.0.0.0/sbin
libdir :=
/nix/store/7fry12kvs71vksl1gg7rkkq4jc9gzapr-execline-2.0.0.0/lib
includedir :=
/nix/store/7fry12kvs71vksl1gg7rkkq4jc9gzapr-execline-2.0.0.0/include
sysdeps :=
/nix/store/i79aryfv9by0ak2q10zb8rya0pcd7bd7-skalibs-2.0.0.0/lib/skalibs/sysdeps
slashpackage := false
sproot :=
version := 2.0.0.0
home :=
exthome :=
RT_LIB :=
SOCKET_LIB :=
SYSCLOCK_LIB :=
TAINNOW_LIB :=
UTIL_LIB :=

CC := gcc
CFLAGS := -std=c99 -fomit-frame-pointer -fno-exceptions
-fno-unwind-tables -fno-asynchronous-unwind-tables -Wa,--noexecstack
-fno-stack-protector
CPPFLAGS := -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -O2
-Werror=implicit-function-declaration -Werror=implicit-int
-Werror=pointer-sign -Werror=pointer-arith
-I/nix/store/i79aryfv9by0ak2q10zb8rya0pcd7bd7-skalibs-2.0.0.0/include
LDFLAGS :=
-L/nix/store/i79aryfv9by0ak2q10zb8rya0pcd7bd7-skalibs-2.0.0.0/lib
LDFLAGS_NOSHARED :=
CROSS_COMPILE :=

vpath lib%a
/nix/store/i79aryfv9by0ak2q10zb8rya0pcd7bd7-skalibs-2.0.0.0/lib
.LIBPATTERNS := lib%.a
vpath lib%.so
STATIC_LIBS :=
SHARED_LIBS :=
DO_STATIC := 1
DO_SHARED :=

-- 
Patrick Mahoney <pat_at_polycrystal.org>
Received on Tue Dec 23 2014 - 19:31:18 UTC

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