newbie: where and how to use smbmount with 2.04b ?

Stephen L Arnold arnold.steve at ensco.com
Mon Jun 21 22:49:56 GMT 1999


When the world was young, giulioo at tiscalinet.it (Giulio Orsero) 
carved some runes like this:  

[snip]
> I have a problem doing the above (--with-smbmount) with
> samba-2.0.4b-19990527.src.rpm and rh6.0 (kernel 2.2.6 or 2.2.9):

> Compiling lib/util_sec.c with -fpic
> Compiling smbd/ssl.c with -fpic
> Linking shared library bin/smbwrapper.so
> Compiling client/smbmount.c
> 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.) make: ***
> [client/smbmount.o] Error 1 Bad exit status from /var/tmp/rpm-tmp.24392
> (%build) ====
> 
> Is it a problem related to something on my system or is it a problem with
> smbmount itself? Mike HW told me he'd have looked into it, but now I see
> that you are the maintainer.

It's complaining about a missing header file.  I'm not sure whether 
it's missing from the samba source or the kernel source (I suspect 
the latter).  Make sure you have the complete kernel source tree 
installed (in the right place).  To find where that function is 
defined, grep through the samba and kernel source looking for the 
above function name.

Hope this helps, Steve

******************************************************************
Stephen L Arnold                      http://www.rain.org/~sarnold
#include <std_disclaimer.h>
******************************************************************


More information about the samba mailing list