[Samba] Compiling under kernel 2.6.0 and after

Dan Goodliffe dan at randomdan.homeip.net
Thu Mar 4 19:01:04 GMT 2004

I'm trying to compile Samba 3.0.2a under Linux 2.6.3 (same problem on all
2.6.x kernels) and get the following error chucked out. Only occurs
with --with-smbmount as you might expect from the file it fails on.

Anyone else had this problem and fixed it?


In file included from /usr/include/linux/fs.h:20,
                 from /usr/include/linux/smb_fs.h:15,
                 from client/smbmount.c:27:
/usr/include/linux/radix-tree.h: In function `radix_tree_preload_end':
/usr/include/linux/radix-tree.h:54: error: invalid type argument of `->'
/usr/include/linux/radix-tree.h:54: error: `TIF_NEED_RESCHED' undeclared
(first use in this function)
/usr/include/linux/radix-tree.h:54: error: (Each undeclared identifier is
reported only once
/usr/include/linux/radix-tree.h:54: error: for each function it appears in.)
make: *** [client/smbmount.o] Error 1

More information about the samba mailing list