2.4.15 does not compile on sparc64

Luigi Genoni (kernel@Expansa.sns.it)
Fri, 23 Nov 2001 11:27:12 +0100 (CET)


HI,
I'm trying to compile linux kernel 2.4.15 on SUN ultra 2
monoprocessor, 1GB RAM>

I get this error message:

sparc64-linux-gcc -D__KERNEL__ -I/usr/src/linux-2.4.15/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 -c -o ioctl32.o ioctl32.c
ioctl32.c: In function `do_lvm_ioctl':
ioctl32.c:2636: warning: assignment makes pointer from integer without a
cast
ioctl32.c:2670: structure has no member named `inode'
ioctl32.c:2711: warning: assignment from incompatible pointer type
ioctl32.c:2712: structure has no member named `inode'
ioctl32.c:2719: structure has no member named `inode'
ioctl32.c:2732: structure has no member named `inode'
ioctl32.c:2611: warning: `v' might be used uninitialized in this function
make[1]: *** [ioctl32.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.15/arch/sparc64/kernel'
make: *** [_dir_arch/sparc64/kernel] Error 2

this bug was already there in 2.4.15-pre5|6.

willing to test any patch.

Luigi Genoni

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/