Compile Problem with 2.05a under Linux

Michael Sloan michael at theprintinghouse.com
Mon Aug 16 12:09:10 GMT 1999


I'm using Samba 2.03 under Slackware Linux and wish to upgrade to 2.05a,
but have been unable to compile from source. My system is Slackware
linux, kernel 2.2.9 running on a Pentium-200. I searched the current
mailing list archive for anyone with similar problems to no avail, so
I'm posting here.

Here is the output from 'make', after typing: './configure
--with-smbmount'

Using FLAGS =  -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-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"  
-DSWATDIR="/usr/local/samba/swat"
-DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks"
-DSMBRUN="/usr/local/samba/bin/smbrun"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin"
-DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
Using FLAGS32 =  -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-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"  
-DSWATDIR="/usr/local/samba/swat"
-DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks"
-DSMBRUN="/usr/local/samba/bin/smbrun"
-DCODEPAGEDIR="/usr/local/samba/lib/codepages"
-DDRIVERFILE="/usr/local/samba/lib/printers.def"
-DBINDIR="/usr/local/samba/bin"
-DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd"
Using LIBS = -ldl 
Compiling smbd/server.c

In file included from /usr/include/sys/statfs.h:26,
                 from include/includes.h:302,
                 from smbd/server.c:22:
/usr/include/statfsbuf.h:23: redefinition of `struct statfs'
make: *** [smbd/server.o] Error 1

Can anyone suggest a solution ? C is definitely not my specialty. Thanks
for any help provided.
-- 
Michael Sloan
The Printing House, Ltd.
michael at theprintinghouse.com


More information about the samba mailing list