* build problems with latest nfs-utils
@ 2007-07-15 23:59 Chuck Lever
2007-07-16 1:31 ` J. Bruce Fields
2007-07-16 17:06 ` [PATCH] fix broken compile due to missing pseudoflavors.h J. Bruce Fields
0 siblings, 2 replies; 6+ messages in thread
From: Chuck Lever @ 2007-07-15 23:59 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: Linux NFS mailing list
[-- Attachment #1: Type: text/plain, Size: 3167 bytes --]
I updated my git repo to the latest version of nfs-utils, and now I can
no longer build nfs-utils. I use
./configure --disable-gss --disable-nfsv4
and get these compilation errors:
Making all in nfs
make[2]: Entering directory `/u/cel/nfs-utils/support/nfs'
gcc -DHAVE_CONFIG_H -I. -I../../support/include -I../../support/include
-D_GNU_SOURCE -Wall -pipe -g -O2 -MT exports.o -MD -MP -MF
.deps/exports.Tpo -c -o exports.o exports.c
exports.c:33:27: error: pseudoflavors.h: No such file or directory
exports.c:38: error: array type has incomplete element type
exports.c:39: error: ‘RPC_AUTH_GSS_KRB5’ undeclared here (not in a function)
exports.c:40: error: ‘RPC_AUTH_GSS_KRB5I’ undeclared here (not in a
function)
exports.c:41: error: ‘RPC_AUTH_GSS_KRB5P’ undeclared here (not in a
function)
exports.c:42: error: ‘RPC_AUTH_GSS_LKEY’ undeclared here (not in a function)
exports.c:43: error: ‘RPC_AUTH_GSS_LKEYI’ undeclared here (not in a
function)
exports.c:44: error: ‘RPC_AUTH_GSS_LKEYP’ undeclared here (not in a
function)
exports.c:45: error: ‘RPC_AUTH_GSS_SPKM’ undeclared here (not in a function)
exports.c:46: error: ‘RPC_AUTH_GSS_SPKMI’ undeclared here (not in a
function)
exports.c:47: error: ‘RPC_AUTH_GSS_SPKMP’ undeclared here (not in a
function)
exports.c: In function ‘secinfo_show’:
exports.c:209: error: dereferencing pointer to incomplete type
exports.c:212: error: dereferencing pointer to incomplete type
exports.c: In function ‘find_flavor’:
exports.c:423: error: increment of pointer to unknown structure
exports.c:423: error: arithmetic on pointer to an incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
exports.c:424: error: dereferencing pointer to incomplete type
make[2]: *** [exports.o] Error 1
make[2]: Leaving directory `/u/cel/nfs-utils/support/nfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/u/cel/nfs-utils/support'
make: *** [all-recursive] Error 1
[cel@monet nfs-utils]$
[-- Attachment #2: chuck.lever.vcf --]
[-- Type: text/x-vcard, Size: 235 bytes --]
begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle USA;Corporate Architecture
adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA
title:Principal Member of Staff
x-mozilla-html:FALSE
url:http://oss.oracle.com/~cel
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
[-- Attachment #4: Type: text/plain, Size: 140 bytes --]
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: build problems with latest nfs-utils
2007-07-15 23:59 build problems with latest nfs-utils Chuck Lever
@ 2007-07-16 1:31 ` J. Bruce Fields
2007-07-16 2:05 ` Chuck Lever
2007-07-16 17:06 ` [PATCH] fix broken compile due to missing pseudoflavors.h J. Bruce Fields
1 sibling, 1 reply; 6+ messages in thread
From: J. Bruce Fields @ 2007-07-16 1:31 UTC (permalink / raw)
To: Chuck Lever; +Cc: Linux NFS mailing list
On Sun, Jul 15, 2007 at 07:59:18PM -0400, Chuck Lever wrote:
> I updated my git repo to the latest version of nfs-utils, and now I can no
> longer build nfs-utils. I use
>
> ./configure --disable-gss --disable-nfsv4
>
> and get these compilation errors:
Whoops, yes, I didn't think to test my changes with gss or nfsv4
disabled. I'll take a look at this tomorrow; thanks for noticing that.
--b.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: build problems with latest nfs-utils
2007-07-16 1:31 ` J. Bruce Fields
@ 2007-07-16 2:05 ` Chuck Lever
0 siblings, 0 replies; 6+ messages in thread
From: Chuck Lever @ 2007-07-16 2:05 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: Linux NFS mailing list
[-- Attachment #1: Type: text/plain, Size: 884 bytes --]
J. Bruce Fields wrote:
> On Sun, Jul 15, 2007 at 07:59:18PM -0400, Chuck Lever wrote:
>> I updated my git repo to the latest version of nfs-utils, and now I can no
>> longer build nfs-utils. I use
>>
>> ./configure --disable-gss --disable-nfsv4
>>
>> and get these compilation errors:
>
> Whoops, yes, I didn't think to test my changes with gss or nfsv4
> disabled. I'll take a look at this tomorrow; thanks for noticing that.
>
> --b.
;-)
Yep, thought so.
A build-test / check-in test suite for some of these utilities is
bumbling around in the back of my brain. We'll see if it breaches the
laziness threshold and I get around to constructing something.
Anyone else thought much about this? One thing that would be nice to
test is whether we've broken support over the years for the very old
versions of nfs_mount_data (both mount command and NFS client processing).
[-- Attachment #2: chuck.lever.vcf --]
[-- Type: text/x-vcard, Size: 235 bytes --]
begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle USA;Corporate Architecture
adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA
title:Principal Member of Staff
x-mozilla-html:FALSE
url:http://oss.oracle.com/~cel
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
[-- Attachment #4: Type: text/plain, Size: 140 bytes --]
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] fix broken compile due to missing pseudoflavors.h
2007-07-15 23:59 build problems with latest nfs-utils Chuck Lever
2007-07-16 1:31 ` J. Bruce Fields
@ 2007-07-16 17:06 ` J. Bruce Fields
2007-07-16 17:18 ` Chuck Lever
2007-07-16 17:26 ` Chuck Lever
1 sibling, 2 replies; 6+ messages in thread
From: J. Bruce Fields @ 2007-07-16 17:06 UTC (permalink / raw)
To: Chuck Lever; +Cc: Neil Brown, Linux NFS mailing list
From: J. Bruce Fields <bfields@citi.umich.edu>
Commit e9b0bed761bc77ba046f53be2ec324c4b61357ff should also have added
this file.
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
---
support/include/pseudoflavors.h | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
create mode 100644 support/include/pseudoflavors.h
On Sun, Jul 15, 2007 at 07:59:18PM -0400, Chuck Lever wrote:
> Making all in nfs
> make[2]: Entering directory `/u/cel/nfs-utils/support/nfs'
> gcc -DHAVE_CONFIG_H -I. -I../../support/include -I../../support/include
> -D_GNU_SOURCE -Wall -pipe -g -O2 -MT exports.o -MD -MP -MF
> .deps/exports.Tpo -c -o exports.o exports.c
> exports.c:33:27: error: pseudoflavors.h: No such file or directory
Whoops, I should have actually looked at the compile output yesterday
before jumping to conclusions. Looks like pseudoflavors.h didn't get
added to the git repo. (Neil--just pipe a mailbox to "git am", and
it'll take care of adding new files.)
(I haven't checked yet whether it's still OK with --disable-gss and
--disable-nfsv4....)
--b.
diff --git a/support/include/pseudoflavors.h b/support/include/pseudoflavors.h
new file mode 100644
index 0000000..c21087b
--- /dev/null
+++ b/support/include/pseudoflavors.h
@@ -0,0 +1,17 @@
+#define RPC_AUTH_GSS_KRB5 390003
+#define RPC_AUTH_GSS_KRB5I 390004
+#define RPC_AUTH_GSS_KRB5P 390005
+#define RPC_AUTH_GSS_LKEY 390006
+#define RPC_AUTH_GSS_LKEYI 390007
+#define RPC_AUTH_GSS_LKEYP 390008
+#define RPC_AUTH_GSS_SPKM 390009
+#define RPC_AUTH_GSS_SPKMI 390010
+#define RPC_AUTH_GSS_SPKMP 390011
+
+struct flav_info {
+ char *flavour;
+ int fnum;
+};
+
+extern struct flav_info flav_map[];
+extern const int flav_map_size;
--
1.5.3.rc0.63.gc956
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] fix broken compile due to missing pseudoflavors.h
2007-07-16 17:06 ` [PATCH] fix broken compile due to missing pseudoflavors.h J. Bruce Fields
@ 2007-07-16 17:18 ` Chuck Lever
2007-07-16 17:26 ` Chuck Lever
1 sibling, 0 replies; 6+ messages in thread
From: Chuck Lever @ 2007-07-16 17:18 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: Neil Brown, Linux NFS mailing list
[-- Attachment #1: Type: text/plain, Size: 2067 bytes --]
Yeah, this makes sense. I tried just doing a "make" in utils/mount/
last night and it did indeed spot the missing pseudoflavors.h header.
I'll give this a shot.
J. Bruce Fields wrote:
> From: J. Bruce Fields <bfields@citi.umich.edu>
>
> Commit e9b0bed761bc77ba046f53be2ec324c4b61357ff should also have added
> this file.
>
> Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
> ---
> support/include/pseudoflavors.h | 17 +++++++++++++++++
> 1 files changed, 17 insertions(+), 0 deletions(-)
> create mode 100644 support/include/pseudoflavors.h
>
> On Sun, Jul 15, 2007 at 07:59:18PM -0400, Chuck Lever wrote:
>> Making all in nfs
>> make[2]: Entering directory `/u/cel/nfs-utils/support/nfs'
>> gcc -DHAVE_CONFIG_H -I. -I../../support/include -I../../support/include
>> -D_GNU_SOURCE -Wall -pipe -g -O2 -MT exports.o -MD -MP -MF
>> .deps/exports.Tpo -c -o exports.o exports.c
>> exports.c:33:27: error: pseudoflavors.h: No such file or directory
>
> Whoops, I should have actually looked at the compile output yesterday
> before jumping to conclusions. Looks like pseudoflavors.h didn't get
> added to the git repo. (Neil--just pipe a mailbox to "git am", and
> it'll take care of adding new files.)
>
> (I haven't checked yet whether it's still OK with --disable-gss and
> --disable-nfsv4....)
>
> --b.
>
> diff --git a/support/include/pseudoflavors.h b/support/include/pseudoflavors.h
> new file mode 100644
> index 0000000..c21087b
> --- /dev/null
> +++ b/support/include/pseudoflavors.h
> @@ -0,0 +1,17 @@
> +#define RPC_AUTH_GSS_KRB5 390003
> +#define RPC_AUTH_GSS_KRB5I 390004
> +#define RPC_AUTH_GSS_KRB5P 390005
> +#define RPC_AUTH_GSS_LKEY 390006
> +#define RPC_AUTH_GSS_LKEYI 390007
> +#define RPC_AUTH_GSS_LKEYP 390008
> +#define RPC_AUTH_GSS_SPKM 390009
> +#define RPC_AUTH_GSS_SPKMI 390010
> +#define RPC_AUTH_GSS_SPKMP 390011
> +
> +struct flav_info {
> + char *flavour;
> + int fnum;
> +};
> +
> +extern struct flav_info flav_map[];
> +extern const int flav_map_size;
[-- Attachment #2: chuck.lever.vcf --]
[-- Type: text/x-vcard, Size: 290 bytes --]
begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle Corporation;Corporate Architecture: Linux Projects Group
adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA
title:Principal Member of Staff
tel;work:+1 248 614 5091
x-mozilla-html:FALSE
url:http://oss.oracle.com/~cel
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
[-- Attachment #4: Type: text/plain, Size: 140 bytes --]
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] fix broken compile due to missing pseudoflavors.h
2007-07-16 17:06 ` [PATCH] fix broken compile due to missing pseudoflavors.h J. Bruce Fields
2007-07-16 17:18 ` Chuck Lever
@ 2007-07-16 17:26 ` Chuck Lever
1 sibling, 0 replies; 6+ messages in thread
From: Chuck Lever @ 2007-07-16 17:26 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: Neil Brown, Linux NFS mailing list
[-- Attachment #1: Type: text/plain, Size: 1994 bytes --]
FYI:
Yes, this fixes the build breakage with "./configure --disable-gss
--disable-nfsv4"
J. Bruce Fields wrote:
> From: J. Bruce Fields <bfields@citi.umich.edu>
>
> Commit e9b0bed761bc77ba046f53be2ec324c4b61357ff should also have added
> this file.
>
> Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
> ---
> support/include/pseudoflavors.h | 17 +++++++++++++++++
> 1 files changed, 17 insertions(+), 0 deletions(-)
> create mode 100644 support/include/pseudoflavors.h
>
> On Sun, Jul 15, 2007 at 07:59:18PM -0400, Chuck Lever wrote:
>> Making all in nfs
>> make[2]: Entering directory `/u/cel/nfs-utils/support/nfs'
>> gcc -DHAVE_CONFIG_H -I. -I../../support/include -I../../support/include
>> -D_GNU_SOURCE -Wall -pipe -g -O2 -MT exports.o -MD -MP -MF
>> .deps/exports.Tpo -c -o exports.o exports.c
>> exports.c:33:27: error: pseudoflavors.h: No such file or directory
>
> Whoops, I should have actually looked at the compile output yesterday
> before jumping to conclusions. Looks like pseudoflavors.h didn't get
> added to the git repo. (Neil--just pipe a mailbox to "git am", and
> it'll take care of adding new files.)
>
> (I haven't checked yet whether it's still OK with --disable-gss and
> --disable-nfsv4....)
>
> --b.
>
> diff --git a/support/include/pseudoflavors.h b/support/include/pseudoflavors.h
> new file mode 100644
> index 0000000..c21087b
> --- /dev/null
> +++ b/support/include/pseudoflavors.h
> @@ -0,0 +1,17 @@
> +#define RPC_AUTH_GSS_KRB5 390003
> +#define RPC_AUTH_GSS_KRB5I 390004
> +#define RPC_AUTH_GSS_KRB5P 390005
> +#define RPC_AUTH_GSS_LKEY 390006
> +#define RPC_AUTH_GSS_LKEYI 390007
> +#define RPC_AUTH_GSS_LKEYP 390008
> +#define RPC_AUTH_GSS_SPKM 390009
> +#define RPC_AUTH_GSS_SPKMI 390010
> +#define RPC_AUTH_GSS_SPKMP 390011
> +
> +struct flav_info {
> + char *flavour;
> + int fnum;
> +};
> +
> +extern struct flav_info flav_map[];
> +extern const int flav_map_size;
[-- Attachment #2: chuck.lever.vcf --]
[-- Type: text/x-vcard, Size: 290 bytes --]
begin:vcard
fn:Chuck Lever
n:Lever;Chuck
org:Oracle Corporation;Corporate Architecture: Linux Projects Group
adr:;;1015 Granger Avenue;Ann Arbor;MI;48104;USA
title:Principal Member of Staff
tel;work:+1 248 614 5091
x-mozilla-html:FALSE
url:http://oss.oracle.com/~cel
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 286 bytes --]
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
[-- Attachment #4: Type: text/plain, Size: 140 bytes --]
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-07-16 17:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-15 23:59 build problems with latest nfs-utils Chuck Lever
2007-07-16 1:31 ` J. Bruce Fields
2007-07-16 2:05 ` Chuck Lever
2007-07-16 17:06 ` [PATCH] fix broken compile due to missing pseudoflavors.h J. Bruce Fields
2007-07-16 17:18 ` Chuck Lever
2007-07-16 17:26 ` Chuck Lever
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.