smbmount and 2.1.8x kernels

Robert A. Vincent II (bobvin@server.fcfcn.org)
Mon, 16 Mar 1998 20:56:58 -0500

Date:	Mon, 16 Mar 1998 20:56:58 -0500
From:	"Robert A. Vincent II" <bobvin@server.fcfcn.org>
To:	samba-technical@samba.anu.edu.au
Subject: smbmount and 2.1.8x kernels

Tried compiling latest SAMBA with latest kernel. (2.1.90pre3, glibc version 2.0.6, egcs 1.01)

I had to edit /usr/src/linux/include/linux/smb_fs.h slightly, as follows:

--- smb_fs.h~ Sun Mar 15 22:55:37 1998
+++ smb_fs.h Mon Mar 16 20:19:27 1998
@@ -9,5 +9,9 @@
#ifndef _LINUX_SMB_FS_H
#define _LINUX_SMB_FS_H

+#ifdef __KERNEL__
#include <linux/dirent.h>
+#else
+#include <dirent.h>
+#endif
#include <linux/smb.h>

Prolly oughtta modify that to check for
GLIBC version 2, but it works for me!

Also, I had to commount out the
#include <sys/wait.h>
and
#include <linux/fs.h>

lines in smbmount.c and smbumount.c

Cheers!

-- 
Robert A. Vincent II
<robert.vincent@cfcmi.org>