Re: Compile 2.6.x kernel with GCC-3
From: Anton Ertl (anton_at_mips.complang.tuwien.ac.at)
Date: 12/13/04
- Next message: Peter Hayes: "Re: Duh! B) Re: Problems installing Mandrake on a G4 mac"
- Previous message: C Lund: "Re: Duh! B) Re: Problems installing Mandrake on a G4 mac"
- In reply to: Jon Fullmer: "Compile 2.6.x kernel with GCC-3"
- Next in thread: Jon Fullmer: "Re: Compile 2.6.x kernel with GCC-3"
- Reply: Jon Fullmer: "Re: Compile 2.6.x kernel with GCC-3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 13 Dec 2004 10:26:10 GMT
"Jon Fullmer" <jonfullmer@gmail.com> writes:
>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 saw a similar problem with 2.6.9, but the errors I got are:
CC drivers/ide/ppc/pmac.o
drivers/ide/ppc/pmac.c: In function `pmac_ide_macio_attach':
drivers/ide/ppc/pmac.c:1351: warning: passing arg 1 of `iounmap' discards qualifiers from pointer target type
drivers/ide/ppc/pmac.c: In function `pmac_ide_dma_read':
drivers/ide/ppc/pmac.c:1942: error: `ide_dma_intr' undeclared (first use in this function)
drivers/ide/ppc/pmac.c:1942: error: (Each undeclared identifier is reported only once
drivers/ide/ppc/pmac.c:1942: error: for each function it appears in.)
drivers/ide/ppc/pmac.c: In function `pmac_ide_dma_write':
drivers/ide/ppc/pmac.c:1973: error: `ide_dma_intr' undeclared (first use in this function)
drivers/ide/ppc/pmac.c: In function `pmac_ide_setup_dma':
drivers/ide/ppc/pmac.c:2148: error: `__ide_dma_off_quietly' undeclared (first use in this function)
drivers/ide/ppc/pmac.c:2149: error: `__ide_dma_on' undeclared (first use in this function)
drivers/ide/ppc/pmac.c:2158: error: `__ide_dma_verbose' undeclared (first use in this function)
drivers/ide/ppc/pmac.c:2159: error: `__ide_dma_timeout' undeclared (first use in this function)
I turned on most of the PCI IDE stuff in the configuration, and these
errors went away. I still got a warning (from gcc-3.3.4):
drivers/ide/ppc/pmac.c: In function `pmac_ide_macio_attach':
drivers/ide/ppc/pmac.c:1351: warning: passing arg 1 of `iounmap' discards qualifiers from pointer target type
For your stuff, I see that kauai_pio_timings and IDE_WAKEUP_DELAY are
defined if CONFIG_BLK_DEV_IDEDMA_PMAC is defined; so turn that on in
the configuration, and see if the problems go away.
- anton
-- M. Anton Ertl Some things have to be seen to be believed anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen http://www.complang.tuwien.ac.at/anton/home.html
- Next message: Peter Hayes: "Re: Duh! B) Re: Problems installing Mandrake on a G4 mac"
- Previous message: C Lund: "Re: Duh! B) Re: Problems installing Mandrake on a G4 mac"
- In reply to: Jon Fullmer: "Compile 2.6.x kernel with GCC-3"
- Next in thread: Jon Fullmer: "Re: Compile 2.6.x kernel with GCC-3"
- Reply: Jon Fullmer: "Re: Compile 2.6.x kernel with GCC-3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|