Samba4 compiling error
Jelmer Vernooij
jelmer at vernstok.nl
Mon Oct 27 13:06:39 GMT 2008
Hi Joel,
On Mon, Oct 27, 2008 at 08:55:35AM -0400, Joel Reed wrote:
> Hannu Tikka wrote:
>> 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?
> this patch from the debian experimental package fixes the problem.
Which debian package are you referring to? The Debian Experimental
package doesn't provide any patches on top of the vanilla Samba 4
release.
Cheers,
Jelmer
More information about the samba-technical
mailing list