Bug 1967 - smbmount.c doesn't compile on Linux 2.6.9
smbmount.c doesn't compile on Linux 2.6.9
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: smbmount (unmaintained)
3.0.7
x86 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-25 02:03 UTC by Laurent PELLISSIER
Modified: 2005-08-24 10:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent PELLISSIER 2004-10-25 02:03:24 UTC
smbmount.c doesn't compile with a vanilla 2.6.9 Linux kernel (unpatched kernel
sources taken from kernel.org). It compiles fine on Linux 2.6.8.1 on the same
computer.


Compiling client/smbmount.c
In file included from /usr/include/linux/fs.h:19,
                 from /usr/include/linux/smb_fs.h:15,
                 from client/smbmount.c:27:
/usr/include/linux/prio_tree.h:22: error: parse error before "pgoff_t"
/usr/include/linux/prio_tree.h:27: error: parse error before "pgoff_t"
/usr/include/linux/prio_tree.h: In function `prio_tree_iter_init':
/usr/include/linux/prio_tree.h:29: error: `iter' undeclared (first use in this
function)
/usr/include/linux/prio_tree.h:29: error: (Each undeclared identifier is
reported only once
/usr/include/linux/prio_tree.h:29: error: for each function it appears in.)
/usr/include/linux/prio_tree.h:29: error: `root' undeclared (first use in this
function)
/usr/include/linux/prio_tree.h:30: error: `r_index' undeclared (first use in
this function)
make: *** [client/smbmount.o] Erreur 1
Comment 1 Laurent PELLISSIER 2005-01-20 02:49:40 UTC
Samba 3.0.10 compiles fine now on Linux 2.6.10.
Comment 2 Gerald (Jerry) Carter 2005-01-20 06:50:30 UTC
Thanks for the update.
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:20:27 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.