[BusyBox 0005574]: inotifyd fails to compile

bugs at busybox.net bugs at busybox.net
Mon Oct 27 12:20:42 UTC 2008


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=5574 
====================================================================== 
Reported By:                dvv
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   5574
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-19-2008 12:24 PDT
Last Modified:              10-27-2008 05:20 PDT
====================================================================== 
Summary:                    inotifyd fails to compile
Description: 
With recent kernel headers inotifyd fails to compile. The following patch
fixes this.

--- busybox.orig/miscutils/inotifyd.c   Fri Sep 12 18:59:07 2008
+++ busybox/miscutils/inotifyd.c        Sun Oct 19 23:34:51 2008
@@ -28,7 +28,11 @@
  */

 #include "libbb.h"
+#define HAVE_ARCH_STRUCT_FLOCK 1
+#define HAVE_ARCH_STRUCT_FLOCK64 1
 #include <linux/inotify.h>
+#undef HAVE_ARCH_STRUCT_FLOCK64
+#undef HAVE_ARCH_STRUCT_FLOCK

 static const char mask_names[] ALIGN1 =
        "a"     // 0x00000001   File was accessed


Regards,
Vladimir
====================================================================== 

---------------------------------------------------------------------- 
 vda - 10-27-08 05:20  
---------------------------------------------------------------------- 
doesn't look like a clean solution. Are you sure it's not a breakage on
kernel/libc side? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-19-08 12:24  dvv            New Issue                                    
10-19-08 12:24  dvv            Status                   new => assigned     
10-19-08 12:24  dvv            Assigned To               => BusyBox         
10-27-08 05:20  vda            Note Added: 0014304                          
======================================================================




More information about the busybox-cvs mailing list