Samba 2.1 compile blows up on password.c

Steve Litt slitt at troubleshooters.com
Fri Dec 3 02:27:54 GMT 1999


Hi,

I downloaded samba-2.1-19991130.tar.gz and did a ./configure; make. The
make blew up with an error on password.c:

smbd/password.c:1090: too few arguments to function `cli_session_setup'
make: *** [smbd/password.o] Error 1

I'm using RH6 with a 2.2.5 kernel that I've recompiled several times. I had
no problem compiling 2.0.5a and 2.0.6, but I tried 2.1 a month ago and it
wouldn't compile. Before I go on a fishing expadition inside password.c and
beyond, I was wondering if perhaps my Linux kernel is too old, or whether
there's some other factor I'm missing. 

Below my sig I have the entire portion of the compile of password.c,
including a bunch of warnings.

Thanks

Steve Litt

Compiling smbd/password.c
smbd/password.c: In function `server_validate':
smbd/password.c:1046: warning: passing arg 4 of `cli_session_setup' makes
pointe
r from integer without a cast
smbd/password.c:1046: warning: passing arg 5 of `cli_session_setup' makes
intege
r from pointer without a cast
smbd/password.c:1046: warning: passing arg 6 of `cli_session_setup' makes
pointe
r from integer without a cast
smbd/password.c:1046: warning: passing arg 7 of `cli_session_setup' makes
intege
r from pointer without a cast
smbd/password.c:1046: too few arguments to function `cli_session_setup'
smbd/password.c:1090: warning: passing arg 4 of `cli_session_setup' makes
pointe
r from integer without a cast
smbd/password.c:1090: warning: passing arg 5 of `cli_session_setup' makes
intege
r from pointer without a cast
smbd/password.c:1090: warning: passing arg 6 of `cli_session_setup' makes
pointe
r from integer without a cast
smbd/password.c:1090: warning: passing arg 7 of `cli_session_setup' makes
intege
r from pointer without a cast
smbd/password.c:1090: too few arguments to function `cli_session_setup'
make: *** [smbd/password.o] Error 1
[root at mainserv source]#       




More information about the samba mailing list