[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

compiling 2.2.13



i'm finding it impossible to compile 2.2.13 on my ultra...any clues
would be appreciated.


sparc64-linux-gcc -D__KERNEL__ -I/usr/local/src/kernel/linux/include -Wall -Wstr
ict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fpu -mtu
ne=ultrasparc -mmedlow -ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compar
e   -c -o ioctl32.o ioctl32.c
ioctl32.c: In function `sys32_ioctl':
ioctl32.c:1999: `RAID_VERSION' undeclared (first use in this function)
ioctl32.c:1999: (Each undeclared identifier is reported only once
ioctl32.c:1999: for each function it appears in.)
ioctl32.c:2000: `GET_ARRAY_INFO' undeclared (first use in this function)
ioctl32.c:2001: `GET_DISK_INFO' undeclared (first use in this function)
ioctl32.c:2002: `CLEAR_ARRAY' undeclared (first use in this function)
ioctl32.c:2003: `ADD_NEW_DISK' undeclared (first use in this function)
ioctl32.c:2004: `HOT_REMOVE_DISK' undeclared (first use in this function)
ioctl32.c:2005: `SET_ARRAY_INFO' undeclared (first use in this function)
ioctl32.c:2006: `SET_DISK_INFO' undeclared (first use in this function)
ioctl32.c:2007: `WRITE_RAID_INFO' undeclared (first use in this function)
ioctl32.c:2008: `UNPROTECT_ARRAY' undeclared (first use in this function)
ioctl32.c:2009: `PROTECT_ARRAY' undeclared (first use in this function)
ioctl32.c:2010: `HOT_ADD_DISK' undeclared (first use in this function)
ioctl32.c:2011: `RUN_ARRAY' undeclared (first use in this function)
ioctl32.c:2012: `START_ARRAY' undeclared (first use in this function)
ioctl32.c:2013: `STOP_ARRAY' undeclared (first use in this function)
ioctl32.c:2014: `STOP_ARRAY_RO' undeclared (first use in this function)
ioctl32.c:2015: `RESTART_ARRAY_RW' undeclared (first use in this function)
make[2]: *** [ioctl32.o] Error 1
make[2]: Leaving directory `/usr/local/src/kernel/kernel-source-2.2.13/arch/spar
c64/kernel'
make[1]: *** [_dir_arch/sparc64/kernel] Error 2
make[1]: Leaving directory `/usr/local/src/kernel/kernel-source-2.2.13'
make: *** [stamp-build] Error 2


this is *after* i edited .../arch/sparc64/kernel/ioctl32.c to make
it #include <linux/md.h> rather than <linux/raid/md.h>. i hoped that
would fix it, but (aside from getting rid of the complaint about
linux/raid/md.h not existing) it didn't change anything at all.

i've tried it with and without raid drivers configured in (this machine
doesn't have any md partitions)


possibly relevant details about my machine:

$ cat /proc/cpuinfo
cpu             : TI UltraSparc I   (SpitFire)
fpu             : UltraSparc I integrated FPU
promlib         : Version 3 Revision 0
prom            : 3.0.4
type            : sun4u
ncpus probed    : 1
ncpus active    : 1
BogoMips        : 285.08
MMU Type        : Spitfire

$ dpkg -l gcc egcs64 sparc-utils kernel-source-2.2.13 kernel-package
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name            Version        Description
+++-===============-==============-============================================
ii  gcc             2.95.2-3.1     The GNU C compiler.
ii  egcs64          19980921-3     C Cross-Compiler for 64 bit UltraSPARC kerne
ii  sparc-utils     1.2-1          Miscellaneous tools required to build Sparc 
ii  kernel-source-2 2.2.13-2       Linux kernel source.
ii  kernel-package  6.26           Debian Linux kernel package build scripts.


my kernel .config file is attached to this message.

craig

--
Craig Sanders
Systems Administrator
VICNET- Victoria's Network              http://www.vicnet.net.au/


Reply to: