IDE build fails for sparc32
Someone asked for IDE support for Debian's sparc32 kernel images so they could use their special JavaStations with them. I figured it would not get built into the kernel, so no harm building modules of it. However, with 2.4.27:
sparc-linux-gcc -D__KERNEL__ -I/home/joshk/devel/kernel/kernel-2.4/sparc/kernel-
image-sparc-2.4/kernel-source-2.4.27/include -Wall -Wstrict-prototypes -Wno-trig
raphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -m32 -pipe -mno-
fpu -fcall-used-g5 -fcall-used-g7 -DMODULE -DMODVERSIONS -include /home/joshk/de vel/kernel/kernel-2.4/sparc/kernel-image-sparc-2.4/kernel-source-2.4.27/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_iops -DEXPORT_SYMTAB -c ide-iops.c
ide-iops.c:119: error: conflicting types for ide_insw' /home/joshk/devel/kernel/kernel-2.4/sparc/kernel-image-sparc-2.4/kernel-source-2.4.27/include/asm/ide.h:107: error: previous declaration of ide_insw' ide-iops.c:149: error: conflicting types for `ide_outsw' /home/joshk/devel/kernel/kernel-2.4/sparc/kernel-image-sparc-2.4/kernel-source-2.4.27/include/asm/ide.h:138: error: previous declaration of `ide_outsw'ide-iops.c: In function `ide_mm_insw':
ide-iops.c:196: warning: implicit declaration of function `__ide_mm_insw'ide-iops.c: In function `ide_mm_insl':
ide-iops.c:206: warning: implicit declaration of function `__ide_mm_insl'ide-iops.c: In function `ide_mm_outsw':
ide-iops.c:226: warning: implicit declaration of function `__ide_mm_outsw'ide-iops.c: In function `ide_mm_outsl':
ide-iops.c:236: warning: implicit declaration of function `__ide_mm_outsl'
make[4]: *** [ide-iops.o] Error 1
make[4]: Leaving directory `/home/joshk/devel/kernel/kernel-2.4/sparc/kernel-image-sparc-2.4/kernel-source-2.4.27/drivers/ide' make[3]: *** [_modsubdir_ide] Error 2
make[3]: Leaving directory `/home/joshk/devel/kernel/kernel-2.4/sparc/kernel-ima
ge-sparc-2.4/kernel-source-2.4.27/drivers'
make[2]: *** [_mod_drivers] Error 2
make[2]: Leaving directory `/home/joshk/devel/kernel/kernel-2.4/sparc/kernel-ima
ge-sparc-2.4/kernel-source-2.4.27'
make[1]: *** [stamp-build] Error 2
make[1]: Leaving directory `/home/joshk/devel/kernel/kernel-2.4/sparc/kernel-ima
ge-sparc-2.4/kernel-source-2.4.27'
make: *** [stamps/build-sparc32-stamp] Error 2
I suspect this has been broken for a while, but just wanted to make sure people knew. I've decided to not add IDE for this release of the kernel images for the time being.
If it's really horked, perhaps we should disable it in Config.in?
Thanks!
Signature · 1 line
Joshua Kwan
now, what was it those guys said to be... oh yes, 2.4 is dead, use 2.6... that's what they said. I still use 2.4.x but, I should probably upgrade, seeing as how I can't make anything newer than .24 work.
Quoted 8 lines · Joshua Kwan
Someone asked for IDE support for Debian's sparc32 kernel images so they could use their special JavaStations with them. I figured it would not get built into the kernel, so no harm building modules of it. However, with 2.4.27:
--
Joshua Kwan
Jeff Schouten
[email protected]
Quoted 4 lines · Joshua Kwan
Quoted 4 lines
Someone asked for IDE support for Debian's sparc32 kernel images so they could use their special JavaStations with them. I figured it would not get built into the kernel, so no harm building modules of it. However, with 2.4.27:
Quoted 3 lines · On Sat, Aug 14, 2004 at 03:22:47AM -0400, [email protected] wrote:
now, what was it those guys said to be... oh yes, 2.4 is dead, use 2.6... that's what they said. I still use 2.4.x but, I should probably upgrade, seeing as how I can't make anything newer than .24 work.
I'll be getting a JavaStation so I can deal with this and will fix this up. Please stick with 2.4 for now. If you could describe your system in greater detail that would also be helpful.
-- wli