samba-2.2.5 compilation warnings:

Andreas Hasenack andreas at conectiva.com.br
Fri Jun 21 11:42:05 GMT 2002


I'm getting a lot of these while compiling samba-2.2.5:
(...)
In file included from /usr/include/linux/capability.h:17,
                 from /usr/include/sys/capability.h:24,
                 from include/includes.h:340,
                 from lib/pam_errors.c:21:
(...)
/usr/include/linux/fs.h:121: warning: `MS_RMT_MASK' redefined
/usr/include/sys/mount.h:65: warning: this is the location of the previous definition
/usr/include/linux/fs.h:126: warning: `MS_MGC_VAL' redefined
/usr/include/sys/mount.h:70: warning: this is the location of the previous definition
/usr/include/linux/fs.h:134: warning: `S_APPEND' redefined
/usr/include/sys/mount.h:53: warning: this is the location of the previous definition
/usr/include/linux/fs.h:135: warning: `S_IMMUTABLE' redefined
/usr/include/sys/mount.h:55: warning: this is the location of the previous definition

and so on. linux/fs.h is from kernel-2.2.18, and sys/mount.h from glibc-2.2.5.

Is something wrong with my installation of those packages? Or something wrong
with the way samba includes them?
Could it be the libcap-devel package that I have installed?
$ rpm -ql libcap-devel
/lib/libcap.so
/usr/include/sys/capability.h





More information about the samba-technical mailing list