Samba Compile problems

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Sun Mar 4 00:49:58 GMT 2001


Hi Matthew,
Assuming from the message you first get, you really DO need to run configure
in the source directory before trying to do a make.  Configure will do all
sorts of tests on your system to determine what system calls your system
supports, which compiler to use, what include files, etc.
If you haven't tried this, do so first.  I've always had good success with
the cvs stuff on HP 9000 systems in this way...
Hope this helps,
Don

-----Original Message-----
From: Matthew Dormer [mailto:matt.dormer at infosource.com.au]
Sent: Friday, March 02, 2001 14:02
To: samba at us5.samba.org
Subject: Samba Compile problems


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


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list