linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Makefile.am: update the path of libnfs.a
@ 2018-12-17  5:59 mingli.yu
  2019-01-03  2:24 ` Yu, Mingli
  2019-01-29 20:41 ` Steve Dickson
  0 siblings, 2 replies; 3+ messages in thread
From: mingli.yu @ 2018-12-17  5:59 UTC (permalink / raw)
  To: linux-nfs

From: Mingli Yu <Mingli.Yu@windriver.com>

The libnfs.a is under ../support/nfs/.libs/ now,
update the reference path accordingly to fix below
build error when run "make -C tests statdb_dump":
| make: *** No rule to make target '../support/nfs/libnfs.a', needed by 'statdb_dump'.  Stop.

And below error when run "make -C tests/nsm_client nsm_client"
| make: *** No rule to make target '../../support/nfs/libnfs.a', needed by 'nsm_client'.  Stop.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
---
 tests/Makefile.am            | 2 +-
 tests/nsm_client/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1f96264..74aa629 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,7 +3,7 @@
 check_PROGRAMS = statdb_dump
 statdb_dump_SOURCES = statdb_dump.c
 
-statdb_dump_LDADD = ../support/nfs/libnfs.a \
+statdb_dump_LDADD = ../support/nfs/.libs/libnfs.a \
 		    ../support/nsm/libnsm.a $(LIBCAP)
 
 SUBDIRS = nsm_client
diff --git a/tests/nsm_client/Makefile.am b/tests/nsm_client/Makefile.am
index a8fc131..43db9c2 100644
--- a/tests/nsm_client/Makefile.am
+++ b/tests/nsm_client/Makefile.am
@@ -13,7 +13,7 @@ check_PROGRAMS	= nsm_client
 nsm_client_SOURCES = $(GENFILES) nsm_client.c
 
 BUILT_SOURCES = $(GENFILES)
-nsm_client_LDADD = ../../support/nfs/libnfs.a \
+nsm_client_LDADD = ../../support/nfs/.libs/libnfs.a \
 		   ../../support/nsm/libnsm.a $(LIBCAP) $(LIBTIRPC)
 
 if CONFIG_RPCGEN
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Makefile.am: update the path of libnfs.a
  2018-12-17  5:59 [PATCH] Makefile.am: update the path of libnfs.a mingli.yu
@ 2019-01-03  2:24 ` Yu, Mingli
  2019-01-29 20:41 ` Steve Dickson
  1 sibling, 0 replies; 3+ messages in thread
From: Yu, Mingli @ 2019-01-03  2:24 UTC (permalink / raw)
  To: linux-nfs

Ping.

On 2018年12月17日 13:59, mingli.yu@windriver.com wrote:
> From: Mingli Yu <Mingli.Yu@windriver.com>
>
> The libnfs.a is under ../support/nfs/.libs/ now,
> update the reference path accordingly to fix below
> build error when run "make -C tests statdb_dump":
> | make: *** No rule to make target '../support/nfs/libnfs.a', needed by 'statdb_dump'.  Stop.
>
> And below error when run "make -C tests/nsm_client nsm_client"
> | make: *** No rule to make target '../../support/nfs/libnfs.a', needed by 'nsm_client'.  Stop.
>
> Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
> ---
>   tests/Makefile.am            | 2 +-
>   tests/nsm_client/Makefile.am | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 1f96264..74aa629 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -3,7 +3,7 @@
>   check_PROGRAMS = statdb_dump
>   statdb_dump_SOURCES = statdb_dump.c
>
> -statdb_dump_LDADD = ../support/nfs/libnfs.a \
> +statdb_dump_LDADD = ../support/nfs/.libs/libnfs.a \
>   		    ../support/nsm/libnsm.a $(LIBCAP)
>
>   SUBDIRS = nsm_client
> diff --git a/tests/nsm_client/Makefile.am b/tests/nsm_client/Makefile.am
> index a8fc131..43db9c2 100644
> --- a/tests/nsm_client/Makefile.am
> +++ b/tests/nsm_client/Makefile.am
> @@ -13,7 +13,7 @@ check_PROGRAMS	= nsm_client
>   nsm_client_SOURCES = $(GENFILES) nsm_client.c
>
>   BUILT_SOURCES = $(GENFILES)
> -nsm_client_LDADD = ../../support/nfs/libnfs.a \
> +nsm_client_LDADD = ../../support/nfs/.libs/libnfs.a \
>   		   ../../support/nsm/libnsm.a $(LIBCAP) $(LIBTIRPC)
>
>   if CONFIG_RPCGEN
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Makefile.am: update the path of libnfs.a
  2018-12-17  5:59 [PATCH] Makefile.am: update the path of libnfs.a mingli.yu
  2019-01-03  2:24 ` Yu, Mingli
@ 2019-01-29 20:41 ` Steve Dickson
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Dickson @ 2019-01-29 20:41 UTC (permalink / raw)
  To: mingli.yu, linux-nfs



On 12/17/18 12:59 AM, mingli.yu@windriver.com wrote:
> From: Mingli Yu <Mingli.Yu@windriver.com>
> 
> The libnfs.a is under ../support/nfs/.libs/ now,
> update the reference path accordingly to fix below
> build error when run "make -C tests statdb_dump":
> | make: *** No rule to make target '../support/nfs/libnfs.a', needed by 'statdb_dump'.  Stop.
> 
> And below error when run "make -C tests/nsm_client nsm_client"
> | make: *** No rule to make target '../../support/nfs/libnfs.a', needed by 'nsm_client'.  Stop.
> 
> Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
My apologies for taking so long to commit this... 

steved.
 
> ---
>  tests/Makefile.am            | 2 +-
>  tests/nsm_client/Makefile.am | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 1f96264..74aa629 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -3,7 +3,7 @@
>  check_PROGRAMS = statdb_dump
>  statdb_dump_SOURCES = statdb_dump.c
>  
> -statdb_dump_LDADD = ../support/nfs/libnfs.a \
> +statdb_dump_LDADD = ../support/nfs/.libs/libnfs.a \
>  		    ../support/nsm/libnsm.a $(LIBCAP)
>  
>  SUBDIRS = nsm_client
> diff --git a/tests/nsm_client/Makefile.am b/tests/nsm_client/Makefile.am
> index a8fc131..43db9c2 100644
> --- a/tests/nsm_client/Makefile.am
> +++ b/tests/nsm_client/Makefile.am
> @@ -13,7 +13,7 @@ check_PROGRAMS	= nsm_client
>  nsm_client_SOURCES = $(GENFILES) nsm_client.c
>  
>  BUILT_SOURCES = $(GENFILES)
> -nsm_client_LDADD = ../../support/nfs/libnfs.a \
> +nsm_client_LDADD = ../../support/nfs/.libs/libnfs.a \
>  		   ../../support/nsm/libnsm.a $(LIBCAP) $(LIBTIRPC)
>  
>  if CONFIG_RPCGEN
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-29 20:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-17  5:59 [PATCH] Makefile.am: update the path of libnfs.a mingli.yu
2019-01-03  2:24 ` Yu, Mingli
2019-01-29 20:41 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).