All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Compilation Problem with kernel 2.2.9
@ 1999-06-18 12:31 nicolas.boussekeyt
  1999-06-18 13:10 ` Geert Uytterhoeven
  0 siblings, 1 reply; 2+ messages in thread
From: nicolas.boussekeyt @ 1999-06-18 12:31 UTC (permalink / raw
  To: linux-kernel, linuxppc-user, linuxppc-dev



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 ? 
thank you in advance.



                                         Nicolas BOUSSEKEYT
                                         ALCATEL Fibre Optique
                                        Tel : 03 21 79 49 00
                                        Web : http://www.alcatel.fr

[[ 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.   ]]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compilation Problem with kernel 2.2.9
  1999-06-18 12:31 Compilation Problem with kernel 2.2.9 nicolas.boussekeyt
@ 1999-06-18 13:10 ` Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 1999-06-18 13:10 UTC (permalink / raw
  To: nicolas.boussekeyt; +Cc: linux-kernel, linuxppc-user, linuxppc-dev


On 18 Jun 1999 nicolas.boussekeyt@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@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.   ]]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-06-18 13:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-18 12:31 Compilation Problem with kernel 2.2.9 nicolas.boussekeyt
1999-06-18 13:10 ` Geert Uytterhoeven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.