TNG 2.1 compile errors

Luke Kenneth Casson Leighton lkcl at samba.org
Mon Apr 10 00:58:27 GMT 2000


hm, this is the utmp stuff.

that's not been cut over properly from cvs main.

On Mon, 10 Apr 2000, James Nord wrote:

> Samba tng 2.1 fails compiling :-(
> 
> /James
> 
> configured with:
> /configure --prefix=/usr/local/samba_tng --program-
> suffix=_tng --with-dfs --with-automount --with-
> smbmount --with-syslog --with-profile --with-utmp --
> with-msdfs
> 
> Error:
> Using FLAGS = -O -Iinclude -I./include -I./ubiqx -
> I./smbwrapper  -
> DLOGFILEBASE="/usr/local/samba_tng/var" -
> DSMBLOGFILE="/usr/local/samba_tng/var/log.smb" -
> DNMBLOGFILE="/usr/local/samba_tng/var/log.nmb" -
> DCONFIGFILE="/usr/local/samba_tng/lib/smb.conf" -
> DLMHOSTSFILE="/usr/local/samba_tng/lib/lmhosts"   -
> DSWATDIR="/usr/local/samba_tng/swat" -
> DSBINDIR="/usr/local/samba_tng/sbin" -
> DLOCKDIR="/usr/local/samba_tng/var/locks" -
> DSMBRUN="/usr/local/samba_tng/bin/smbrun" -
> DCODEPAGEDIR="/usr/local/samba_tng/lib/codepages" -
> DDRIVERFILE="/usr/local/samba_tng/lib/printers.def" -
> DBINDIR="/usr/local/samba_tng/bin" -
> DFORMSFILE="/usr/local/samba_tng/lib/ntforms.def" -
> DNTDRIVERSDIR="/usr/local/samba_tng/lib" -
> DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -
> DSMB_PASSWD_PROGRAM="/usr/local/samba_tng/bin/smbpasswd"
>  -
> DSMB_PASSWD_FILE="/usr/local/samba_tng/private/smbpasswd
> " -DSAM_DIR="/usr/local/samba_tng/sam" -
> DSMB_PASSGRP_FILE="/usr/local/samba_tng/private/smbpassg
> rp" -
> DSMB_GROUP_FILE="/usr/local/samba_tng/private/smbgroup" 
> -DSMB_ALIAS_FILE="/usr/local/samba_tng/private/smbalias"
> Using LIBS = -lreadline  -ldl -lcrypt
> Compiling smbd/connection.c
> smbd/connection.c: In function `utmp_yield':
> smbd/connection.c:332: `i' undeclared (first use in 
> this function)
> smbd/connection.c:332: (Each undeclared identifier is 
> reported only once
> smbd/connection.c:332: for each function it appears in.)
> smbd/connection.c: At top level:
> smbd/connection.c:344: conflicting types for 
> `utmp_claim'
> smbd/connection.c:32: previous declaration of 
> `utmp_claim'
> smbd/connection.c: In function `utmp_claim':
> smbd/connection.c:358: `i' undeclared (first use in 
> this function)
> make: *** [smbd/connection.o] Error 1
> 

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
<a href=" http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list