Error calling timer_create

Gerhard Jaeger g.jaeger at sysgo.com
Wed May 19 16:52:58 EST 2004


Hi,

ENOSYS means, that the function is not implemented on your system, probaly
your glibc is somwhat outdatet. I remember the same thing here some time
ago before using glibc-2.2.5. Updating your CDK should help.

Ciao,
  Gerhard

On Wednesday 19 May 2004 07:09, MERRITT Nigel wrote:
[SNIPSNAP]
> // Initialise the timer.
> if (timer_create(CLOCK_REALTIME, &stEvent, &nTimerId))
> {
>    printf("Timer could not be created (err=%d).\n", errno);
>    return -1;
> }
> .
> .
> .
>
> ... with the result:
>
>    Timer could not be created (err=38).
>
> The code obviously compiles so I can't work out why it would claim the
> function does not exist.  The code is compiled with static linking so all
> libraries should be included in the executable.
>
> Any help would be appreciated...
>
>    NJM


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list