TNG 2.1 compile errors

Luke Kenneth Casson Leighton lkcl at samba.org
Mon Apr 10 02:05:57 GMT 2000


okie, then.

On Sun, 9 Apr 2000, Peter Samuelson wrote:

> 
> [Luke Kenneth Casson Leighton]
> > can someone who is doing the utmp work please take a look at this,
> > and provide a fix?
> 
> Well it's just debug messages, and one prototype mismatch, and the
> prototype mismatch shouldn't matter because the two structs involved
> are identical.  So it's easy to make it at least compile.
> 
> Peter
> 
> P.S.  While I'm at it, can you apply the patch for configure.developer?
> I like to compile in a separate tree, which makes it easier to generate
> patches....
> 
> --- samba-tng/source/configure.developer.old	Tue Mar 21 10:59:53 2000
> +++ samba-tng/source/configure.developer	Sun Apr  9 20:53:29 2000
> @@ -1,3 +1,3 @@
>  #!/bin/sh
> -CFLAGS="-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD"; export CFLAGS
> -./configure $*
> +CFLAGS="-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -DDEBUG_PASSWORD" \
> +  `dirname $0`/configure "$@"
> --- samba-tng/source/smbd/connection.c.old	Sat Apr  8 04:03:25 2000
> +++ samba-tng/source/smbd/connection.c	Sun Apr  9 20:47:40 2000
> @@ -328,8 +328,8 @@
>  		return;
>  	}
>  
> -	DEBUG(2,("utmp_yield: conn: user:%s cnum:%d i:%d\n",
> -	  conn->user, conn->cnum, i));
> +	DEBUG(2,("utmp_yield: conn: user:%s cnum:%d\n",
> +	  conn->user, conn->cnum));
>  
>  	memset((char *)&u, '\0', sizeof(struct utmp));
>  	u.ut_type = DEAD_PROCESS;
> @@ -340,7 +340,7 @@
>  	}
>  }
>  
> -static void utmp_claim(const struct connect_record *crec, const connection_struct *conn)
> +static void utmp_claim(const struct connections_data *crec, const connection_struct *conn)
>  {
>  	struct utmp u;
>  
> @@ -354,8 +354,8 @@
>  		return;
>  	}
>  
> -	DEBUG(2,("utmp_claim: conn: user:%s cnum:%d i:%d\n",
> -	  conn->user, conn->cnum, i));
> +	DEBUG(2,("utmp_claim: conn: user:%s cnum:%d\n",
> +	  conn->user, conn->cnum));
>  	DEBUG(2,("utmp_claim: crec: pid:%d, cnum:%d name:%s addr:%s mach:%s DNS:%s\n",
>  	  crec->pid, crec->cnum, crec->name, crec->addr, crec->machine, client_connection_name()));
>  
> 

<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