crepererum
Posts: 2
Joined: Sun May 20, 2012 8:59 pm

Missing kernel header

Sun May 20, 2012 9:06 pm

Hi,

I'm trying to compile a kernel module (snd-usb-6fire [1]) and get the following error:

Code: Select all

In file included from /usr/src/linux-3.1.9-14-ARCH+/arch/arm/include/asm/page.h:204:0,
                 from include/linux/mmzone.h:20,
                 from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from /tmp/sixfireusb-0.5.5/common.h:17,
                 from /tmp/sixfireusb-0.5.5/chip.h:16,
                 from /tmp/sixfireusb-0.5.5/chip.c:16:
/usr/src/linux-3.1.9-14-ARCH+/arch/arm/include/asm/memory.h:19:25: fatal error: mach/memory.h: No such file or directory
I have installed linux-headers-raspberrypi. It seems, like there are missing some files in this package.

Does anyone have an idea how to fix this or where to file a bug report?

[1] http://sourceforge.net/projects/sixfireusb/

redfury
Posts: 3
Joined: Thu May 31, 2012 8:56 pm

Re: Missing kernel header

Thu May 31, 2012 8:58 pm

Yep me too:

Anyone?

Code: Select all

[root@alarmpi pwc-10.0.12-rc1]# make
make -C /lib/modules/3.1.9-15-ARCH+/build SUBDIRS=/tmp/pwc-10.0.12-rc1 modules
make[1]: Entering directory `/usr/src/linux-3.1.9-15-ARCH+'
  CC [M]  /tmp/pwc-10.0.12-rc1/pwc-if.o
In file included from /usr/src/linux-3.1.9-15-ARCH+/arch/arm/include/asm/page.h:204:0,
                 from include/linux/mmzone.h:20,
                 from include/linux/gfp.h:4,
                 from include/linux/mm.h:8,
                 from /tmp/pwc-10.0.12-rc1/pwc-if.c:60:
/usr/src/linux-3.1.9-15-ARCH+/arch/arm/include/asm/memory.h:19:25: fatal error: mach/memory.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/pwc-10.0.12-rc1/pwc-if.o] Error 1
make[1]: *** [_module_/tmp/pwc-10.0.12-rc1] Error 2
make[1]: Leaving directory `/usr/src/linux-3.1.9-15-ARCH+'
make: *** [all] Error 2

pepedog
Posts: 1044
Joined: Fri Oct 07, 2011 9:55 am

Re: Missing kernel header

Thu May 31, 2012 10:12 pm

I will fix it, but can you report here so I don't forget.
https://github.com/archlinuxarm/PKGBUILDs/issues
Thanks

crepererum
Posts: 2
Joined: Sun May 20, 2012 8:59 pm

Re: Missing kernel header

Thu May 31, 2012 10:23 pm

pepedog wrote:I will fix it, but can you report here so I don't forget.
https://github.com/archlinuxarm/PKGBUILDs/issues
Thanks
Done. Thanks for your support.

pepedog
Posts: 1044
Joined: Fri Oct 07, 2011 9:55 am

Re: Missing kernel header

Fri Jun 01, 2012 11:09 am

I am told this is fixed, without my intervention.
pacman -Syu # should fix

redfury
Posts: 3
Joined: Thu May 31, 2012 8:56 pm

Re: Missing kernel header

Mon Jun 04, 2012 11:47 am

Yep! works like a charm! Thank you!

Return to “Arch”

Who is online

Users browsing this forum: No registered users and 3 guests