smbwrapper WAS:smbmount
David Collier-Brown
David.Collier-Brown at canada.sun.com
Fri Dec 22 12:46:27 GMT 2000
"A.J. Leitell" wrote:
>
> ok.
> <deep breath>
>
> I did a pkgrm on the Binary installation of Samba2.0.7...
> then downloaded the source, ran ./configure --prefix=/opt --with-smbwrappers
>
> after the configure finished I ran make.
>
> it goes almost all the way to the end...and then BOOM!
>
> Linking bin/make_unicodemap
> Compiling smbwrapper/smbsh.c
> Compiling smbwrapper/shared.c
> Linking bin/smbsh
> Compiling smbwrapper/smbw.c with -fpic
> Compiling smbwrapper/wrapped.c with -fpic
> smbwrapper/wrapped.c:466: conflicting types for `utimes'
> /usr/include/sys/time.h:327: previous declaration of `utimes'
> *** Error code 1
> make: Fatal error: Command failed for target `smbwrapper/wrapped.po'
> #
>
> I don't understand why utimes caused it to crap out.
>
> in the configure it read as this:
>
> checking for utime.h... yes
>
> and then further:
>
> checking for utime... yes
> checking for utimes... yes
>
> there is a warning during make before the compile fails:
>
> Compiling lib/system.c
> lib/system.c: In function `sys_readdir':
> lib/system.c:350: warning: return from incompatible pointer type
>
> sooooo any suggestions?
[Ok team, I posted a patch for that on 15 Aug 2000,
and it's still not in 2.2, much less 2.0.7...]
See http://samba.org/cgi-bin/samba-patches/incoming?id=155
for the correction.
--dave
--
David Collier-Brown, | Always do right. This will gratify some people
185 Ellerslie Ave., | and astonish the rest. -- Mark Twain
Willowdale, Ontario | //www.oreilly.com/catalog/samba/author.html
Work: (905) 415-2849 Home: (416) 223-8968 Email: davecb at canada.sun.com
More information about the samba
mailing list