last chance for 2.0.6

Jason Haar Jason.Haar at trimble.co.nz
Tue Nov 9 21:21:10 GMT 1999


On Tue, Nov 09, 1999 at 11:31:49PM +1100, Andrew Tridgell wrote:
> If you have any last minute bug fixes to get in then speak now!

I cannot get anything above 2.0.4 to compile under RedHat 5.1.

2.0.6pre3-19991102.src.rpm fails to build under 5.1 (works fine under 6.0)
when compiled as:

 ./configure  --prefix=/usr --libdir=/etc --with-lockdir=/var/lock/samba
--with-privatedir=/etc --with-swatdir=/usr/share/swat --with-smbmount \
--with-automount --with-quotas --with-pam

I've attached where the build fails.


 

-- 
Cheers

Jason Haar

Unix/Network Specialist, Trimble NZ
Phone: +64 3 3391 377 Fax: +64 3 3391 417
     
-------------- next part --------------
Script started on Wed Nov 10 10:10:01 1999
[root at thoth source]# make
Using FLAGS =  -O -Iinclude -I./include -I./ubiqx -I./smbwrapper  -DSMBLOGFILE="/var/log/samba/log.smb" -DNMBLOGFILE="/var/log/samba/log.nmb" -DCONFIGFILE="/etc/smb.conf" -DLMHOSTSFILE="/etc/lmhosts"   -DSWATDIR="/usr/share/swat" -DSBINDIR="/usr/sbin" -DLOCKDIR="/var/lock/samba" -DSMBRUN="/usr/bin/smbrun" -DCODEPAGEDIR="/etc/codepages" -DDRIVERFILE="/etc/printers.def" -DBINDIR="/usr/bin" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/etc/smbpasswd"
Using FLAGS32 =  -O -Iinclude -I./include -I./ubiqx -I./smbwrapper  -DSMBLOGFILE="/var/log/samba/log.smb" -DNMBLOGFILE="/var/log/samba/log.nmb" -DCONFIGFILE="/etc/smb.conf" -DLMHOSTSFILE="/etc/lmhosts"   -DSWATDIR="/usr/share/swat" -DSBINDIR="/usr/sbin" -DLOCKDIR="/var/lock/samba" -DSMBRUN="/usr/bin/smbrun" -DCODEPAGEDIR="/etc/codepages" -DDRIVERFILE="/etc/printers.def" -DBINDIR="/usr/bin" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/etc/smbpasswd"
Using LIBS = -lreadline -ldl  -lcrypt -lpam
Compiling client/smbmount.c
In file included from /usr/include/linux/smb_fs.h:11,
                 from client/smbmount.c:28:
/usr/include/linux/smb.h:47: warning: `PVAL' redefined
include/byteorder.h:136: warning: this is the location of the previous definition
/usr/include/linux/smb.h:76: warning: `smb_base' redefined
include/smb.h:1322: warning: this is the location of the previous definition
In file included from /usr/include/linux/fs.h:12,
                 from /usr/include/linux/smb_fs.h:12,
                 from client/smbmount.c:28:
/usr/include/linux/wait.h:4: warning: `WNOHANG' redefined
/usr/include/waitflags.h:25: warning: this is the location of the previous definition
/usr/include/linux/wait.h:5: warning: `WUNTRACED' redefined
/usr/include/waitflags.h:26: warning: this is the location of the previous definition
In file included from /usr/include/linux/net.h:23,
                 from /usr/include/linux/fs.h:15,
                 from /usr/include/linux/smb_fs.h:12,
                 from client/smbmount.c:28:
