[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: inotifyd
From:       walter harms <wharms () bfs ! de>
Date:       2016-06-29 14:43:53
Message-ID: 5773DEA9.1020708 () bfs ! de
[Download RAW message or body]



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
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic