On Thu, Oct 27, 2011 at 7:04 AM, Roberto De Ioris <[email protected]> wrote:
>
>> On Tue, Oct 25, 2011 at 11:37 PM, Roberto De Ioris <[email protected]>
>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> In trying to cross-compile uWSGI for an embedded ARM board on an
>>>> Ubuntu 11.10 host, I ran into this error:
>>>>
>>>> [snipped]
>>>>
>>>> static int timerfd_create (clockid_t __clock_id, int __flags) {
>>>> #ifdef __amd64__
>>>>        return syscall(283, __clock_id, __flags);
>>>> #elif defined(__i386__)
>>>>        return syscall(322, __clock_id, __flags);
>>>> #endif
>
> The syscall trick is for old distro not having the sys/timerfd.h header.
> Can you check if the timerfd.h file is in your /usr/include ?

Hi Roberto,

Yes, the sys/timerfd.h file is present on my system. It looks like
timerfd_create(), timerfd_settime(), and timerfd_gettime() are all
defined.

Do I want to call those directly or are they already called elsewhere?

Brandon
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to