>
> 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@kermit 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
>