linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Testing XDR code for nits
@ 2012-10-15 17:30 Haynes, Tom
  2012-10-15 20:25 ` Steve Dickson
  0 siblings, 1 reply; 5+ messages in thread
From: Haynes, Tom @ 2012-10-15 17:30 UTC (permalink / raw)
  To: linux-nfs

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

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

end of thread, other threads:[~2012-10-16 19:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15 17:30 Testing XDR code for nits Haynes, Tom
2012-10-15 20:25 ` Steve Dickson
2012-10-16 17:56   ` Haynes, Tom
2012-10-16 19:21     ` Steve Dickson
2012-10-16 18:39   ` Haynes, Tom

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