Compiling smbmount

Scott Ruffner jpr9c at cs.virginia.edu
Wed Jul 7 15:40:33 GMT 1999


Hello all,

I normally just lurk on the NTDOM list, but this seems more
appropriately posted here.  Just curious if anybody has a suggestion for
this compile error.  Running under RedHat6.0, with gcc -v:

Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

I am having trouble building smbmount.  I did a grep on all the source
tree, and was unable to find this "NR_OPEN" function...anybody know
where I should be getting this? Errors as follows:

Compiling client/smbmount.c
In file included from include/includes.h:772,
                 from client/smbmount.c:30:
/usr/include/readline/history.h:27: warning: redefinition of
`Function'/usr/local/include/readline/keymaps.h:32: warning: `Function'
previously declared here 
/usr/include/readline/history.h:28: warning: redefinition of `VFunction'
/usr/local/include/readline/keymaps.h:33: warning: `VFunction'
previously declared here 
/usr/include/readline/history.h:29: warning: redefinition of
`CPFunction' 
/usr/local/include/readline/keymaps.h:34: warning: `CPFunction'
previously declared here 
/usr/include/readline/history.h:30: warning: redefinition of
`CPPFunction' /usr/local/include/readline/keymaps.h:35: warning:
`CPPFunction' previously declared here
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

Scott
-- 
Scott Ruffner                   Computer Science Department	
Systems Engineer                226E Olsson Hall
ruffner at cs.virginia.edu         University of Virginia
(804)982-2219


More information about the samba-technical mailing list