Messages in this thread | | | Date | Tue, 04 Aug 1998 13:10:40 +1000 (EST) | From | Peter Waltenberg <> | Subject | 2.1.112/3 and smbmount |
| |
The main problem is /usr/include/linux/smb_mount.h
It should look like ... /* * smb_mount.h * * Copyright (C) 1995, 1996 by Paal-Kr. Engstad and Volker Lendecke * Copyright (C) 1997 by Volker Lendecke * */
#ifndef _LINUX_SMB_MOUNT_H #define _LINUX_SMB_MOUNT_H
#include <linux/types.h>
#define SMB_MOUNT_VERSION 6
struct smb_mount_data { int version; __kernel_uid_t mounted_uid; /* Who may umount() this filesystem? */
__kernel_uid_t uid; __kernel_gid_t gid; __kernel_mode_t file_mode; __kernel_mode_t dir_mode; };
#endif
All the smb_mount_data SHOULD be __kernel_ types, it simply can't be used in any other way.
There are a couple of other small patches needed. /usr/include/dirent.h and /usr/include/linux/dirent.h are totally incompatible on libc-6 systems but a couple of #ifdefs fix that. smbumount still won't compile (thats a samba problem), but since it isn't needed just comment it out in the Makefile.
Thanks to those who helped me sort this out.
At least if the kernel header was "sane" to start with, the problems would be vastly reduced .
Peter ---------------------------------- E-Mail: Peter Waltenberg <peterw@dascom.com> Date: 04-Aug-98 Time: 08:33:29
This message was sent by XFMail ----------------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |