Linux-2.1.48 smbfs/sock.c does not compile Here is what it says: make[2]: Entering directory `/usr/src/beta/linux/fs/smbfs' gcc -D__KERNEL__ -I/usr/src/beta/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -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 `/usr/src/beta/linux/fs/smbfs' Francois D. Genolini (home) francois@jeese.demon.co.uk Aberdeen (Ecosse/UK) (work) Francois.Genolini@Fugro-UDI.co.uk
>From /usr/src/linux/README:- make sure your /usr/include/asm, /usr/include/linux, and /usr/include/scsi directories are just symlinks to the kernel sources: cd /usr/include rm -rf asm linux scsi ln -s /usr/src/linux/include/asm-i386 asm ln -s /usr/src/linux/include/linux linux ln -s /usr/src/linux/include/scsi scsi Try this. Luck, Eloy.- Francois D. Genolini <francois@jeese.demon.co.uk> wrote: : Linux-2.1.48 smbfs/sock.c does not compile : Here is what it says: : make[2]: Entering directory `/usr/src/beta/linux/fs/smbfs' : gcc -D__KERNEL__ -I/usr/src/beta/linux/include -Wall -Wstrict-prototypes : -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 : -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -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 `/usr/src/beta/linux/fs/smbfs' : Francois D. Genolini (home) francois@jeese.demon.co.uk : Aberdeen (Ecosse/UK) (work) Francois.Genolini@Fugro-UDI.co.uk -- Eloy A. Paris Information Technology Department Rockwell Automation de Venezuela Telephone: +58-2-9432311 Fax: +58-2-9430323
Hi all> Date: 11 Aug 1997 02:19:02 GMT > From: "Eloy A. Paris" <eparis@ven.ra.rockwell.com> > To: samba@arvidsjaur.anu.edu.au > Subject: Re: Linux-2.1.48 smbfs/sock.c does not compile > Message-ID: <5slsqm$4s5$1@zeus.ven.ra.rockwell.com> > > >From /usr/src/linux/README: > > - make sure your /usr/include/asm, /usr/include/linux, and /usr/include/scsi > directories are just symlinks to the kernel sources:[ shell commands deleted ] This should be done automatically during "make *config".> > Francois D. Genolini <francois@jeese.demon.co.uk> wrote: > : Linux-2.1.48 smbfs/sock.c does not compile > > : Here is what it says: > > : make[2]: Entering directory `/usr/src/beta/linux/fs/smbfs' > : gcc -D__KERNEL__ -I/usr/src/beta/linux/include -Wall -Wstrict-prototypes > : -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 > : -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -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 `/usr/src/beta/linux/fs/smbfs'Linus started a huge rewrite of directory cache (dcache) subsystem. smbfs and a lot of other filesystems are uncompilable this time but complete rewrite of smbfs to use the new stuff is in progress (sorry, can't remember who's now working on smbfs)! For now the only choice is to downgrade to 2.1.44-pre3 or somethink similiar. :-( Jan Kratochvil <short@k332.feld.cvut.cz>
Hi On Wed, Aug 13, 1997 at 09:24:42AM +0000, Jan Kratochvil wrote:> Date: Tue, 12 Aug 1997 05:09:44 +0200 > From: Jan Kratochvil <short@short.mj.gts.cz> > To: samba@arvidsjaur.anu.edu.au > Cc: francois@jeese.demon.co.uk > Subject: Re: Linux-2.1.48 smbfs/sock.c does not compile > Message-ID: <19970812050944.32711@short.mj.gts.cz> > > Hi all > > > Francois D. Genolini <francois@jeese.demon.co.uk> wrote: > > : Linux-2.1.48 smbfs/sock.c does not compile > > > > : Here is what it says: > > > > : make[2]: Entering directory `/usr/src/beta/linux/fs/smbfs' > > : gcc -D__KERNEL__ -I/usr/src/beta/linux/include -Wall -Wstrict-prototypes > > : -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 > > : -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -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 `/usr/src/beta/linux/fs/smbfs' > > Linus started a huge rewrite of directory cache (dcache) subsystem. smbfs > and a lot of other filesystems are uncompilable this time but complete rewrite > of smbfs to use the new stuff is in progress (sorry, can't remember who's now > working on smbfs)! For now the only choice is to downgrade to 2.1.44-pre3 or > somethink similiar. :-(Sorry for self-follow up but I have seen some article in linux-kernel@vger.rutgers.edu which fixes the current [2.1.49] implementation of smbfs. Please see "http://www.linuxhq.com/patch/21-p0788.html". Rewriting is in progress (at least I hope) anyway... Jan Kratochvil <short@k332.feld.cvut.cz>