[manjaro-dev] [3.12.4] some weird regression got introduced
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Mon Dec 9 19:36:40 CET 2013
On Mon, Dec 09, 2013 at 01:06:32PM +0100, Philip Müller wrote:
> Hi Greg,
>
> I just compiled linux 3.12.4 for Manjaro Linux and found a weird regression in
> slmodem and rt3563sta, some extra-modules I'm compiling. In slmodem I get now
> followed error:
>
>
> make[2]: Entering directory '/build/src/slmodem-2.9.11-20080126/drivers'
> cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include /lib/modules/3.12.4-1-MANJARO/build/include/linux/modversions.h -I/lib/modules/3.12.4-1-MANJARO/build/include -I. -I./../modem -o amrmo_init.o -c amrmo_init.c
> cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include /lib/modules/3.12.4-1-MANJARO/build/include/linux/modversions.h -I/lib/modules/3.12.4-1-MANJARO/build/include -I. -I./../modem -o sysdep_amr.o -c sysdep_amr.c
> In file included from <command-line>:0:0:
> /usr/include/stdc-predef.h:40:1: fatal error: /lib/modules/3.12.4-1-MANJARO/build/include/linux/modversions.h: No such file or directory
> #endif
> ^
> compilation terminated.
External kernel module? What's all the crud on the kernel build line,
that doesn't look like how you are supposed to build a kernel module.
Anyway, I'd blame the external code, nothing I can do about that...
> And rt3563sta quits with:
>
>
> /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
> scripts/Makefile.build:49: *** CFLAGS was changed in "/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile". Fix it to use ccflags-y. Stop.
> Makefile:1228: recipe for target '_module_/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux' failed
> make[1]: *** [_module_/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux] Error 2
> make[1]: Leaving directory '/usr/src/linux-3.12.4-1-MANJARO'
> Makefile:317: recipe for target 'LINUX' failed
> make: *** [LINUX] Error 2
>
>
> However, using 3.12.3 on the same machine, same toolchain - it works. Any other
> extra-modules I'm compiling still work and 3.10.23 don't has this issue at all.
> I also got the same issues using pure Archlinux. More info also in our forums:
>
> http://forum.manjaro.org/index.php?topic=9080.0
Lots of things changed in the kernel between 3.10 and 3.12, so to expect
external kernel modules to build properly with both of the is a bit
strange.
Did 3.12.3 work? Have a pointer to where these drivers can be found?
Why are they outside of the kernel source tree and not included in the
main kernel.org repo?
thanks,
greg k-h
More information about the manjaro-dev
mailing list