Am 24.06.2016 17:17, schrieb Walter Harms:
> hi list,
> i have an older system and for a test i needed a current version of busybox.
> I download 1.25 as tar.bz2 and compiled out of the box.
> 
> 
> <boring stuff>
>  CC      miscutils/inotifyd.o
> 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 miscutils/inotifyd.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’
> make[1]: *** [miscutils/inotifyd.o] Fehler 1
> make: *** [miscutils] Fehler 2
> 
> the problem is the include
> 
> <linux/inotify.h>
> 
> replacing this with <sys/inotify.h> solved the problem (for me).
> 
> What was the reason to use linux/inotify.h in the first place ?
> Otherwise we should really use sys/inotify.h.
> 

I was just preparing a patch and notice that i found the problem actually in an 
older version
the version 1.25.0 is ok.

sorry for the noise.

re,
 wh
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox
  • inotifyd Walter Harms
    • Re: inotifyd walter harms

Reply via email to