nanogui: running nano-x
Subject:
Re: [nanogui] running nano-x
From:
"Greg Haerr" ####@####.####
Date:
31 Jul 2004 20:35:18 +0100
Message-Id: <0bda01c47736$432712b0$6401a8c0@gregnewport>
> I ran strace on nano-X and this line does not seem right:
>
> select(4, [3], NULL, NULL, {3813670912, 3785383936}) = -1 EINVAL
> (Invalid argument)
>
> -> exceptfds and timeout are bogus !?
>
> I belive it should read
> select(4, [3], NULL, NULL, NULL)
No, the last parameter is the timeout struct, which is
required for timing out of the select(). As I mentioned
in an earlier post, I'd bet the structure/size is different
between kernel and/or compiler versions. Also, earlier
versions of ARM didn't default to 32-bit structure size
padding, like Intel (this caused my first Doom port to
iPAQ to fail, since Doom won't run without 32-bit
structure padding ala x86)
Regards,
Greg