ecn wrote:
> 
> Code:
> 
> /usr/include/asm-generic/fcntl.h:117: error: redefinition of ‘struct 
> flock’
> /usr/include/asm-generic/fcntl.h:140: error: redefinition of ‘struct 
> flock64’
> 
> 
> 
> 
> Ya.   There's some code in one file that's compensating for missing system 
> call definitions.  We Ubuntu 8.10 users need less of that.
> 
> Here's a patch:
> 
> 
> Code:
> 
> $ cd inst/build/wmi-*/
> $ patch -p0 < patchfile
> 
> 
> 
> 
> Here's the patch:
> 
> Code:
> 
> --- Samba/source/ntvfs/sysdep/inotify.c.~1~   2008-07-30 15:44:55.000000000 
> -0400
> +++ Samba/source/ntvfs/sysdep/inotify.c       2008-11-11 15:56:44.000000000 
> -0500
> @@ -29,10 +29,10 @@
>  #include "lib/util/dlinklist.h"
>  #include "libcli/raw/smb.h"
>  
> -#include <linux/inotify.h>
> -#include <asm/unistd.h>
> +#include <sys/inotify.h>
>  
> -#ifndef HAVE_INOTIFY_INIT
> +#if 0
> +#include <asm/unistd.h>
>  /*
>    glibc doesn't define these functions yet (as of March 2006)
>  */
> 
> 
> 


Could someone please briefly explain how to install this patch??
Trying to install 2.4.5 on 8.04.3 LTS 64-bit.
Why has not this been fixed??

Thank you, Tom




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=38871#38871

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to