/usr/include/linux/socket.h:38: warning: `SCM_RIGHTS' redefined
/usr/include/socketbits.h:216: warning: this is the location of the previous definition
/usr/include/linux/socket.h:41: warning: `SOCK_STREAM' redefined
/usr/include/socketbits.h:40: warning: this is the location of the previous definition
/usr/include/linux/socket.h:42: warning: `SOCK_DGRAM' redefined
/usr/include/socketbits.h:43: warning: this is the location of the previous definition
/usr/include/linux/socket.h:43: warning: `SOCK_RAW' redefined
/usr/include/socketbits.h:45: warning: this is the location of the previous definition
/usr/include/linux/socket.h:44: warning: `SOCK_RDM' redefined
/usr/include/socketbits.h:47: warning: this is the location of the previous definition
/usr/include/linux/socket.h:45: warning: `SOCK_SEQPACKET' redefined
/usr/include/socketbits.h:50: warning: this is the location of the previous definition
/usr/include/linux/socket.h:46: warning: `SOCK_PACKET' redefined
/usr/include/socketbits.h:54: warning: this is the location of the previous definition
/usr/include/linux/socket.h:53: warning: `AF_UNSPEC' redefined
/usr/include/socketbits.h:82: warning: this is the location of the previous definition
/usr/include/linux/socket.h:54: warning: `AF_UNIX' redefined
/usr/include/socketbits.h:84: warning: this is the location of the previous definition
/usr/include/linux/socket.h:55: warning: `AF_INET' redefined
/usr/include/socketbits.h:86: warning: this is the location of the previous definition
/usr/include/linux/socket.h:56: warning: `AF_AX25' redefined
/usr/include/socketbits.h:87: warning: this is the location of the previous definition
/usr/include/linux/socket.h:57: warning: `AF_IPX' redefined
/usr/include/socketbits.h:88: warning: this is the location of the previous definition
/usr/include/linux/socket.h:58: warning: `AF_APPLETALK' redefined
/usr/include/socketbits.h:89: warning: this is the location of the previous definition
/usr/include/linux/socket.h:59: warning: `AF_NETROM' redefined
/usr/include/socketbits.h:90: warning: this is the location of the previous definition
/usr/include/linux/socket.h:60: warning: `AF_BRIDGE' redefined
/usr/include/socketbits.h:91: warning: this is the location of the previous definition
/usr/include/linux/socket.h:61: warning: `AF_AAL5' redefined
/usr/include/socketbits.h:92: warning: this is the location of the previous definition
/usr/include/linux/socket.h:62: warning: `AF_X25' redefined
/usr/include/socketbits.h:93: warning: this is the location of the previous definition
/usr/include/linux/socket.h:66: warning: `AF_ROSE' redefined
/usr/include/socketbits.h:95: warning: this is the location of the previous definition
/usr/include/linux/socket.h:67: warning: `AF_MAX' redefined
/usr/include/socketbits.h:103: warning: this is the location of the previous definition
/usr/include/linux/socket.h:68: warning: `AF_PACKET' redefined
/usr/include/socketbits.h:102: warning: this is the location of the previous definition
/usr/include/linux/socket.h:71: warning: `PF_UNSPEC' redefined
/usr/include/socketbits.h:58: warning: this is the location of the previous definition
/usr/include/linux/socket.h:72: warning: `PF_UNIX' redefined
/usr/include/socketbits.h:60: warning: this is the location of the previous definition
/usr/include/linux/socket.h:73: warning: `PF_INET' redefined
/usr/include/socketbits.h:62: warning: this is the location of the previous definition
/usr/include/linux/socket.h:74: warning: `PF_AX25' redefined
/usr/include/socketbits.h:63: warning: this is the location of the previous definition
/usr/include/linux/socket.h:75: warning: `PF_IPX' redefined
/usr/include/socketbits.h:64: warning: this is the location of the previous definition
/usr/include/linux/socket.h:76: warning: `PF_APPLETALK' redefined
/usr/include/socketbits.h:65: warning: this is the location of the previous definition
/usr/include/linux/socket.h:77: warning: `PF_NETROM' redefined
/usr/include/socketbits.h:66: warning: this is the location of the previous definition
/usr/include/linux/socket.h:78: warning: `PF_BRIDGE' redefined
/usr/include/socketbits.h:67: warning: this is the location of the previous definition
/usr/include/linux/socket.h:79: warning: `PF_AAL5' redefined
/usr/include/socketbits.h:68: warning: this is the location of the previous definition
/usr/include/linux/socket.h:80: warning: `PF_X25' redefined
/usr/include/socketbits.h:69: warning: this is the location of the previous definition
/usr/include/linux/socket.h:84: warning: `PF_ROSE' redefined
/usr/include/socketbits.h:71: warning: this is the location of the previous definition
/usr/include/linux/socket.h:85: warning: `PF_MAX' redefined
/usr/include/socketbits.h:79: warning: this is the location of the previous definition
/usr/include/linux/socket.h:86: warning: `PF_PACKET' redefined
/usr/include/socketbits.h:78: warning: this is the location of the previous definition
/usr/include/linux/socket.h:91: warning: `MSG_OOB' redefined
/usr/include/socketbits.h:137: warning: this is the location of the previous definition
/usr/include/linux/socket.h:92: warning: `MSG_PEEK' redefined
/usr/include/socketbits.h:139: warning: this is the location of the previous definition
/usr/include/linux/socket.h:93: warning: `MSG_DONTROUTE' redefined
/usr/include/socketbits.h:141: warning: this is the location of the previous definition
/usr/include/linux/socket.h:95: warning: `MSG_PROXY' redefined
/usr/include/socketbits.h:145: warning: this is the location of the previous definition
/usr/include/linux/socket.h:112: warning: `IPTOS_MINCOST' redefined
/usr/include/netinet/ip.h:191: warning: this is the location of the previous definition
/usr/include/linux/socket.h:132: warning: `TCP_NODELAY' redefined
/usr/include/netinet/tcp.h:158: warning: this is the location of the previous definition
/usr/include/linux/socket.h:133: warning: `TCP_MAXSEG' redefined
/usr/include/netinet/tcp.h:159: warning: this is the location of the previous definition
In file included from /usr/include/linux/smb_fs.h:12,
                 from client/smbmount.c:28:
