[Samba] Compiling under kernel 2.6.0 and after

Stefan G. Weichinger monitor at oops.co.at
Thu Mar 4 19:50:56 GMT 2004

Hello, Dan,

Donnerstag, 04. März 2004, 20:01 you wrote:

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

DG> Anyone else had this problem and fixed it?

I am sorry to say "No".

I compiled every 2.6.x-kernel until now and this has not happened to
me. Currently my testbox runs 2.6.4-rc2 with Samba 3.0.2a fine and
stable. With --smbmount.

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

line 54 of my current /usr/include/linux/radix-tree.h seems to enable
preemption ...


Maybe just start over with a freshly extracted samba-tree and a new

Just a guess. In the background my testbox does just that fine under
2.6.4rc2 ...

Maybe it fails right after hitting "Send mail" ;)

best regards,
Stefan G. Weichinger
mailto:monitor at oops.co.at

More information about the samba mailing list