smbmount compile error

Luke Kenneth Casson Leighton lkcl at samba.org
Wed Jan 19 19:28:43 GMT 2000


vladimir, do a complete cvs checkout, not a cvs update.  this is a
frequent problem with public cvs.

> > client/smbmount.c:727: warning: implicit declaration of function `cli_send_logout'
> > client/smbmount.c:634: warning: unused variable `dbf'
> > make: *** [client/smbmount.o] Error 1                                                
> > 
> 
> I can't reproduce it here. I checked out a fresh tree to be sure. In my
> copy, line 149 is the start of chkpath(), not a fprintf call. With my
> patch, NR_OPEN should not be an issue. Here's the md5sum of the
> original and after my patch

> 1)	bin/libsmb.so and bin/libmsrpc.so need $(LDFLAGS)

that should be automtically sorted out through @LDSHFLAGS@

> 2)	bin/smbmount, bin/smbmnt, bin/smbumount do not need $(RPCLIB)

fixing this.



More information about the samba-ntdom mailing list