/usr/include/linux/fs.h:83: warning: `MS_RMT_MASK' redefined
/usr/include/sys/mount.h:51: warning: this is the location of the previous definition
/usr/include/linux/fs.h:88: warning: `MS_MGC_VAL' redefined
/usr/include/sys/mount.h:56: warning: this is the location of the previous definition
/usr/include/linux/fs.h:121: warning: `BLKROSET' redefined
/usr/include/sys/mount.h:64: warning: this is the location of the previous definition
/usr/include/linux/fs.h:122: warning: `BLKROGET' redefined
/usr/include/sys/mount.h:65: warning: this is the location of the previous definition
/usr/include/linux/fs.h:123: warning: `BLKRRPART' redefined
/usr/include/sys/mount.h:66: warning: this is the location of the previous definition
/usr/include/linux/fs.h:124: warning: `BLKGETSIZE' redefined
/usr/include/sys/mount.h:67: warning: this is the location of the previous definition
/usr/include/linux/fs.h:125: warning: `BLKFLSBUF' redefined
/usr/include/sys/mount.h:68: warning: this is the location of the previous definition
/usr/include/linux/fs.h:126: warning: `BLKRASET' redefined
/usr/include/sys/mount.h:69: warning: this is the location of the previous definition
/usr/include/linux/fs.h:127: warning: `BLKRAGET' redefined
/usr/include/sys/mount.h:70: warning: this is the location of the previous definition
In file included from /usr/include/linux/smb_fs.h:13,
                 from client/smbmount.c:28:
/usr/include/linux/in.h:73: warning: `IN_CLASSA' redefined
/usr/include/netinet/in.h:102: warning: this is the location of the previous definition
/usr/include/linux/in.h:79: warning: `IN_CLASSB' redefined
/usr/include/netinet/in.h:108: warning: this is the location of the previous definition
/usr/include/linux/in.h:85: warning: `IN_CLASSC' redefined
/usr/include/netinet/in.h:114: warning: this is the location of the previous definition
/usr/include/linux/in.h:90: warning: `IN_CLASSD' redefined
/usr/include/netinet/in.h:119: warning: this is the location of the previous definition
/usr/include/linux/in.h:94: warning: `IN_EXPERIMENTAL' redefined
/usr/include/netinet/in.h:122: warning: this is the location of the previous definition
/usr/include/linux/in.h:95: warning: `IN_BADCLASS' redefined
/usr/include/netinet/in.h:123: warning: this is the location of the previous definition
/usr/include/linux/in.h:98: warning: `INADDR_ANY' redefined
/usr/include/netinet/in.h:126: warning: this is the location of the previous definition
/usr/include/linux/in.h:101: warning: `INADDR_BROADCAST' redefined
/usr/include/netinet/in.h:128: warning: this is the location of the previous definition
/usr/include/linux/in.h:104: warning: `INADDR_NONE' redefined
/usr/include/netinet/in.h:130: warning: this is the location of the previous definition
/usr/include/linux/in.h:114: warning: `INADDR_UNSPEC_GROUP' redefined
/usr/include/netinet/in.h:140: warning: this is the location of the previous definition
/usr/include/linux/in.h:115: warning: `INADDR_ALLHOSTS_GROUP' redefined
/usr/include/netinet/in.h:141: warning: this is the location of the previous definition
/usr/include/linux/in.h:116: warning: `INADDR_MAX_LOCAL_GROUP' redefined
/usr/include/netinet/in.h:143: warning: this is the location of the previous definition
In file included from /usr/include/linux/smb_fs.h:11,
                 from client/smbmount.c:28:
/usr/include/linux/smb.h:83: conflicting types for `PROTOCOL_NONE'
include/smb.h:1492: previous declaration of `PROTOCOL_NONE'
/usr/include/linux/smb.h:84: conflicting types for `PROTOCOL_CORE'
include/smb.h:1492: previous declaration of `PROTOCOL_CORE'
/usr/include/linux/smb.h:85: conflicting types for `PROTOCOL_COREPLUS'
include/smb.h:1492: previous declaration of `PROTOCOL_COREPLUS'
/usr/include/linux/smb.h:86: conflicting types for `PROTOCOL_LANMAN1'
include/smb.h:1492: previous declaration of `PROTOCOL_LANMAN1'
/usr/include/linux/smb.h:87: conflicting types for `PROTOCOL_LANMAN2'
include/smb.h:1492: previous declaration of `PROTOCOL_LANMAN2'
/usr/include/linux/smb.h:89: conflicting types for `PROTOCOL_NT1'
include/smb.h:1492: previous declaration of `PROTOCOL_NT1'
/usr/include/linux/smb.h:93: conflicting types for `CASE_LOWER'
include/smb.h:1505: previous declaration of `CASE_LOWER'
/usr/include/linux/smb.h:95: conflicting types for `CASE_UPPER'
include/smb.h:1505: previous declaration of `CASE_UPPER'
In file included from /usr/include/linux/vfs.h:4,
                 from /usr/include/linux/fs.h:14,
                 from /usr/include/linux/smb_fs.h:12,
                 from client/smbmount.c:28:
/usr/include/asm/statfs.h:12: redefinition of `struct statfs'
/usr/include/asm/statfs.h:20: parse error before `__kernel_fsid_t'
/usr/include/asm/statfs.h:20: warning: no semicolon at end of struct or union
/usr/include/asm/statfs.h:23: parse error before `}'
In file included from /usr/include/linux/net.h:23,
                 from /usr/include/linux/fs.h:15,
                 from /usr/include/linux/smb_fs.h:12,
                 from client/smbmount.c:28:
