Re: [linux-audio-dev] latencytest on 2.6 kernels?

From: Andreas Kuckartz <A.Kuckartz@email-addr-hidden>
Date: Thu Apr 14 2005 - 23:03:00 EEST

Try version 0.5.5:
http://www.alsa-project.org/~iwai/alsa.html#LatencyTest

There is a syntax error in showtrace.c but it is pretty obvious how to correct
it.

Cheers,
Andreas

----- Original Message -----
From: "Paul Winkler" <pw_lists@email-addr-hidden>
To: <linux-audio-dev@email-addr-hidden>
Sent: Thursday, April 14, 2005 9:38 PM
Subject: [linux-audio-dev] latencytest on 2.6 kernels?

> Hiya,
>
> Now that I've finallly gone to a 2.6 kernel (latest gentoo-sources,
> 2.6.11.something) I thought I'd fire up latencytest and see
> what it tells me. Unfortunately, latencytest0.42 still seems
> to be the latest and it no longer compiles. Anybody got a fix?
>
> pw@email-addr-hidden latencytest0.42 $ make
> gcc -Wall -O2 -DUSE_PENTIUM_TIMER -c rtc_latencytest.c
> rtc_latencytest.c:24:41: macro "rdtsc" requires 2 arguments, but only 1
> given
> rtc_latencytest.c:25: error: syntax error before '{' token
> rtc_latencytest.c: In function `main':
> rtc_latencytest.c:142: warning: passing arg 2 of `signal' from
> incompatible pointer type
> rtc_latencytest.c:143: warning: passing arg 2 of `signal' from
> incompatible pointer type
> rtc_latencytest.c:261:24: macro "rdtsc" requires 2 arguments, but only 1
> given
> rtc_latencytest.c:261: error: `rdtsc' undeclared (first use in this
> function)
> rtc_latencytest.c:261: error: (Each undeclared identifier is reported
> only once
> rtc_latencytest.c:261: error: for each function it appears in.)
> rtc_latencytest.c:295:22: macro "rdtsc" requires 2 arguments, but only 1
> given
> rtc_latencytest.c: In function `my_exithandler':
> rtc_latencytest.c:295: error: `rdtsc' undeclared (first use in this
> function)
> rtc_latencytest.c:365:19: macro "rdtsc" requires 2 arguments, but only 1
> given
> rtc_latencytest.c: In function `calibrate_loop':
> rtc_latencytest.c:365: error: `rdtsc' undeclared (first use in this
> function)
> rtc_latencytest.c:367:19: macro "rdtsc" requires 2 arguments, but only 1
> given
> rtc_latencytest.c:406:21: macro "rdtsc" requires 2 arguments, but only 1
> given
> rtc_latencytest.c: In function `sigio_handler':
> rtc_latencytest.c:406: error: `rdtsc' undeclared (first use in this
> function)
> rtc_latencytest.c:408:21: macro "rdtsc" requires 2 arguments, but only 1
> given
> make: *** [rtc_latencytest.o] Error 1
>
>
>
> --
>
> Paul Winkler
> http://www.slinkp.com
>
Received on Fri Apr 15 00:15:17 2005

This archive was generated by hypermail 2.1.8 : Fri Apr 15 2005 - 00:15:18 EEST