problem building samba 2.2.4 on linux-2.5.13

Urban Widmark urban at teststation.com
Sun May 5 02:53:02 GMT 2002


On Sat, 4 May 2002, Treeve Jelbert wrote:

> kernel:   linux-2.5.13 with smbfs enabled
> gcc: 3.0.4
> compile log attached

[begin snip of compile error caused by smbmount including kernel headers]
Compiling client/smbmount.c
In file included from /usr/include/linux/vfs.h:4,
                 from /usr/include/linux/fs.h:14,
                 from /usr/include/linux/smb_fs.h:15,
                 from client/smbmount.c:28:
/usr/include/asm/statfs.h:12: redefinition of `struct statfs'
make: *** [client/smbmount.o] Error 1
[end snip]


It builds for me on RH7.1 & 7.2. What system is this on?
(distro? glibc version?)

/usr/include/asm and /usr/include/linux aren't symlinks into any 2.5.x
kernel tree, are they? Because that would be wrong.


I have a patch to make smbmount not include any kernel headers (as well as
some other changes), but I didn't have time to test it properly before I
heard that 2.2.4 was on it's way out.

/Urban





More information about the samba-technical mailing list