Compilation Problem with kernel 2.2.9

Geert Uytterhoeven Geert.Uytterhoeven at cs.kuleuven.ac.be
Fri Jun 18 23:10:51 EST 1999


On 18 Jun 1999 nicolas.boussekeyt at afoc.alcatel.fr wrote:
> I have a problem with my PB G3.
> When I compile the kernel, I have this message:
> gcc -D__KERNEL__ -I/usr/src/linux-2_2_9/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -D__powerpc__ -fsigned-char -msoft-float -pipe -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple -mstring   -c -o pmac_setup.o pmac_setup.c
> pmac_setup.c: In function `pmac_init':
> pmac_setup.c:559: `ISA_DMA_THRESHOLD' undeclared (first use this function)
> pmac_setup.c:559: (Each undeclared identifier is reported only once
> pmac_setup.c:559: for each function it appears in.)
> pmac_setup.c:560: `DMA_MODE_READ' undeclared (first use this function)
> pmac_setup.c:561: `DMA_MODE_WRITE' undeclared (first use this function)
> make[1]: *** [pmac_setup.o] Error 1  
> 
> What can i do to compile the kernel ? 

Add

    #include <asm/dma.h>

to arch/ppc/kernel/pmac_setup.c.

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven at cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]





More information about the Linuxppc-dev mailing list