Samba4 compiling error

Hannu Tikka hannu.tikka at rpkk.fi
Mon Oct 27 06:45:58 GMT 2008


Hi

Get following compiling error:
------------------
Compiling ntvfs/sysdep/inotify.c
In file included from /usr/include/asm/fcntl.h:1,
                 from /usr/include/linux/fcntl.h:4,
                 from /usr/include/linux/inotify.h:11,
                 from ntvfs/sysdep/inotify.c:32:
/usr/include/asm-generic/fcntl.h:117: error: redefinition of ‘struct
flock’
/usr/include/asm-generic/fcntl.h:140: error: redefinition of ‘struct
flock64’
ntvfs/sysdep/inotify.c: In function ‘inotify_watch’:
ntvfs/sysdep/inotify.c:337: warning: ‘global_loadparm’ is
deprecated
(declared at ./param/param.h:73)
The following command failed:
gcc  -fPIC -I./include -I. -I./lib -I./../lib/replace -I./../lib/talloc
-I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H  -c ntvfs/sysdep/inotify.c -o
ntvfs/sysdep/inotify.o
make: *** [ntvfs/sysdep/inotify.o] Error 1
------------------

tried two different distros:
mandriva 2009.0 i386 and ubuntu 8.10 i386.
Am I missing some package or what is the matter?

regards
Hannu




More information about the samba-technical mailing list