On Thu, Oct 21, 1999 at 02:39:51PM +1000, Hamish Moffatt wrote:
>
> But the show-stopper:
>
> cc -DMYCALL=\"N0NE\" -g -Wall -Wstrict-prototypes -O2 -ffast-math
>-I/local/home/hamish/tmp/hf/include -I/local/home/hamish/tmp/hf/app
>-I/local/home/hamish/tmp/hf/proto -I/local/home/hamish/tmp/hf/l1
>-I/local/home/hamish/tmp/hf/l1/kdrv -I/usr/X11R6/include -m486 -malign-loops=2
>-malign-jumps=2 -malign-functions=2 -D_REENTRANT -c l1/user/refclock.c -o
>l1/user/refclock.o
> l1/user/refclock.c: In function `refclock_probe':
> l1/user/refclock.c:125: warning: implicit declaration of function `gettimeofday'
> l1/user/refclock.c: In function `refclock_current':
> l1/user/refclock.c:173: Invalid `asm' statement:
> l1/user/refclock.c:173: fixed or forbidden register 0 (ax) was spilled for class
>AREG.
> make: *** [l1/user/refclock.o] Error 1
>
> I don't know how to fix that one!
>
Look for a line like:
__asm__("mull %1" : "=d" (tmp2) : "m" (scale_rdtsc), "a" (tmp0) : "ax");
and replace it by:
__asm__("mull %2" : "=d" (tmp2), "=&a" (tmp0) : "m" (scale_rdtsc));
>
> thanks
>
> Hamish VK3SB
>
Joop
--
Joop Stakenborg PA4TU, ex-PA3ABA
<[EMAIL PROTECTED]>
Linux Amateur Radio Software Database
http://radio.linux.org.au