[OpenAFS-devel] Another build problem on sparc-linux

Dean Anderson dean@av8.com
Wed, 10 Sep 2003 17:13:47 -0400 (EDT)


This is under Aurora sparc linux 1.0 (kinda similar to RH 7.3)

uname -a
Linux dakota.av8.net 2.4.20-2.3sparc #1 Wed Jan 15 18:27:52 EST 2003
sparc64 unknown

I also upgraded to gcc 3.3, because of issues with gcc 2.96 which comes in
the distribution.

Thanks,

		--Dean


gcc  -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing
-fno-common -pipe -mcpu=ultrasparc -m64 -mno-fpu -mcmodel=medlow
-ffixed-g4 -fcall-used-g5 -fcall-used-g7 -Wno-sign-compare -D__KERNEL__
-DCPU=sparc64 -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP -D__BOOT_KERNEL_UP=0
-D__BOOT_KERNEL_SMP=1  -I. -I../
-I/usr/local/src/openafs-1.2.10/src/config -c ../rx/rx_knet.c;
In file included from ../asm/processor.h:24,
                 from ../linux/prefetch.h:13,
                 from ../linux/list.h:6,
                 from ../linux/wait.h:14,
                 from ../linux/fs.h:12,
                 from ../linux/capability.h:17,
                 from ../linux/binfmts.h:5,
                 from ../h/sched.h:9,
                 from ../rx/rx_kcommon.h:94,
                 from ../rx/rx_knet.c:22:
../asm/delay.h:54:1: warning: "udelay" redefined
In file included from ../linux/modversions.h:257,
                 from ../afs/param.h:38,
                 from ../rx/rx_knet.c:16:
../linux/modules/sparc_ksyms.ver:116:1: warning: this is the location of
the previous definition
In file included from ../linux/skbuff.h:27,
                 from ../h/netdevice.h:147,
                 from ../rx/rx_kcommon.h:95,
                 from ../rx/rx_knet.c:22:
../linux/highmem.h: In function `bh_kmap':
../linux/highmem.h:20: warning: return makes pointer from integer without
a cast../linux/highmem.h: In function `bh_kmap_irq':
../linux/highmem.h:48: error: `KM_BH_IRQ' undeclared (first use in this
function)
../linux/highmem.h:48: error: (Each undeclared identifier is reported only
once
../linux/highmem.h:48: error: for each function it appears in.)
../linux/highmem.h: In function `bh_kunmap_irq':
../linux/highmem.h:60: error: `KM_BH_IRQ' undeclared (first use in this
function)
../linux/highmem.h: In function `clear_user_highpage':
../linux/highmem.h:85: error: `KM_USER0' undeclared (first use in this
function)../linux/highmem.h:85: warning: initialization makes pointer from
integer without a cast
../linux/highmem.h: In function `clear_highpage':
../linux/highmem.h:92: warning: cast to pointer from integer of different
size
../linux/highmem.h: In function `memclear_highpage_flush':
../linux/highmem.h:105: warning: assignment makes pointer from integer
without a cast
../linux/highmem.h: In function `copy_user_highpage':
../linux/highmem.h:116: error: `KM_USER0' undeclared (first use in this
function)
../linux/highmem.h:116: warning: assignment makes pointer from integer
without a cast
../linux/highmem.h:117: error: `KM_USER1' undeclared (first use in this
function)
../linux/highmem.h:117: warning: assignment makes pointer from integer
without a cast
In file included from ../h/netdevice.h:147,
                 from ../rx/rx_kcommon.h:95,
                 from ../rx/rx_knet.c:22:
../linux/skbuff.h: In function `kmap_skb_frag':
../linux/skbuff.h:1101: error: `KM_SKB_DATA_SOFTIRQ' undeclared (first use
in this function)
../linux/skbuff.h:1101: warning: return makes pointer from integer without
a cast
../linux/skbuff.h: In function `kunmap_skb_frag':
../linux/skbuff.h:1106: error: `KM_SKB_DATA_SOFTIRQ' undeclared (first use
in this function)
gmake[4]: *** [rx_knet.o] Error 1