smbmount won't compile
Yan Seiner
yan at cardinalengineering.com
Fri Jan 11 07:25:55 GMT 2002
I am running RH 6.2, variously upgraded. I last compiled 2.0.7 with no
problems.
Kernel is generic 2.2.19 kernel, no patches.
when I do a ./configure --with-smbclient, I get:
Compiling client/smbmount.c
In file included from /usr/include/linux/smb_fs.h:12,
from client/smbmount.c:28:
/usr/include/linux/dirent.h:4: redefinition of `struct dirent'
/usr/include/linux/dirent.h:6: parse error before `__kernel_off_t'
/usr/include/linux/dirent.h:6: warning: no semicolon at end of struct or
union
/usr/include/linux/dirent.h:9: parse error before `}'
make: *** [client/smbmount.o] Error 1
This is samba-2.2.2 from source, obviously ;-)
Any ideas? I don't think I really need smbmount on this box, but it's a
nice to have for testing sometimes.
--Yan
More information about the samba
mailing list