/usr/include/linux/socket.h:9: redefinition of `struct sockaddr'
/usr/include/linux/socket.h:14: redefinition of `struct linger'
/usr/include/linux/socket.h:26: redefinition of `struct msghdr'
In file included from /usr/include/linux/smb_fs.h:13,
                 from client/smbmount.c:28:
/usr/include/linux/in.h:25: conflicting types for `IPPROTO_IP'
/usr/include/netinet/in.h:33: previous declaration of `IPPROTO_IP'
/usr/include/linux/in.h:26: conflicting types for `IPPROTO_ICMP'
/usr/include/netinet/in.h:34: previous declaration of `IPPROTO_ICMP'
/usr/include/linux/in.h:27: conflicting types for `IPPROTO_IGMP'
/usr/include/netinet/in.h:35: previous declaration of `IPPROTO_IGMP'
/usr/include/linux/in.h:28: conflicting types for `IPPROTO_IPIP'
/usr/include/netinet/in.h:36: previous declaration of `IPPROTO_IPIP'
/usr/include/linux/in.h:29: conflicting types for `IPPROTO_TCP'
/usr/include/netinet/in.h:37: previous declaration of `IPPROTO_TCP'
/usr/include/linux/in.h:30: conflicting types for `IPPROTO_EGP'
/usr/include/netinet/in.h:38: previous declaration of `IPPROTO_EGP'
/usr/include/linux/in.h:31: conflicting types for `IPPROTO_PUP'
/usr/include/netinet/in.h:39: previous declaration of `IPPROTO_PUP'
/usr/include/linux/in.h:32: conflicting types for `IPPROTO_UDP'
/usr/include/netinet/in.h:40: previous declaration of `IPPROTO_UDP'
/usr/include/linux/in.h:33: conflicting types for `IPPROTO_IDP'
/usr/include/netinet/in.h:41: previous declaration of `IPPROTO_IDP'
/usr/include/linux/in.h:35: conflicting types for `IPPROTO_RAW'
/usr/include/netinet/in.h:45: previous declaration of `IPPROTO_RAW'
/usr/include/linux/in.h:37: conflicting types for `IPPROTO_MAX'
/usr/include/netinet/in.h:47: previous declaration of `IPPROTO_MAX'
/usr/include/linux/in.h:41: redefinition of `struct in_addr'
/usr/include/linux/in.h:48: redefinition of `struct ip_mreq'
/usr/include/linux/in.h:56: redefinition of `struct sockaddr_in'
In file included from /usr/include/linux/in.h:120,
                 from /usr/include/linux/smb_fs.h:13,
                 from client/smbmount.c:28:
/usr/include/asm/byteorder.h:22: conflicting types for `ntohl'
/usr/include/netinet/in.h:204: previous declaration of `ntohl'
/usr/include/asm/byteorder.h:24: conflicting types for `htonl'
/usr/include/netinet/in.h:206: previous declaration of `htonl'
client/smbmount.c: In function `send_fs_socket':
client/smbmount.c:296: storage size of `conn_options' isn't known
client/smbmount.c:308: `SMB_CASE_DEFAULT' undeclared (first use this function)
client/smbmount.c:308: (Each undeclared identifier is reported only once
client/smbmount.c:308: for each function it appears in.)
client/smbmount.c:319: `SMB_IOC_NEWCONN' undeclared (first use this function)
make: *** [client/smbmount.o] Error 1
[root at thoth source]# exit

Script done on Wed Nov 10 10:10:04 1999


More information about the samba-technical mailing list