* [2.5.5 ERROR] Can't compile without NFS
@ 2002-02-26 20:04 Jean Tourrilhes
2002-02-26 21:50 ` Neil Brown
0 siblings, 1 reply; 3+ messages in thread
From: Jean Tourrilhes @ 2002-02-26 20:04 UTC (permalink / raw)
To: Linux kernel mailing list
system :
-------------------
PPro 150 SMP
Kernel 2.5.5
Debian 2.2
-------------------
.config :
---------------
# CONFIG_NFS_FS is not set
# CONFIG_NFS_V3 is not set
# CONFIG_ROOT_NFS is not set
# CONFIG_NFSD is not set
# CONFIG_NFSD_V3 is not set
# CONFIG_SUNRPC is not set
# CONFIG_LOCKD is not set
---------------
make install :
----------------
make[2]: Entering directory `/usr/src/kernel-source-2.5/fs'
gcc -D__KERNEL__ -I/usr/src/kernel-source-2.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=filesystems -DEXPORT_SYMTAB -c filesystems.c
filesystems.c: In function `sys_nfsservctl':
filesystems.c:30: dereferencing pointer to incomplete type
filesystems.c:30: dereferencing pointer to incomplete type
filesystems.c:30: warning: value computed is not used
filesystems.c:32: dereferencing pointer to incomplete type
filesystems.c:33: dereferencing pointer to incomplete type
filesystems.c:33: dereferencing pointer to incomplete type
filesystems.c:33: warning: value computed is not used
make[2]: *** [filesystems.o] Error 1
make[2]: Leaving directory `/usr/src/kernel-source-2.5/fs'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.5/fs'
make: *** [_dir_fs] Error 2
----------------
Of course, enabling NFSD fix this problem...
Jean
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [2.5.5 ERROR] Can't compile without NFS
2002-02-26 20:04 [2.5.5 ERROR] Can't compile without NFS Jean Tourrilhes
@ 2002-02-26 21:50 ` Neil Brown
2002-02-26 22:02 ` Jean Tourrilhes
0 siblings, 1 reply; 3+ messages in thread
From: Neil Brown @ 2002-02-26 21:50 UTC (permalink / raw)
To: jt; +Cc: Linux kernel mailing list
On Tuesday February 26, jt@bougret.hpl.hp.com wrote:
> make[2]: Entering directory `/usr/src/kernel-source-2.5/fs'
> gcc -D__KERNEL__ -I/usr/src/kernel-source-2.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=filesystems -DEXPORT_SYMTAB -c filesystems.c
> filesystems.c: In function `sys_nfsservctl':
> filesystems.c:30: dereferencing pointer to incomplete type
> filesystems.c:30: dereferencing pointer to incomplete type
> filesystems.c:30: warning: value computed is not used
....
Yeh... sorry 'bout that.
Patch sent to Linus, but didn't make it into 2.5.6-pre1.
--- ./include/linux/nfsd/interface.h 2002/02/20 21:58:11 1.1
+++ ./include/linux/nfsd/interface.h 2002/02/20 23:35:19 1.2
@@ -12,13 +12,15 @@
#include <linux/config.h>
-#ifdef CONFIG_NFSD_MODULE
+#ifndef CONFIG_NFSD
+#ifdef CONFIG_MODULES
extern struct nfsd_linkage {
long (*do_nfsservctl)(int cmd, void *argp, void *resp);
struct module *owner;
} * nfsd_linkage;
+#endif
#endif
#endif /* LINUX_NFSD_INTERFACE_H */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [2.5.5 ERROR] Can't compile without NFS
2002-02-26 21:50 ` Neil Brown
@ 2002-02-26 22:02 ` Jean Tourrilhes
0 siblings, 0 replies; 3+ messages in thread
From: Jean Tourrilhes @ 2002-02-26 22:02 UTC (permalink / raw)
To: Neil Brown; +Cc: Linux kernel mailing list
On Wed, Feb 27, 2002 at 08:50:11AM +1100, Neil Brown wrote:
> On Tuesday February 26, jt@bougret.hpl.hp.com wrote:
> > make[2]: Entering directory `/usr/src/kernel-source-2.5/fs'
> > gcc -D__KERNEL__ -I/usr/src/kernel-source-2.5/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DKBUILD_BASENAME=filesystems -DEXPORT_SYMTAB -c filesystems.c
> > filesystems.c: In function `sys_nfsservctl':
> > filesystems.c:30: dereferencing pointer to incomplete type
> > filesystems.c:30: dereferencing pointer to incomplete type
> > filesystems.c:30: warning: value computed is not used
> ....
>
> Yeh... sorry 'bout that.
>
> Patch sent to Linus, but didn't make it into 2.5.6-pre1.
That's ok, it was trivial to workaround.
Jean
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-02-26 22:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-26 20:04 [2.5.5 ERROR] Can't compile without NFS Jean Tourrilhes
2002-02-26 21:50 ` Neil Brown
2002-02-26 22:02 ` Jean Tourrilhes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®