All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Haynes, Tom" <thomas@netapp.com>
To: linux-nfs@vger.kernel.org
Subject: Testing XDR code for nits
Date: Mon, 15 Oct 2012 12:30:35 -0500	[thread overview]
Message-ID: <20121015173035.GA1777@netapp.com> (raw)

It used to be when I wanted to test for sanity, I could do:

sudo yum -y install libgssglue-devel
sudo yum -y install nfs-utils-lib-devel

and then:

[thomas@psyklo NFSv4.2]$ make testx

Since about FC15, that has been broken. I can solve this with
another distro, but I'd really like to get it working.

I can't install nfs-utils-lib-devel, I found this bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=722847

So I tried installing libtirpc-devel and no luck with the
test:

( cd testx.d ; \
	rpcgen -a nfsv42.x ; \
	if [ ! -f /usr/include/rpc/auth_sys.h ]; then \
		ln Make* make ; \
		CFLAGS="-I /usr/include/rpcsecgss -I /usr/include/gssglue" ; export CFLAGS ; \
		LDLIBS="-lrpcsecgss" ; export LDLIBS ; \
	fi ; \
	make -f make* )
file `nfsv42_server.c' already exists and may be overwritten
make[1]: Entering directory `/home/thomas/Documents/ietf/NFSv4.2/testx.d'
rpcgen  nfsv42.x
cc -I /usr/include/rpcsecgss -I /usr/include/gssglue -g    -c -o nfsv42_clnt.o nfsv42_clnt.c
cc -I /usr/include/rpcsecgss -I /usr/include/gssglue -g    -c -o nfsv42_client.o nfsv42_client.c
cc -I /usr/include/rpcsecgss -I /usr/include/gssglue -g    -c -o nfsv42_xdr.o nfsv42_xdr.c
nfsv42_xdr.c: In function ‘xdr_secinfo4’:
nfsv42_xdr.c:3511:7: error: ‘RPCSEC_GSS’ undeclared (first use in this function)
nfsv42_xdr.c:3511:7: note: each undeclared identifier is reported only once for each function it appears in
nfsv42_xdr.c: In function ‘xdr_callback_sec_parms4’:
nfsv42_xdr.c:3790:7: error: ‘RPCSEC_GSS’ undeclared (first use in this function)
make[1]: *** [nfsv42_xdr.o] Error 1
make[1]: Leaving directory `/home/thomas/Documents/ietf/NFSv4.2/testx.d'
make: *** [testx] Error 2

What package will provide RPCSEC_GSS in a header?

Thanks,


-- 
Tom Haynes - ex-cfb

             reply	other threads:[~2012-10-15 17:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15 17:30 Haynes, Tom [this message]
2012-10-15 20:25 ` Testing XDR code for nits Steve Dickson
2012-10-16 17:56   ` Haynes, Tom
2012-10-16 19:21     ` Steve Dickson
2012-10-16 18:39   ` Haynes, Tom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121015173035.GA1777@netapp.com \
    --to=thomas@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.