Skip to contentSkip to conversation

Makefile.am: update the path of libnfs.a

PATCH In review [email protected] 2 participants 3 messages Dec 17, 2018 – Jan 29, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile.am: update the path of libnfs.a

From: Mingli Yu <[email protected]>

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.

---
 tests/Makefile.am            | 2 +-
 tests/nsm_client/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tests/Makefile.am +1 -1
index 1f96264..74aa629 100644
@@ -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
tests/nsm_client/Makefile.am +1 -1
index a8fc131..43db9c2 100644
@@ -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
Signature · 1 line
2.7.4
author
#1 lore raw

Ping.

Quoted 43 lines · On 2018年12月17日 13:59, [email protected] wrote:

From: Mingli Yu <[email protected]>

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.

---
  tests/Makefile.am            | 2 +-
  tests/nsm_client/Makefile.am | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
tests/Makefile.am +1 -1
index 1f96264..74aa629 100644
@@ -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
tests/nsm_client/Makefile.am +1 -1
index a8fc131..43db9c2 100644
@@ -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 lore raw
In reply to [email protected]
Quoted 11 lines · On 12/17/18 12:59 AM, [email protected] wrote:

From: Mingli Yu <[email protected]>

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.

My apologies for taking so long to commit this...

steved.

Quoted 32 lines
---
 tests/Makefile.am            | 2 +-
 tests/nsm_client/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tests/Makefile.am +1 -1
index 1f96264..74aa629 100644
@@ -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
tests/nsm_client/Makefile.am +1 -1
index a8fc131..43db9c2 100644
@@ -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