Messages in this thread | | | From | Biswajit Sain <> | Subject | Error compiling SMB module for 2.1.48 | Date | Thu, 7 Aug 1997 14:09:33 +0500 (GMT+0500) |
| |
I got the following error while doing "make modules" (after successful "make config; make dep; make clean; make zImage") on linux 2.1.48 : ------------------------------------ [Irrelevant portions cut off]
make[2]: Entering directory `/home/src/linux-2.1.48/fs/smbfs' gcc -D__KERNEL__ -I/home/src/linux-2.1.48/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -D__SMP__ -DMODULE -DMODVERSIONS -include /home/src/linux-2.1.48/include/linux/modversions.h -c -o sock.o sock.c sock.c: In function `smb_catch_keepalive': sock.c:131: structure has no member named `f_inode' sock.c: In function `smb_dont_catch_keepalive': sock.c:178: structure has no member named `f_inode' sock.c: In function `server_sock': sock.c:325: structure has no member named `f_inode' make[2]: *** [sock.o] Error 1 make[2]: Leaving directory `/home/src/linux-2.1.48/fs/smbfs' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/src/linux-2.1.48/fs' make: *** [modules] Error 2 ------------------------------------
On examination, the file linux-2.1.48/include/linux/fs.h which contains "struct file" definition, does not contain a field "f_inode". What am I missing? Has anybody successfully compiled smb as a module under 2.1.48 ?
Please reply to me on this account (sain@wipinfo.soft.net) - I am not subscribed to linux-kernel mailing list. -Sain
-- |-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
Biswajit Sain sain@wipinfo.soft.net
Wipro Infotech, 3/1, 3rd Cross, 30, Mission Road New Thippasandra Main Road, Bangalore-560027 India. Bangalore-560075 India. +91-80-2241730/2275590, ext 3507/3523/3506
|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
| |