Can't compile without NFS

Can't compile without NFS

Post by Jean Tourrilhe » Thu, 28 Feb 2002 05:10:13



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Can't compile without NFS

Post by Neil Brow » Thu, 28 Feb 2002 07:00:10



Quote:> 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/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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Can't compile without NFS

Post by Jean Tourrilhe » Thu, 28 Feb 2002 07:10:09




> > 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. It's not bad canned meat...

Thanks for your time.  We at I.S.P.O.T. (The International Society
for the Preservation Of Trees (URL http://www.local-touch.com/ISPOT/)) feel
that electronic messages are great for getting the word out while preserving
our friend the tree.  Anyway, please stop by our home page!

Thanks again!

SusieQ

2. DVD Backup files

3. Setting up Realtek rtl8180 wlan card

4. How to transmit data without knowing it's structure at compile time

5. How do i make a single repeating process...

6. net/ipv4/route.c doesn't compile without /proc support

7. ..Free Cash Grants..

8. Can't compile without mkstubs - Where can I get it???

9. Can't compile 2.2.9 WITHOUT SMP support

10. -ac series won't compile without fix

11. Unmounting NFS without NFS server

12. 2.6.0 NFS server giving 'stale NFS handle' errors