Making all in lttd
make[2]: Entering directory `/home/zl/ltt-control-0.58-
23112008/lttd'
gcc -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT lttd.o -MD -MP -MF
.deps/lttd.Tpo
+-c -o lttd.o lttd.c
In file included from /usr/include/asm/fcntl.h:2,
from /usr/include/linux/fcntl.h:5,
from /usr/include/linux/inotify.h:12,
from lttd.c:55:
/usr/include/asm-generic/fcntl.h:117: error: redefinition of 'struct
flock'
/usr/include/asm-generic/fcntl.h:140: error: redefinition of 'struct
flock64'
lttd.c: In function 'read_subbuffer':
lttd.c:467: warning: passing argument 2 of 'splice' from incompatible
pointer
+type
make[2]: *** [lttd.o] Error 1
make[2]: Leaving directory `/home/zl/ltt-control-0.58-
23112008/lttd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zl/ltt-control-0.58-
23112008'
make: *** [all] Error 2
$
git-svn-id: http://ltt.polymtl.ca/svn@3162
04897980-b3bd-0310-b5e0-
8ef037075253
#define RELAY_GET_SUBBUF_SIZE _IOR(0xF5, 0x03,__u32)
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
-#include <linux/inotify.h>
+#include <sys/inotify.h>
/* From the inotify-tools 2.6 package */
static inline int inotify_init (void)
{