Linux 2.4.19pre2-ac2 || Linux 2.4.18-ac3, compilation error on SPARC

Mathieu Legrand
2002-03-04T08:33:04Z

[-- Attachment #1: Type: text/plain, Size: 2467 bytes --]

Hello:

I couldn't get the latest ac kernels to compile on a SUN sparc Ultra 10,
even using the default configuration (arch/sparc64/defconfig).

I didn't try yet to compile a older kernel. Here is the error message I get:

sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -Wa,--undeclared-regs -DKBUILD_BASENAME=ide -DEXPORT_SYMTAB -c ide.c
In file included from /usr/src/linux/include/linux/ide.h:301,
from ide.c:149:
/usr/src/linux/include/asm/ide.h:132: warning: `/*' within comment
In file included from /usr/src/linux/include/linux/ide.h:301,
from ide.c:149:
/usr/src/linux/include/asm/ide.h:153: parse error before `static'
/usr/src/linux/include/asm/ide.h:153: warning: no semicolon at end of struct or union
/usr/src/linux/include/asm/ide.h:153: warning: no semicolon at end of struct or union
/usr/src/linux/include/asm/ide.h: In function `ide_insw':
/usr/src/linux/include/asm/ide.h:175: warning: implicit declaration of function `inw_be'
/usr/src/linux/include/asm/ide.h: At top level:
/usr/src/linux/include/asm/ide.h:320: warning: This file contains more `{'s than `}'s.
/usr/src/linux/include/linux/ide.h:1103: warning: This file contains more `{'s than `}'s.
ide.c: In function `ide_dump_status':
ide.c:993: warning: long long int format, long int arg (arg 2)
ide.c: In function `hwif_unregister':
ide.c:2188: warning: implicit declaration of function `ide_release_region'
make[3]: *** [ide.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2

I am using Debian unstable on that computer.

egcs64 19980921.1-1
libc6-sparc64 2.2.5-3
libc6-dev-spar 2.2.5-3

Reading specs from /usr/lib/gcc-lib/sparc64-linux/egcs-2.92.11/specs
gcc version egcs-2.92.11 19980921 (gcc2 ss-980609 experimental)

--
Mathieu Legrand <mathieu @ {accellion.com -work | globules.net -perso}>
GPG: 0x349EBC9961C501D1 fp: D6D2D2D74E6320D99B54 38F3349EBC9961C501D1
- Yoda of Borg are we: Futile is resistance. Assimilate you, we will.

[-- Attachment #2: Type: application/pgp-signature, Size: 241 bytes --]