Vijay Kumar пишет:
> [EMAIL PROTECTED] wrote:
>> Vijay Kumar пишет:
> [clip]
>>> The patch breaks build on Debian Etch! The presence of the header file 
>>> has to be checked before compilation. Please find the clipped output 
>>> below.
>>>
>>> ------
>>> [EMAIL PROTECTED]:ltp$ dpkg --list libc6
>>> [clip]
>>> ii  libc6          2.3.6.ds1-13   GNU C Library: Shared libraries
>> # man inotify_init
>> NAME
>>        inotify_init - initialize an inotify instance
>>
>> SYNOPSIS
>>        #include <sys/inotify.h>
>>
>>        int inotify_init(void);
>> ...
>>
>> pls, execute "man inotify_init" on our host and say what is there in 
>> section SYNOPSIS?
> 
> I do not disagree on which one is to be included. As the man page says 
> sys/inotify.h is to be included. But we can add a check for the header in 
> the Makefile, so that we don't break builds.
> 
> check_header = $(shell \
>          if echo "\#include <$(1)>" | $(CC) -E - > /dev/null 2>&1 ; \
>          then echo yes ; \
>          else echo no ; fi)
> 
> HAS_SYS_INOTIFY := $(call check_header,sys/inotify.h)
it's another problem. I will send patch later (on Monday).
I think test should report fail in this case if a version of kernel more 
then 2.6.13.
> 
> Regards,
> Vijay
> 
> -------------------------------------------------------------------------
> 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
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list


-------------------------------------------------------------------------
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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to