Skip to contentSkip to conversation

Fix build on Fedora 13.

PATCH In review [email protected] 3 participants 7 messages Jun 7, 2011 – Jun 8, 2011

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

PATCH 1/1 Fix build on Fedora 13.

From: Ben Greear <[email protected]>

Need sys/stat.h for S_ISDIR and S_ISREG symbols.

---
:100644 100644 99618c9... e057c5c... M utils/exportfs/exportfs.c
:100644 100644 2aa3d4f... a8ce028... M utils/mount/mount.c

 utils/exportfs/exportfs.c |    4 ++++
 utils/mount/mount.c       |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)
utils/exportfs/exportfs.c +4 -0
index 99618c9..e057c5c 100644
@@ -12,6 +12,10 @@
 #include <config.h>
 #endif
 
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
+
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
utils/mount/mount.c +3 -0
index 2aa3d4f..a8ce028 100644
@@ -20,6 +20,9 @@
 
 #include "config.h"
 #include <unistd.h>
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
 #include <sys/types.h>
 #include <stdio.h>
 #include <string.h>
Signature · 1 line
1.7.3.4
#1 lore raw

Hi Ben-

Quoted 3 lines · On Jun 7, 2011, at 1:58 PM, [email protected] wrote:

From: Ben Greear <[email protected]>

Need sys/stat.h for S_ISDIR and S_ISREG symbols.

Can you tell when this problem was introduced? What ./configure options might be relevant?

Quoted 44 lines

---
:100644 100644 99618c9... e057c5c... M utils/exportfs/exportfs.c
:100644 100644 2aa3d4f... a8ce028... M utils/mount/mount.c

utils/exportfs/exportfs.c |    4 ++++
utils/mount/mount.c       |    3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
utils/exportfs/exportfs.c +4 -0
index 99618c9..e057c5c 100644
@@ -12,6 +12,10 @@
 #include <config.h>
 #endif
 
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
+
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
utils/mount/mount.c +3 -0
index 2aa3d4f..a8ce028 100644
@@ -20,6 +20,9 @@
 
 #include "config.h"
 #include <unistd.h>
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
 #include <sys/types.h>
 #include <stdio.h>
 #include <string.h>
Signature · 6 lines
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
author
#2 lore raw
Quoted 9 lines · Chuck Lever

Hi Ben-

Quoted 3 lines · On Jun 7, 2011, at 1:58 PM, [email protected] wrote:

From: Ben Greear<[email protected]>

Need sys/stat.h for S_ISDIR and S_ISREG symbols.

Can you tell when this problem was introduced? What ./configure options might be relevant?

I haven't compiled nfs-utils in years. Since I can't get ./configure to find libgssapi, I'm compiling with:

./configure --disable-gss

Thanks,
Ben

Quoted 46 lines
Quoted 45 lines

---
:100644 100644 99618c9... e057c5c... M utils/exportfs/exportfs.c
:100644 100644 2aa3d4f... a8ce028... M utils/mount/mount.c

utils/exportfs/exportfs.c |    4 ++++
utils/mount/mount.c       |    3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
utils/exportfs/exportfs.c +4 -0
index 99618c9..e057c5c 100644
@@ -12,6 +12,10 @@
 #include<config.h>
 #endif
 
+#ifdef HAVE_SYS_STAT_H
+#include<sys/stat.h>
+#endif
+
 #include<unistd.h>
 #include<stdlib.h>
 #include<string.h>
utils/mount/mount.c +3 -1
index 2aa3d4f..a8ce028 100644
@@ -20,6 +20,9 @@
 
 #include "config.h"
 #include<unistd.h>
+#ifdef HAVE_SYS_STAT_H
+#include<sys/stat.h>
+#endif
 #include<sys/types.h>
 #include<stdio.h>
 #include<string.h>
--

1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
author
#3 lore raw
Quoted 9 lines · Ben Greear
Quoted 8 lines · Chuck Lever

Hi Ben-

Quoted 3 lines · On Jun 7, 2011, at 1:58 PM, [email protected] wrote:

