From patchwork Tue Nov 6 17:33:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 197514 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from userp1040.oracle.com (userp1040.oracle.com [156.151.31.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "userp1040.oracle.com", Issuer "VeriSign Class 3 International Server CA - G3" (not verified)) by ozlabs.org (Postfix) with ESMTPS id F0A662C00AE for ; Wed, 7 Nov 2012 04:33:33 +1100 (EST) Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qA6HXT1C022363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 6 Nov 2012 17:33:30 GMT Received: from oss.oracle.com (oss-external.oracle.com [137.254.96.51]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qA6HXQNq019158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Nov 2012 17:33:28 GMT Received: from localhost ([127.0.0.1] helo=oss.oracle.com) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1TVn1i-0007It-Sz; Tue, 06 Nov 2012 09:33:26 -0800 Received: from acsinet22.oracle.com ([141.146.126.238]) by oss.oracle.com with esmtp (Exim 4.63) (envelope-from ) id 1TVn1O-0007I6-I3 for fedfs-utils-devel@oss.oracle.com; Tue, 06 Nov 2012 09:33:06 -0800 Received: from acsinet12.oracle.com (acsinet12.oracle.com [141.146.126.234]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qA6HX6Cl025541 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 6 Nov 2012 17:33:06 GMT Received: from mail-da0-f43.google.com (mail-da0-f43.google.com [209.85.210.43]) by acsinet12.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qA6HX5rr001957 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 6 Nov 2012 17:33:05 GMT Received: by mail-da0-f43.google.com with SMTP id u36so279048dak.2 for ; Tue, 06 Nov 2012 09:33:04 -0800 (PST) Received: by 10.66.88.102 with SMTP id bf6mr4627599pab.10.1352223184755; Tue, 06 Nov 2012 09:33:04 -0800 (PST) Received: from seurat.1015granger.net ([2001:df8:0:64:20c:29ff:fe93:815b]) by mx.google.com with ESMTPS id bc8sm12769704pab.5.2012.11.06.09.33.03 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Nov 2012 09:33:03 -0800 (PST) From: Chuck Lever To: fedfs-utils-devel@oss.oracle.com Date: Tue, 06 Nov 2012 12:33:02 -0500 Message-ID: <20121106173302.26310.82037.stgit@seurat.1015granger.net> In-Reply-To: <20121106172934.26310.10982.stgit@seurat.1015granger.net> References: <20121106172934.26310.10982.stgit@seurat.1015granger.net> User-Agent: StGIT/0.14.3 MIME-Version: 1.0 X-Flow-Control-Info: class=Default reputation=ipRepBelow100 ip=209.85.210.43 ct-class=R5 ct-vol1=-96 ct-vol2=8 ct-vol3=7 ct-risk=54 ct-spam1=87 ct-spam2=7 ct-bulk=2 rcpts=1 size=1707 X-MM-CT-Classification: not spam X-MM-CT-RefID: str=0001.0A020207.509949D2.0012,ss=1,re=0.000,fgs=0 Subject: [fedfs-utils] [PATCH 01/11] libjunction: display-junction link fails with "make -j2" X-BeenThere: fedfs-utils-devel@oss.oracle.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: fedfs-utils Developers List-Id: fedfs-utils Developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: fedfs-utils-devel-bounces@oss.oracle.com Errors-To: fedfs-utils-devel-bounces@oss.oracle.com X-Source-IP: acsinet21.oracle.com [141.146.126.237] Making fedfs-utils with the "-j" option fails with: Making all in libjunction CC export-cache.lo CC fedfs.lo CC junction.lo CC locations.lo CC nfs.lo CC xml.lo make[3]: *** No rule to make target `../../src/libjunction/libjunction.la', needed by `display-junction'. Stop. make[3]: *** Waiting for unfinished jobs.... CC display-junction.o make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 [cel@seurat fedfs-utils]$ Ensure the "display-junction" dependency targets the local version of libjunction.a so that make will always build the library before building display-junction. Introduced by commit 07cdb9c40ffc27fbb5fddc3c0357417f73182ddb "libjunction: Add a small tool for content of a live junction," Thu Oct 11 15:01:38 2012. Signed-off-by: Chuck Lever --- src/libjunction/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libjunction/Makefile.am b/src/libjunction/Makefile.am index fd35365..c9eb92a 100644 --- a/src/libjunction/Makefile.am +++ b/src/libjunction/Makefile.am @@ -29,8 +29,8 @@ noinst_LTLIBRARIES = libjunction.la noinst_PROGRAMS = display-junction libjunction_la_SOURCES = export-cache.c fedfs.c junction.c \ locations.c nfs.c xml.c -LDADD = $(top_builddir)/src/libxlog/libxlog.la \ - $(top_builddir)/src/libjunction/libjunction.la \ +display_junction_LDADD = $(top_builddir)/src/libxlog/libxlog.la \ + libjunction.la \ $(top_builddir)/src/libnsdb/libnsdb.la CLEANFILES = cscope.in.out cscope.out cscope.po.out *~