[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pmac_set_rtc_time: got 3 byte reply



On Thu, 4 Jan 2001, Adam C Powell IV wrote:
> But even that doesn't work:
> 
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char -msoft-float
> -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring    -c -o ide-cd.o ide-cd.c
> In file included from /usr/src/linux/include/linux/delay.h:12,
>                  from ide-cd.c:300:
> /usr/src/linux/include/asm/delay.h: In function `__const_udelay':
> /usr/src/linux/include/asm/delay.h:29: `HZ' undeclared (first use in this function)
> /usr/src/linux/include/asm/delay.h:29: (Each undeclared identifier is reported only
> once
> /usr/src/linux/include/asm/delay.h:29: for each function it appears in.)
> make[4]: *** [ide-cd.o] Error 1
> make[4]: Leaving directory `/usr/src/linux/drivers/ide'
> 
> Investigating...

Add #include <asm/param.h> to the top of asm-ppc/delay.h. Just did the same for
m68k :-)

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds



Reply to: