Re: [gamin] Re: Building gamin 0.1.6



John,

I have given this a go, but still recieve the invalid length error.  I
am in the process of instrumenting further to find out what size
packets are being sent by the kernel.

$ diff -Nru gam_data.c gam_data_m.c
--- gam_data.c  2005-10-23 06:55:42.000000000 +1300
+++ gam_data_m.c        2005-10-23 06:57:05.000000000 +1300
@@ -774,7 +774,7 @@
         }
         /* check the packet total length */
         if (evn->len > sizeof(GAMPacket)) {
-            gam_error(DEBUG_INFO, "invalid length %d\n", evn->len);
+            gam_error(DEBUG_INFO, "invalid length %d expected
sizeof(GAMPacket) %d got %d\n", evn->len, sizeof(GAMPacket),
evn->len);
             return (-1);
         }
         /* check the version */


Will I have to replace any headers other than inofity.h?

Regards,

Mark Carey

On 10/23/05, John McCutchan <ttb tentacle dhs org> wrote:
> On Sat, 2005-22-10 at 17:19 +1300, Mark Carey wrote:
> > John,
> >
> > So a possible solution is,
> >
> > 1. upgrade the inotify.h on my system (use the one that comes with 2.6.13.4)
> > 2. recompile linux kernel 2.6.13.4 against the new header
> > 3. rebuild gamin with the new header
> > 4. rebuild gnome-vfs nautilus
> >
> > In principal will this work?
>
>
> You don't need to do 4. gnome-vfs / nautilus don't use inotify.
>
> John
>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]