smbmount.c cannot find smb_sf.h (fwd)
Tim Potter
tpot at acsys.anu.edu.au
Fri Nov 27 21:56:16 GMT 1998
---------- Forwarded message ----------
Date: Fri, 27 Nov 1998 11:29:48 -0800
From: Richard Hew <rhew at platon.com>
To: "'tpot at samba.org'" <tpot at samba.org>
Subject: Re: smbmount.c cannot find smb_sf.h
I am having problem compiling smbmount.c on my AIX 4.2.1 environment.
That file was extracted from samba-1.9.18p10 (for AIX4) which was downloaded from /samba.bstc.net/samba/samba.html
This is the error message I got when I ran the 'make installbin' command :-
Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb" -DNMBLOGFILE="/usr/local/samba/var/log.nmb"
-DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"
-DWEB_ROOT="/usr/local/samba" -DLOCKDIR="/usr/local/samba/var/locks" -DSMBRUN="/usr/local/samba/bin/smbrun"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DWORKGROUP="WORKGROUP" -DGUEST_ACCOUNT="nobody"
-DDRIVERFILE="/usr/local/samba/lib/printers.def" -DAIX -DFAST_SHARE_MODES
-DSMB_PASSWD="/usr/local/samba/bin/smbpasswd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
Using LIBS =
Compiling smbmount.c
"smbmount.c", line 26.10: 1506-296 (S) #include file <linux/version.h> not found.
"smbmount.c", line 29.2: 1506-205 (S) #error this code will only compile on versions of linux after 2.1.70
"smbmount.c", line 33.10: 1506-296 (S) #include file <linux/smb_fs.h> not found.
"smbmount.c", line 34.15: 1506-007 (S) "struct smb_conn_opt" is undefined.
"smbmount.c", line 207.25: 1506-045 (S) Undeclared identifier NR_OPEN.
"smbmount.c", line 276.33: 1506-045 (S) Undeclared identifier SMB_IOC_NEWCONN.
make: The error code from the last command is 1.
Stop.
I would appreciate very much if you could help me here or at least tell me where I can get the missing include file.
Thanks.
More information about the samba-technical
mailing list