BTW, samba4 ftbfs on amd64:
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' The following command failed: gcc -g -O2 -fPIC -I./include -I. -I./lib -I./lib/replace -I./lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H -c ntvfs/sysdep/inotify.c -o ntvfs/sysdep/inotify.o make[1]: *** [ntvfs/sysdep/inotify.o] Error 1 make[1]: Leaving directory `/tmp/buildd/samba4-4.0.0~alpha4~20080727/source' make: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 pbuilder: Failed autobuilding of package
BTW, samba4 ftbfs on amd64:
Compiling ntvfs/sysdep/ inotify. c asm/fcntl. h:1,
from /usr/include/ linux/fcntl. h:4,
from /usr/include/ linux/inotify. h:11,
from ntvfs/sysdep/ inotify. c:32: asm-generic/ fcntl.h: 117: error: redefinition of 'struct flock' asm-generic/ fcntl.h: 140: error: redefinition of 'struct flock64' inotify. c -o ntvfs/sysdep/ inotify. o sysdep/ inotify. o] Error 1 samba4- 4.0.0~alpha4~ 20080727/ source'
In file included from /usr/include/
/usr/include/
/usr/include/
The following command failed:
gcc -g -O2 -fPIC -I./include -I. -I./lib -I./lib/replace -I./lib/talloc -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H -c ntvfs/sysdep/
make[1]: *** [ntvfs/
make[1]: Leaving directory `/tmp/buildd/
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
pbuilder: Failed autobuilding of package