* [PATCH] Fix build on Fedora 13.
@ 2011-06-07 17:58 greearb
2011-06-07 18:14 ` Chuck Lever
0 siblings, 1 reply; 7+ messages in thread
From: greearb @ 2011-06-07 17:58 UTC (permalink / raw)
To: linux-nfs; +Cc: Ben Greear
From: Ben Greear <greearb@candelatech.com>
Need sys/stat.h for S_ISDIR and S_ISREG symbols.
Signed-off-by: Ben Greear <greearb@candelatech.com>
---
: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(-)
diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
index 99618c9..e057c5c 100644
--- a/utils/exportfs/exportfs.c
+++ b/utils/exportfs/exportfs.c
@@ -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>
diff --git a/utils/mount/mount.c b/utils/mount/mount.c
index 2aa3d4f..a8ce028 100644
--- a/utils/mount/mount.c
+++ b/utils/mount/mount.c
@@ -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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix build on Fedora 13.
2011-06-07 17:58 [PATCH] Fix build on Fedora 13 greearb
@ 2011-06-07 18:14 ` Chuck Lever
2011-06-07 18:24 ` Ben Greear
0 siblings, 1 reply; 7+ messages in thread
From: Chuck Lever @ 2011-06-07 18:14 UTC (permalink / raw)
To: greearb; +Cc: linux-nfs
Hi Ben-
On Jun 7, 2011, at 1:58 PM, greearb@candelatech.com wrote:
> From: Ben Greear <greearb@candelatech.com>
>
> 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?
> Signed-off-by: Ben Greear <greearb@candelatech.com>
> ---
> :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(-)
>
> diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
> index 99618c9..e057c5c 100644
> --- a/utils/exportfs/exportfs.c
> +++ b/utils/exportfs/exportfs.c
> @@ -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>
> diff --git a/utils/mount/mount.c b/utils/mount/mount.c
> index 2aa3d4f..a8ce028 100644
> --- a/utils/mount/mount.c
> +++ b/utils/mount/mount.c
> @@ -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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Chuck Lever
chuck[dot]lever[at]oracle[dot]com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix build on Fedora 13.
2011-06-07 18:14 ` Chuck Lever
@ 2011-06-07 18:24 ` Ben Greear
2011-06-07 21:47 ` Ben Greear
0 siblings, 1 reply; 7+ messages in thread
From: Ben Greear @ 2011-06-07 18:24 UTC (permalink / raw)
To: Chuck Lever; +Cc: linux-nfs
On 06/07/2011 11:14 AM, Chuck Lever wrote:
> Hi Ben-
>
> On Jun 7, 2011, at 1:58 PM, greearb@candelatech.com wrote:
>
>> From: Ben Greear<greearb@candelatech.com>
>>
>> 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
>
>> Signed-off-by: Ben Greear<greearb@candelatech.com>
>> ---
>> :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(-)
>>
>> diff --git a/utils/exportfs/exportfs.c b/utils/exportfs/exportfs.c
>> index 99618c9..e057c5c 100644
>> --- a/utils/exportfs/exportfs.c
>> +++ b/utils/exportfs/exportfs.c
>> @@ -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>
>> diff --git a/utils/mount/mount.c b/utils/mount/mount.c
>> index 2aa3d4f..a8ce028 100644
>> --- a/utils/mount/mount.c
>> +++ b/utils/mount/mount.c
>> @@ -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 majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix build on Fedora 13.
2011-06-07 18:24 ` Ben Greear
@ 2011-06-07 21:47 ` Ben Greear
2011-06-08 3:12 ` Steve Dickson
0 siblings, 1 reply; 7+ messages in thread
From: Ben Greear @ 2011-06-07 21:47 UTC (permalink / raw)
To: Chuck Lever; +Cc: linux-nfs
On 06/07/2011 11:24 AM, Ben Greear wrote:
> On 06/07/2011 11:14 AM, Chuck Lever wrote:
>> Hi Ben-
>>
>> On Jun 7, 2011, at 1:58 PM, greearb@candelatech.com wrote:
>>
>>> From: Ben Greear<greearb@candelatech.com>
>>>
>>> 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
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
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix build on Fedora 13.
2011-06-07 21:47 ` Ben Greear
@ 2011-06-08 3:12 ` Steve Dickson
2011-06-08 4:00 ` Ben Greear
0 siblings, 1 reply; 7+ messages in thread
From: Steve Dickson @ 2011-06-08 3:12 UTC (permalink / raw)
To: Ben Greear; +Cc: Chuck Lever, linux-nfs
On 06/07/2011 05:47 PM, Ben Greear wrote:
> On 06/07/2011 11:24 AM, Ben Greear wrote:
>> On 06/07/2011 11:14 AM, Chuck Lever wrote:
>>> Hi Ben-
>>>
>>> On Jun 7, 2011, at 1:58 PM, greearb@candelatech.com wrote:
>>>
>>>> From: Ben Greear<greearb@candelatech.com>
>>>>
>>>> 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
>
> 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix build on Fedora 13.
2011-06-08 3:12 ` Steve Dickson
@ 2011-06-08 4:00 ` Ben Greear
2011-06-08 11:08 ` Steve Dickson
0 siblings, 1 reply; 7+ messages in thread
From: Ben Greear @ 2011-06-08 4:00 UTC (permalink / raw)
To: Steve Dickson; +Cc: Chuck Lever, linux-nfs
On 06/07/2011 08:12 PM, Steve Dickson wrote:
>
>
> On 06/07/2011 05:47 PM, Ben Greear wrote:
>> On 06/07/2011 11:24 AM, Ben Greear wrote:
>>> On 06/07/2011 11:14 AM, Chuck Lever wrote:
>>>> Hi Ben-
>>>>
>>>> On Jun 7, 2011, at 1:58 PM, greearb@candelatech.com wrote:
>>>>
>>>>> From: Ben Greear<greearb@candelatech.com>
>>>>>
>>>>> 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
>>
>> 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
Out of curiosity, what is the difference between the two
above?
Thanks,
Ben
>
> steved.
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Fix build on Fedora 13.
2011-06-08 4:00 ` Ben Greear
@ 2011-06-08 11:08 ` Steve Dickson
0 siblings, 0 replies; 7+ messages in thread
From: Steve Dickson @ 2011-06-08 11:08 UTC (permalink / raw)
To: Ben Greear; +Cc: Chuck Lever, linux-nfs
On 06/08/2011 12:00 AM, Ben Greear wrote:
> On 06/07/2011 08:12 PM, Steve Dickson wrote:
>>
>>
>> On 06/07/2011 05:47 PM, Ben Greear wrote:
>>> On 06/07/2011 11:24 AM, Ben Greear wrote:
>>>> On 06/07/2011 11:14 AM, Chuck Lever wrote:
>>>>> Hi Ben-
>>>>>
>>>>> On Jun 7, 2011, at 1:58 PM, greearb@candelatech.com wrote:
>>>>>
>>>>>> From: Ben Greear<greearb@candelatech.com>
>>>>>>
>>>>>> 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
>>>
>>> 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
>
> Out of curiosity, what is the difference between the two
> above?
nothing....
steved.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-06-08 11:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-07 17:58 [PATCH] Fix build on Fedora 13 greearb
2011-06-07 18:14 ` Chuck Lever
2011-06-07 18:24 ` Ben Greear
2011-06-07 21:47 ` Ben Greear
2011-06-08 3:12 ` Steve Dickson
2011-06-08 4:00 ` Ben Greear
2011-06-08 11:08 ` Steve Dickson
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.