Hi, 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? Regards Dan 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
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 configure-run. 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@oops.co.at
Gerald (Jerry) Carter
2004-Mar-04 19:57 UTC
[Samba] Compiling under kernel 2.6.0 and after
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dan Goodliffe wrote: | Hi, | 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? Not fixed yet. https://bugzilla.samba.org/show_bug.cgi?id=400 cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAR4nkIR7qMdg1EfYRAhB0AJ96bkCfxQi6JGVjIZllwmUUeL7+ewCgqGFB PINX66sW2MGePbKWkupcAb8=mEwZ -----END PGP SIGNATURE-----