On Thu, 2008-11-20 at 17:37 +0900, Masatake YAMATO wrote:
> > I found this error on the following machine:
> > 
> > # uname -a
> > Linux 2.6.27.5-2-default #1 SMP 2008-11-11 15:15:33 +0100 x86_64 x86_64
> > x86_64 GNU/Linux
> > 
> > cc -Wall  -I../../include -g -Wall -I../../../../include -Wall
> > signalfd01.c  -L../../../../lib -lltp -o signalfd01
> > In file included from /usr/include/asm/fcntl.h:1,
> >                  from /usr/include/linux/fcntl.h:4,
> >                  from /usr/include/linux/signalfd.h:12,
> >                  from signalfd01.c:60:
> > /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[4]: *** [signalfd01] Error 1
> 
> I'll look.
> 
> BTW, Maybe following patch is nothing to do with the bug you reported but 
> could you apply following patch?
> 
> Signed-off-by: Masatake YAMATO<[EMAIL PROTECTED]>

Done.

Regards--
Subrata

> 
> index 083e9ab..9b6380d 100644
> --- a/m4/ltp-signalfd.m4
> +++ b/m4/ltp-signalfd.m4
> @@ -63,7 +63,7 @@ AC_CHECK_HEADERS(sys/signalfd.h linux/signalfd.h 
> signalfd.h,[dnl
>  LTP_SYSCALL_SIGNALFD_HEADER=yes],[],[dnl
>  #ifdef HAVE_LINUX_TYPES_H
>  #include <linux/types.h>
> -#endif)
> +#endif
>  ]dnl
>  )dnl
>  ]dnl


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to