Error compiling samba with smbmount support

Urban Widmark urban at
Sat Sep 15 17:16:02 GMT 2001

On Sat, 15 Sep 2001, Joel Hammer wrote:

> Compiling client/smbmount.c
> In file included from /usr/include/sys/resource.h:25,
>                  from include/includes.h:88,
>                  from client/smbmount.c:24:
> /usr/include/bits/resource.h:109: warning: `RLIM_INFINITY' redefined
> /usr/include/asm/resource.h:26: warning: this is the location of the
> previous definition
> Linking bin/smbmount

Looks like the glibc in your distro is bad, perhaps /usr/include/asm is a
symlink to something and you have changed what it points to.
(Never, ever put linux sources in /usr/src/linux ...)

Including sys/resource.h should of course not generate any warnings. These
warnings probably caused configure to decide that sys/resource.h wasn't ok.


More information about the samba mailing list