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

Bug#353461: [2.6.16-rc3,powerpc] asm/highmem.h not found (ARCH=ppc vs. ARCH=powerpc)



Package: linux-2.6
Severity: important
Version: 2.6.15+2.6.16-rc3-0experimental.0snapshot.5916

[ Sven tells me to file a bug here; although this package is unofficial
and not-in-Debian I'll do so. complain at him if you think like me... ]

Hi,

while trying to build bcm43xx against 2.6.16-rc3:

mkdir -p /home/rene/Debian/Pakete/bcm43xx/bcm43xx-20060215/drivers/net/wireless/bcm43xx/.tmp_versions
make -f scripts/Makefile.build obj=/home/rene/Debian/Pakete/bcm43xx/bcm43xx-20060215/drivers/net/wireless/bcm43xx
  gcc -Wp,-MD,/home/rene/Debian/Pakete/bcm43xx/bcm43xx-20060215/drivers/net/wireless/bcm43xx/.bcm43xx_main.o.d  -nostdinc -isystem /usr/lib/gcc/powerpc-linux-gnu/4.0.3/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Iarch/powerpc -Iarch/powerpc/include -DCONFIG_BCM43XX=1 -DCONFIG_BCM43XX_DMA=1 -DCONFIG_BCM43XX_PIO=1 -DCONFIG_BCM43XX_DEBUG=1   -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bcm43xx_main)"  -D"KBUILD_MODNAME=KBUILD_STR(bcm43xx)" -c -o /home/rene/Debian/Pakete/bcm43xx/bcm43xx-20060215/drivers/net/wireless/bcm43xx/.tmp_bcm43xx_main.o /home/rene/Debian/Pakete/bcm43xx/bcm43xx-20060215/drivers/net/wireless/bcm43xx/bcm43xx_main.c
In file included from include/linux/skbuff.h:27,
                 from include/linux/if_ether.h:110,
                 from include/linux/netdevice.h:29,
                 from include/linux/if_arp.h:26,
                 from /home/rene/Debian/Pakete/bcm43xx/bcm43xx-20060215/drivers/net/wireless/bcm43xx/bcm43xx_main.c:34:
include/linux/highmem.h:12:25: error: asm/highmem.h: No such file or directory
[...]

neither linux/highmem.h nor asm/highmem.h are included by the driver but by
linux' headers.

there only is /usr/src/linux-headers-2.6.16-rc3/include/asm-ppc/highmem.h,
obviously not found when building with ARCH=powerpc (default) because of

a) lrwxrwxrwx 1 root root 11 2006-02-18 14:12 asm -> asm-powerpc

and

b) asm-powerpc doesn't contain a highmem.h link. But asm-ppc does

ARCH=ppc doesn't work because there's no arch/ppc/Makefile anymore

Works with 2.6.15-1, didn't yet try building against "normal" upstream
2.6.16-rc3

Regards,

Rene

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Attachment: signature.asc
Description: Digital signature


Reply to: