Compile 2.6.x kernel with GCC-3
From: Jon Fullmer (jonfullmer_at_gmail.com)
Date: 12/12/04
- Next message: C Lund: "Duh! B) Re: Problems installing Mandrake on a G4 mac"
- Previous message: Colin Ward: "Re: Is it possible to install Mandrake PPC without using the installer?"
- Next in thread: Anton Ertl: "Re: Compile 2.6.x kernel with GCC-3"
- Reply: Anton Ertl: "Re: Compile 2.6.x kernel with GCC-3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 12 Dec 2004 08:26:29 -0800
I've been trying to compile a 2.6.x kernel with GCC-3.x, and I've been
unsuccessful. I've been googling all that I can think of, and I can't
seem to find any solutions (other than one other person seems to have
had the problem, but no solution). I've tried several versions of gcc,
including 3.04, 3.3.3, and 3.4.3, and I've tried several versions of
the kernel, from 2.6.2-2.6.9. All yield the same error:
CC drivers/ide/ppc/pmac.o
drivers/ide/ppc/pmac.c: In function `pmac_ide_tuneproc':
drivers/ide/ppc/pmac.c:677: warning: implicit declaration of function
`kauai_lookup_timing'
drivers/ide/ppc/pmac.c:677: `kauai_pio_timings' undeclared (first use
in this function)
drivers/ide/ppc/pmac.c:677: (Each undeclared identifier is reported
only once
drivers/ide/ppc/pmac.c:677: for each function it appears in.)
drivers/ide/ppc/pmac.c: In function `pmac_ide_do_resume':
drivers/ide/ppc/pmac.c:1127: `IDE_WAKEUP_DELAY' undeclared (first use
in this function)
drivers/ide/ppc/pmac.c: In function `pmac_ide_setup_device':
drivers/ide/ppc/pmac.c:1207: `IDE_WAKEUP_DELAY' undeclared (first use
in this function)
drivers/ide/ppc/pmac.c: In function `pmac_ide_macio_attach':
drivers/ide/ppc/pmac.c:1350: structure has no member named `dma_regs'
drivers/ide/ppc/pmac.c:1351: structure has no member named `dma_regs'
drivers/ide/ppc/pmac.c:1354: structure has no member named `dma_regs'
make[2]: *** [drivers/ide/ppc/pmac.o] Error 1
make[1]: *** [drivers/ide] Error 2
make: *** [drivers] Error 2
I'm pretty sure this comes into play as I've selected
"CONFIG_BLK_DEV_IDE_PMAC=y" (or support for the embedded PowerMac IDE
controller). I'm compiling this on a beige G3/300 minitower, so that
support is pretty essential. I don't really consider myself a
developer, so I don't know what these errors are whining about. I'm
presuming that it's a simple syntax manipulation. In other words, I
suspect that what generated a warning, using gcc-2.95.x, will now (with
gcc-3.x) generate an error.
I'm just surprised that this hasn't been brought up in more forums.
Have any of you come across this? Is there anything I can do? A
patch? Something?
Thanks in advance,
- Jon
- Next message: C Lund: "Duh! B) Re: Problems installing Mandrake on a G4 mac"
- Previous message: Colin Ward: "Re: Is it possible to install Mandrake PPC without using the installer?"
- Next in thread: Anton Ertl: "Re: Compile 2.6.x kernel with GCC-3"
- Reply: Anton Ertl: "Re: Compile 2.6.x kernel with GCC-3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|