smbmount compile error

Vladimir Stavrinov vs at lasp.npi.msu.su
Wed Jan 19 20:41:48 GMT 2000


On  Thu, 20 Jan 2000 06:19:58 +1100   nazard at dragoninc.on.ca  wrote:
-------- 

> On 19 Jan, Vladimir Stavrinov wrote:
> > 
> > Again, smbmount as usual, can't be compiled despite all posted patches:
> > 
> > Compiling client/smbmount.c
> > client/smbmount.c:149: warning: declaration of `fprintf' shadows global declaration
> > client/smbmount.c: In function `chkpath':
> > client/smbmount.c:150: warning: declaration of `fprintf' shadows global declaration
> > client/smbmount.c:163: warning: implicit declaration of function `cli_setup_pkt'
> > client/smbmount.c: In function `close_our_files':
> > client/smbmount.c:242: `NR_OPEN' undeclared (first use in this function)
> > client/smbmount.c:242: (Each undeclared identifier is reported only once
> > client/smbmount.c:242: for each function it appears in.)
> > client/smbmount.c: In function `mount_send_login':
> > client/smbmount.c:263: warning: implicit declaration of function `cli_send_login'
> > client/smbmount.c: In function `send_fs_socket':
> > client/smbmount.c:439: warning: implicit declaration of function `cli_open_sockets'
> > client/smbmount.c: At top level:
> > client/smbmount.c:527: warning: function declaration isn't a prototype
> > client/smbmount.c: In function `process':
> > 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

Yes, the same in mine, but nevertheless...




More information about the samba-ntdom mailing list