Kernel 2.4.XX compilation

Dear all,

I'm trying to compile kernel version 2.4.XX for SuperH architecture (Hico.S3 board) but I get some errors while finishing compilation:

sh-sci.c:1881: unknown field `wait_key' specified in initializer sh-sci.c:1881: `serial_console_wait_key' undeclared here (not in a function) sh-sci.c:1881: initializer element is not constant sh-sci.c:1881: (near initialization for `kgdbcons.unblank') sh-sci.c:395: warning: `sci_init_pins_sci' defined but not used sh-sci.c:362: warning: `kgdb_break_interrupt' defined but not used make[3]: *** [sh-sci.o] Error 1 make[3]: Leaving directory `/home/ivw/shlinux-20050128/linux/drivers/char' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/home/ivw/shlinux-20050128/linux/drivers/char' make[1]: *** [_subdir_char] Error 2 make[1]: Leaving directory `/home/ivw/shlinux-20050128/linux/drivers' make: *** [_dir_drivers] Error 2

Can someone help me out and tell me what's all about it?

Best regards,

Ivan.

Reply to
Ivan Wagner
Loading thread data ...

Hey, I have another error when I want to include DMA support:

sh3-linux-gcc -D__KERNEL__ -I/home/ivw/shlinux-20050128/linux/include

-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing

-fno-common -fomit-frame-pointer -ml -m3 -pipe -nostdinc -iwithprefix include -DKBUILD_BASENAME=rtc -c -o rtc.o rtc.c sh3-linux-gcc -D__KERNEL__ -I/home/ivw/shlinux-20050128/linux/include

-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing

-fno-common -fomit-frame-pointer -ml -m3 -pipe -nostdinc -iwithprefix include -DKBUILD_BASENAME=dma -DEXPORT_SYMTAB -c dma.c dma.c: In function `setup_dma': dma.c:55: `INTC_IPRE' undeclared (first use in this function) dma.c:55: (Each undeclared identifier is reported only once dma.c:55: for each function it appears in.) make[1]: *** [dma.o] Error 1 make[1]: Leaving directory `/home/ivw/shlinux-20050128/linux/arch/sh/kernel' make: *** [_dir_arch/sh/kernel] Error 2

The SH7727 (SH3-DSP) actually has a DMAC I don't understand what that error means...

Ivan Wagner wrote:

Reply to
Ivan Wagner

I have no clue on what else is missing.

Should I post my .config file?

Let me know,

Ivan

Lew Pitcher wrote:

>
Reply to
Ivan Wagner

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.