linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* pnfs-nfs-utils compile errors
@ 2010-10-18 15:55 Peng Tao
  2010-10-18 16:09 ` Jim Rees
  0 siblings, 1 reply; 3+ messages in thread
From: Peng Tao @ 2010-10-18 15:55 UTC (permalink / raw)
  To: linux-nfs

Hi, Benny and Jim,

I fail to compile with pnfs-nfs-utils master branch (commit
48a8d6b13b2f0b720267b1af104addb7426e7cc9). It fails in blkmapd
directory. Are the files cfg.c and cfg.h missing or deleted?

from pnfs-nfs-utils/utils/blkmapd/Makefile
259 blkmapd_SOURCES = \
260         atomicio.c \
261         cfg.c \
262         device-discovery.c \
263         device-inq.c \
264         device-process.c \
265         dm-device.c \
266         \
267         cfg.h \
268         device-discovery.h
[SID@blkmapd]$pwd
/home/bergwolf/src/pnfs-nfs-utils/utils/blkmapd
[SID@blkmapd]$ls
atomicio.c  device-discovery.c  device-inq.c      dm-device.c
Makefile     Makefile.in
atomicio.o  device-discovery.h  device-process.c  etc          Makefile.am

[SID@pnfs-nfs-utils]$./configure --enable-nfsv41
[SID@pnfs-nfs-utils]$make
<snip>
make[2]: Entering directory `/home/bergwolf/src/pnfs-nfs-utils/utils/blkmapd'
gcc -DHAVE_CONFIG_H -I. -I../../support/include  -I/usr/include/tirpc
-D_GNU_SOURCE -Wall -Wstrict-prototypes  -pipe -D_LARGEFILE64_SOURCE
-g -O2 -MT atomicio.o -MD -MP -MF .deps/atomicio.Tpo -c -o atomicio.o
atomicio.c
mv -f .deps/atomicio.Tpo .deps/atomicio.Po
make[2]: *** No rule to make target `cfg.o', needed by `blkmapd'.  Stop.
make[2]: Leaving directory `/home/bergwolf/src/pnfs-nfs-utils/utils/blkmapd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bergwolf/src/pnfs-nfs-utils/utils'
make: *** [all-recursive] Error 1

-- 
Thanks,
-Bergwolf

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

* Re: pnfs-nfs-utils compile errors
  2010-10-18 15:55 pnfs-nfs-utils compile errors Peng Tao
@ 2010-10-18 16:09 ` Jim Rees
       [not found]   ` <20101018160953.GA19529-8f4Pc2RrbJmHXe+LvDLADg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Rees @ 2010-10-18 16:09 UTC (permalink / raw)
  To: Peng Tao; +Cc: linux-nfs

Peng Tao wrote:

  I fail to compile with pnfs-nfs-utils master branch (commit
  48a8d6b13b2f0b720267b1af104addb7426e7cc9). It fails in blkmapd
  directory. Are the files cfg.c and cfg.h missing or deleted?

Yes, they were removed in commit fb9c48c5e1ce2023d3dc2e279537e158130a6ba0,
"blkmapd: get rid of config file and instead examine all block devices."
Maybe you need to do a autogen.sh or make distclean?

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

* Re: pnfs-nfs-utils compile errors
       [not found]   ` <20101018160953.GA19529-8f4Pc2RrbJmHXe+LvDLADg@public.gmane.org>
@ 2010-10-19  0:26     ` Peng Tao
  0 siblings, 0 replies; 3+ messages in thread
From: Peng Tao @ 2010-10-19  0:26 UTC (permalink / raw)
  To: Jim Rees; +Cc: linux-nfs

On Tue, Oct 19, 2010 at 12:09 AM, Jim Rees <rees@umich.edu> wrote:
> Peng Tao wrote:
>
> =C2=A0I fail to compile with pnfs-nfs-utils master branch (commit
> =C2=A048a8d6b13b2f0b720267b1af104addb7426e7cc9). It fails in blkmapd
> =C2=A0directory. Are the files cfg.c and cfg.h missing or deleted?
>
> Yes, they were removed in commit fb9c48c5e1ce2023d3dc2e279537e158130a=
6ba0,
> "blkmapd: get rid of config file and instead examine all block device=
s."
> Maybe you need to do a autogen.sh or make distclean?
Thanks, Jim. After running autogen.sh, I compile successfully.
>

--=20
Thanks,
-Bergwolf

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

end of thread, other threads:[~2010-10-19  0:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-18 15:55 pnfs-nfs-utils compile errors Peng Tao
2010-10-18 16:09 ` Jim Rees
     [not found]   ` <20101018160953.GA19529-8f4Pc2RrbJmHXe+LvDLADg@public.gmane.org>
2010-10-19  0:26     ` Peng Tao

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).