Samba Compile problems

Matthew Dormer matt.dormer at infosource.com.au
Fri Mar 2 19:02:13 GMT 2001


I Posted this message a couple of days ago and have had no responses, Am I 
posting in the wrong place or can nobody help me?

matt.


>I have downloaded what I think is the latest CVS sources using:
>
>cvs -d :pserver:cvs at pserver.samba.org:/cvsroot login
>cvs -d :pserver:cvs at pserver.samba.org:/cvsroot co samba
>
>Changed to the samba/source directory and done ./configure
>
>when I do a make i get:
>
>make: *** Warning: File `Makefile.in' has modification time in the future 
>(2001-02-27 13:09:49 > 2001-02-27 07:20:20)
>WARNING: you need to run configure
>WARNING: you need to run ./config.status
>Using FLAGS =  -O -Iinclude -I./include -I./ubiqx 
>-I./smbwrapper  -DLOGFILEBASE="/usr/local/samba/var" 
>-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" -DFORMSFILE="" -DNTDRIVERSDIR="" 
>-DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" 
>-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" 
>-DPRIVATE_DIR="/usr/local/samba/private"
>Using FLAGS32 =  -O -Iinclude -I./include -I./ubiqx 
>-I./smbwrapper  -DLOGFILEBASE="/usr/local/samba/var" 
>-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" -DFORMSFILE="" -DNTDRIVERSDIR="" 
>-DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" 
>-DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" 
>-DPRIVATE_DIR="/usr/local/samba/private"
>Using LIBS = -ldl -lcrypt -lnsl
>Compiling smbd/server.c
>In file included from /usr/include/linux/fs.h:12,
>                  from /usr/include/linux/capability.h:13,
>                  from /usr/include/sys/capability.h:23,
>                  from include/includes.h:323,
>                  from smbd/server.c:23:
>/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
>/usr/include/bits/waitflags.h:26: warning: this is the location of the 
>previous definition
>/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
>/usr/include/bits/waitflags.h:27: warning: this is the location of the 
>previous definition
>In file included from /usr/include/linux/capability.h:13,
>                  from /usr/include/sys/capability.h:23,
>                  from include/includes.h:323,
>                  from smbd/server.c:23:
>/usr/include/linux/fs.h:46: warning: `BLOCK_SIZE' redefined
>/usr/include/sys/mount.h:28: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:85: warning: `MS_RDONLY' redefined
>/usr/include/sys/mount.h:37: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:86: warning: `MS_NOSUID' redefined
>/usr/include/sys/mount.h:39: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:87: warning: `MS_NODEV' redefined
>/usr/include/sys/mount.h:41: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:88: warning: `MS_NOEXEC' redefined
>/usr/include/sys/mount.h:43: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:89: warning: `MS_SYNCHRONOUS' redefined
>/usr/include/sys/mount.h:45: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:90: warning: `MS_REMOUNT' redefined
>/usr/include/sys/mount.h:47: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:91: warning: `MS_MANDLOCK' redefined
>/usr/include/sys/mount.h:49: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:93: warning: `S_APPEND' redefined
>/usr/include/sys/mount.h:53: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:94: warning: `S_IMMUTABLE' redefined
>/usr/include/sys/mount.h:55: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:95: warning: `MS_NOATIME' redefined
>/usr/include/sys/mount.h:57: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:96: warning: `MS_NODIRATIME' redefined
>/usr/include/sys/mount.h:59: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:105: warning: `MS_RMT_MASK' redefined
>/usr/include/sys/mount.h:63: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:110: warning: `MS_MGC_VAL' redefined
>/usr/include/sys/mount.h:68: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:145: warning: `BLKROSET' redefined
>/usr/include/sys/mount.h:76: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:146: warning: `BLKROGET' redefined
>/usr/include/sys/mount.h:77: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:147: warning: `BLKRRPART' redefined
>/usr/include/sys/mount.h:78: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:148: warning: `BLKGETSIZE' redefined
>/usr/include/sys/mount.h:79: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:149: warning: `BLKFLSBUF' redefined
>/usr/include/sys/mount.h:80: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:150: warning: `BLKRASET' redefined
>/usr/include/sys/mount.h:81: warning: this is the location of the previous 
>definition
>/usr/include/linux/fs.h:151: warning: `BLKRAGET' redefined
>/usr/include/sys/mount.h:82: warning: this is the location of the previous 
>definition
>In file included from /usr/include/linux/vfs.h:4,
>                  from /usr/include/linux/fs.h:14,
>                  from /usr/include/linux/capability.h:13,
>                  from /usr/include/sys/capability.h:23,
>                  from include/includes.h:323,
>                  from smbd/server.c:23:
>/usr/include/asm/statfs.h:12: redefinition of `struct statfs'
>make: *** [smbd/server.o] Error 1
>
>
>and the make fails. Can anyone help?
>
>Matt Dormer
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

Win a free 66 GB tape drive !
http://www.ecrix.com/extreme/index.cfm?ref=45026





More information about the samba mailing list