From: Ben Greear<[email protected]>

Need sys/stat.h for S_ISDIR and S_ISREG symbols.

Quoted 8 lines
Quoted 2 lines

Can you tell when this problem was introduced? What ./configure options might be relevant?

I haven't compiled nfs-utils in years. Since I can't get ./configure to find libgssapi,
I'm compiling with:

./configure --disable-gss

I think I was given a bad git repo suggestion in a previous email.

I was using: git://git.infradead.org/users/steved/nfs-utils.git
which hasn't been updated in years.

Let me start all over again with
git://git.linux-nfs.org/projects/steved/nfs-utils.git

Thanks,
Ben

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#4 lore raw
Quoted 19 lines · Ben Greear
Quoted 9 lines · Ben Greear
Quoted 8 lines · Chuck Lever

Hi Ben-

Quoted 3 lines · On Jun 7, 2011, at 1:58 PM, [email protected] wrote:

From: Ben Greear<[email protected]>

Need sys/stat.h for S_ISDIR and S_ISREG symbols.

Quoted 8 lines
Quoted 2 lines

Can you tell when this problem was introduced? What ./configure options might be relevant?

I haven't compiled nfs-utils in years. Since I can't get ./configure to find libgssapi,
I'm compiling with:

./configure --disable-gss

Quoted 7 lines

I think I was given a bad git repo suggestion in a previous email.

I was using: git://git.infradead.org/users/steved/nfs-utils.git
which hasn't been updated in years.

Let me start all over again with
git://git.linux-nfs.org/projects/steved/nfs-utils.git

Here is the correct path:
git://linux-nfs.org/~steved/exports/nfs-utils

steved.

author
#5 lore raw
Quoted 24 lines · Steve Dickson
Quoted 21 lines · Ben Greear
Quoted 9 lines · Ben Greear
Quoted 8 lines · Chuck Lever

Hi Ben-

Quoted 3 lines · On Jun 7, 2011, at 1:58 PM, [email protected] wrote:

From: Ben Greear<[email protected]>

Need sys/stat.h for S_ISDIR and S_ISREG symbols.

Quoted 8 lines
Quoted 2 lines

Can you tell when this problem was introduced? What ./configure options might be relevant?

I haven't compiled nfs-utils in years. Since I can't get ./configure to find libgssapi,
I'm compiling with:

./configure --disable-gss

I think I was given a bad git repo suggestion in a previous email.

Quoted 7 lines
Quoted 5 lines

I was using: git://git.infradead.org/users/steved/nfs-utils.git
which hasn't been updated in years.

Let me start all over again with
git://git.linux-nfs.org/projects/steved/nfs-utils.git

Here is the correct path:
git://linux-nfs.org/~steved/exports/nfs-utils

Out of curiosity, what is the difference between the two above?

Thanks,
Ben

Quoted 7 lines

steved.

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com
#6 lore raw
Quoted 28 lines · Ben Greear
Quoted 27 lines · Steve Dickson
Quoted 24 lines · Ben Greear
Quoted 9 lines · Ben Greear
Quoted 8 lines · Chuck Lever

Hi Ben-

Quoted 3 lines · On Jun 7, 2011, at 1:58 PM, [email protected] wrote:

From: Ben Greear<[email protected]>

Need sys/stat.h for S_ISDIR and S_ISREG symbols.

Quoted 8 lines
Quoted 2 lines

Can you tell when this problem was introduced? What ./configure options might be relevant?

I haven't compiled nfs-utils in years. Since I can't get ./configure to find libgssapi,
I'm compiling with:

./configure --disable-gss

I think I was given a bad git repo suggestion in a previous email.

I was using: git://git.infradead.org/users/steved/nfs-utils.git
which hasn't been updated in years.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Let me start all over again with
git://git.linux-nfs.org/projects/steved/nfs-utils.git

Here is the correct path:
git://linux-nfs.org/~steved/exports/nfs-utils

Out of curiosity, what is the difference between the two above?

nothing....

steved.