Compiling Samba 2.2.x using latest source-tree (2002-01-27)

Anders Widman andewid at tnonline.net
Sun Jan 27 12:35:04 GMT 2002


The error below was fixed in the latest CVS-source.


2002-01-27 19:48:37, Anders Widman <andewid at tnonline.net> wrote:

>I have a problem compiling the latest Samba source. The problem looks like this:
>
>[root at server source]# make
>Using FLAGS =  -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE64
>_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -DLOGFILEBASE="/usr/local/samba/va
>r" -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" -DCODEPAGEDIR="/usr/local/samba/lib/cod
>epages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/sa
>mba/bin"  -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/u
>sr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/sm
>bpasswd.tdb"
>Using FLAGS32 =  -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGEFILE
>64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -DLOGFILEBASE="/usr/local/samba/
>var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samb
>a/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/b
>in" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/c
>odepages" -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" -DTDB_PASSWD_FILE="/usr/local/samba/private/
>smbpasswd.tdb"
>Using LIBS = -ldl -lnsl -lcrypt
>Compiling smbd/server.c
>In file included from /usr/include/linux/vfs.h:4,
>                 from /usr/include/linux/fs.h:14,
>                 from /usr/include/linux/capability.h:17,
>                 from /usr/include/sys/capability.h:24,
>                 from include/includes.h:330,
>                 from smbd/server.c:22:
>/usr/include/asm/statfs.h:12: redefinition of `struct statfs'
>make: *** [smbd/server.o] Error 1
>
>
>--------------------------------------------------------
>
>
>Is this a known problem, and will it be fixed soon, or is it even a patch for it.
>
>//Anders
>
>
>
>-- 
>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