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

Derrick J Brashear shadow@dementia.org
Thu, 11 Sep 2003 15:02:36 -0400 (EDT)


On Wed, 10 Sep 2003, Dean Anderson wrote:

> 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.

So, what header defines the missing symbols?


> ../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
>
>
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>
>