Author Topic: [kernel] 3.12.4 - extramodules build issues  (Read 4044 times)

0 Members and 1 Guest are viewing this topic.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
[kernel] 3.12.4 - extramodules build issues
« on: 09. December 2013, 03:14:33 »
Hmm, I never had this issue before. Seems I can't build some extramodules on the latest kernel. Here the previous one:

Code: [Select]
==> Starting build()...
patching file ungrab-winmodem-20080126/ungrab-winmodem.c
patching file slmodem-2.9.11-20080126/drivers/amrmo_init.c
patching file ungrab-winmodem.c
make modules -C /lib/modules/3.12.3-1-MANJARO/build SUBDIRS=/build/src/ungrab-winmodem-20080126
make[1]: Entering directory '/usr/src/linux-3.12.3-1-MANJARO'
  CC [M]  /build/src/ungrab-winmodem-20080126/ungrab-winmodem.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /build/src/ungrab-winmodem-20080126/ungrab-winmodem.mod.o
  LD [M]  /build/src/ungrab-winmodem-20080126/ungrab-winmodem.ko
make[1]: Leaving directory '/usr/src/linux-3.12.3-1-MANJARO'
patching file drivers/amrmo_init.c
Hunk #1 succeeded at 609 (offset -8 lines).
patching file drivers/kernel-ver.c
patching file drivers/amrmo_init.c
patching file drivers/amrmo_init.c
patching file drivers/amrmo_init.c
make -C drivers KERNEL_DIR=/lib/modules/3.12.3-1-MANJARO/build
make[1]: Entering directory '/build/src/slmodem-2.9.11-20080126/drivers'
cc -I/lib/modules/3.12.3-1-MANJARO/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=3.12.3-1-MANJARO
make[2]: Entering directory '/build/src/slmodem-2.9.11-20080126/drivers'
make modules -C /lib/modules/3.12.3-1-MANJARO/build SUBDIRS=/build/src/slmodem-2.9.11-20080126/drivers
make[3]: Entering directory '/usr/src/linux-3.12.3-1-MANJARO'
  CC [M]  /build/src/slmodem-2.9.11-20080126/drivers/amrmo_init.o
  CC [M]  /build/src/slmodem-2.9.11-20080126/drivers/sysdep_amr.o
  LD [M]  /build/src/slmodem-2.9.11-20080126/drivers/slamr.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  CC      /build/src/slmodem-2.9.11-20080126/drivers/slamr.mod.o
  LD [M]  /build/src/slmodem-2.9.11-20080126/drivers/slamr.ko
make[3]: Leaving directory '/usr/src/linux-3.12.3-1-MANJARO'
make[2]: Leaving directory '/build/src/slmodem-2.9.11-20080126/drivers'
make[1]: Leaving directory '/build/src/slmodem-2.9.11-20080126/drivers'
==> Tidying install...

And the current one
Code: [Select]
==> Starting build()...
patching file ungrab-winmodem-20080126/ungrab-winmodem.c
patching file slmodem-2.9.11-20080126/drivers/amrmo_init.c
patching file ungrab-winmodem.c
make modules -C /lib/modules/3.12.4-1-MANJARO/build SUBDIRS=/build/src/ungrab-winmodem-20080126
make[1]: Entering directory '/usr/src/linux-3.12.4-1-MANJARO'
  CC [M]  /build/src/ungrab-winmodem-20080126/ungrab-winmodem.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /build/src/ungrab-winmodem-20080126/ungrab-winmodem.mod.o
  LD [M]  /build/src/ungrab-winmodem-20080126/ungrab-winmodem.ko
make[1]: Leaving directory '/usr/src/linux-3.12.4-1-MANJARO'
patching file drivers/amrmo_init.c
Hunk #1 succeeded at 609 (offset -8 lines).
patching file drivers/kernel-ver.c
patching file drivers/amrmo_init.c
patching file drivers/amrmo_init.c
patching file drivers/amrmo_init.c
make -C drivers KERNEL_DIR=/lib/modules/3.12.4-1-MANJARO/build
make[1]: Entering directory '/build/src/slmodem-2.9.11-20080126/drivers'
cc -I/lib/modules/3.12.4-1-MANJARO/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=3.12.4-1-MANJARO
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.
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.
Makefile:95: recipe for target 'amrmo_init.o' failed
make[2]: *** [amrmo_init.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:95: recipe for target 'sysdep_amr.o' failed
make[2]: *** [sysdep_amr.o] Error 1
make[2]: Leaving directory '/build/src/slmodem-2.9.11-20080126/drivers'
Makefile:32: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/build/src/slmodem-2.9.11-20080126/drivers'
Makefile:44: recipe for target 'drivers' failed
make: *** [drivers] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Different error with another driver:

Code: [Select]
==> Starting build()...
patching file os/linux/config.mk
patching file Makefile
patching file common/cmm_wpa.c
patching file include/rtmp_def.h
patching file include/os/rt_linux.h
patching file os/linux/pci_main_dev.c
patching file os/linux/rt_main_dev.c
patching file include/os/rt_linux.h
patching file os/linux/sta_ioctl.c
patching file os/linux/pci_main_dev.c
make -C tools
cp -f os/linux/Makefile.6 /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
make[1]: Entering directory '/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
gcc -g bin2h.c -o bin2h
make -C /usr/lib/modules/3.12.4-1-MANJARO/build SUBDIRS=/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux modules
make[1]: Entering directory '/usr/src/linux-3.12.4-1-MANJARO'
make[1]: Leaving directory '/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
/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
==> ERROR: A failure occurred in build().
    Aborting...

It works in the previous kernel though:

Code: [Select]
==> Starting build()...
patching file os/linux/config.mk
patching file Makefile
patching file common/cmm_wpa.c
patching file include/rtmp_def.h
patching file include/os/rt_linux.h
patching file os/linux/pci_main_dev.c
patching file os/linux/rt_main_dev.c
patching file include/os/rt_linux.h
patching file os/linux/sta_ioctl.c
patching file os/linux/pci_main_dev.c
make -C tools
cp -f os/linux/Makefile.6 /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
make[1]: Entering directory '/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
gcc -g bin2h.c -o bin2h
make -C /usr/lib/modules/3.12.3-1-MANJARO/build SUBDIRS=/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux modules
make[1]: Entering directory '/usr/src/linux-3.12.3-1-MANJARO'
make[1]: Leaving directory '/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_sha2.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_hmac.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_arc4.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.o
In file included from /usr/src/linux-3.12.3-1-MANJARO/arch/x86/include/asm/string.h:2:0,
                 from include/linux/string.h:17,
                 from /usr/src/linux-3.12.3-1-MANJARO/arch/x86/include/asm/page_32.h:38,
                 from /usr/src/linux-3.12.3-1-MANJARO/arch/x86/include/asm/page.h:13,
                 from /usr/src/linux-3.12.3-1-MANJARO/arch/x86/include/asm/thread_info.h:11,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include/os/rt_linux.h:31,
                 from /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include/rtmp_os.h:32,
                 from /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include/rt_config.h:60,
                 from /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c:28:
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c: In function 'MD5Final':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c:322:32: warning: argument to 'sizeof' in '__builtin_memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
     NdisZeroMemory(pCtx, sizeof(pCtx)); // memory free
                                ^
/usr/src/linux-3.12.3-1-MANJARO/arch/x86/include/asm/string_32.h:325:52: note: in definition of macro 'memset'
 #define memset(s, c, count) __builtin_memset(s, c, count)
                                                    ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c:322:5: note: in expansion of macro 'NdisZeroMemory'
     NdisZeroMemory(pCtx, sizeof(pCtx)); // memory free
     ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c: In function 'SHAFinal':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c:621:32: warning: argument to 'sizeof' in '__builtin_memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
     NdisZeroMemory(pCtx, sizeof(pCtx)); // memory free
                                ^
/usr/src/linux-3.12.3-1-MANJARO/arch/x86/include/asm/string_32.h:325:52: note: in definition of macro 'memset'
 #define memset(s, c, count) __builtin_memset(s, c, count)
                                                    ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c:621:5: note: in expansion of macro 'NdisZeroMemory'
     NdisZeroMemory(pCtx, sizeof(pCtx)); // memory free
     ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c: In function 'WscEncryptData':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c:1522:1: warning: the frame size of 1368 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c: In function 'MlmeDynamicTxRateSwitchingAdapt':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c:3738:15: warning: assignment from incompatible pointer type [enabled by default]
   pTempTxRate = (PRTMP_TX_RATE_SWITCH)(&pTable[(tmpTxRate + 1)*10]);
               ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c: In function 'StaQuickResponeForRateUpExecAdapt':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c:4078:2: warning: passing argument 3 of 'McsDown' from incompatible pointer type [enabled by default]
  McsDown(pAd, CurrRateIdx, pCurrTxRate, &UpRateIdx, &DownRateIdx);
  ^
In file included from /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include/rt_config.h:172:0,
                 from /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c:28:
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include/misc.h:82:6: note: expected 'PRTMP_TX_RATE_SWITCH' but argument is of type 'PRTMP_TX_RATE_SWITCH_3S'
 VOID McsDown(
      ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c: In function 'WscDecryptData':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c:1592:1: warning: the frame size of 1368 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c: In function 'BssTableSetEntry':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c:5657:39: warning: operation on 'Tab->BssOverlapNr' may be undefined [-Wsequence-point]
                     Tab->BssOverlapNr = (Tab->BssOverlapNr++) % MAX_LEN_OF_BSS_TABLE;
                                       ^
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wep.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/action.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_data.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_init.o
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c: In function 'AES_GTK_KEY_WRAP':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c:2265:1: warning: the frame size of 1100 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_init.c: In function 'NICInitAsicFromEEPROM':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_init.c:1391:4: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'ULONG' [-Wformat=]
    printk("FormalVersion=0x%x, pAd->EepromVersion=0x%x!\n", FormalVersion, pAd->EepromVersion);
    ^
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_tkip.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_aes.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_sync.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/eeprom.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_sanity.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_info.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_cfg.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wpa.o
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wpa.c: In function 'PeerPairMsg4Action':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wpa.c:1109:11: warning: unused variable 'group_cipher' [-Wunused-variable]
  UCHAR    group_cipher = Ndis802_11WEPDisabled;
           ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wpa.c: In function 'PeerGroupMsg2Action':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wpa.c:1455:11: warning: unused variable 'group_cipher' [-Wunused-variable]
  UCHAR    group_cipher = Ndis802_11WEPDisabled;
           ^
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/dfs.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/spectrum.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_timer.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rt_channel.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_profile.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_cmd.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/assoc.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/auth.o
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c: In function 'AsicGetAutoAgcOffset':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c:2002:19: warning: unused variable 'flags' [-Wunused-variable]
     unsigned long flags;
                   ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c: In function 'AsicEnableIbssSync':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c:3247:11: warning: unused variable 'beaconLen' [-Wunused-variable]
  USHORT   beaconLen = pAd->BeaconTxWI.MPDUtotalByteCount;
           ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c: In function 'AsicAddPairwiseKeyEntry':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c:3979:9: warning: unused variable 'CipherAlg' [-Wunused-variable]
  UCHAR  CipherAlg = pCipherKey->CipherAlg;
         ^
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/auth_rsp.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/sync.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/sanity.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/rtmp_data.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/connect.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/wpa.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/ags.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/sta_cfg.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_profile.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_main_dev.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/ba_action.o
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c: In function 'rt_private_show':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:1815:13: warning: reading through null pointer (argument 4) [-Wformat=]
             sprintf(extra, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, NULL, NULL );
             ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:1815:13: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'void *' [-Wformat=]
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:1815:13: warning: reading through null pointer (argument 5) [-Wformat=]
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:1815:13: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat=]
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevDetach':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.c:1699:38: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
  struct net_device_ops *pNetDevOps = pNetDev->netdev_ops;
                                      ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevAttach':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.c:1736:38: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
  struct net_device_ops *pNetDevOps = pNetDev->netdev_ops;
                                      ^
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.o
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_main_dev.c: In function 'MainVirtualIF_close':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_main_dev.c:118:13: warning: unused variable 'Cancelled' [-Wunused-variable]
   BOOLEAN   Cancelled;
             ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c: In function 'RTMPResetTxRxRingMemory':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:36:13: warning: unused variable 'num' [-Wunused-variable]
  int index, num , j;
             ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c: In function 'RTMPFreeTxRxRingMemory':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:119:16: warning: unused variable 'IrqFlags' [-Wunused-variable]
  unsigned int  IrqFlags;
                ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:118:16: warning: unused variable 'pPacket' [-Wunused-variable]
  PNDIS_PACKET  pPacket;
                ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:117:15: warning: unused variable 'pTxD' [-Wunused-variable]
  PTXD_STRUC   pTxD;
               ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:116:16: warning: unused variable 'pTxRing' [-Wunused-variable]
  PRTMP_TX_RING pTxRing;
                ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:115:19: warning: unused variable 'j' [-Wunused-variable]
  int index, num , j;
                   ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:115:6: warning: unused variable 'index' [-Wunused-variable]
  int index, num , j;
      ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c: In function 'RTMPAllocTxRxRingMemory':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:447:11: warning: unused variable 'BufBaseVa' [-Wunused-variable]
    PVOID  BufBaseVa;
           ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:446:11: warning: unused variable 'BufBasePaLow' [-Wunused-variable]
    ULONG  BufBasePaLow;
           ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:445:11: warning: unused variable 'BufBasePaHigh' [-Wunused-variable]
    ULONG  BufBasePaHigh;
           ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:432:15: warning: unused variable 'pPacket' [-Wunused-variable]
  PNDIS_PACKET pPacket;
               ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:431:15: warning: unused variable 'pDmaBuf' [-Wunused-variable]
  PRTMP_DMABUF pDmaBuf;
               ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:430:16: warning: unused variable 'pTxRing' [-Wunused-variable]
  PRTMP_TX_RING pTxRing;
                ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:428:14: warning: unused variable 'pRxD' [-Wunused-variable]
  PRXD_STRUC  pRxD;
              ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:427:14: warning: unused variable 'pTxD' [-Wunused-variable]
  PTXD_STRUC  pTxD;
              ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:426:9: warning: unused variable 'index' [-Wunused-variable]
  INT    index, num;
         ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:425:10: warning: unused variable 'RingBaseVa' [-Wunused-variable]
  PVOID   RingBaseVa;
          ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:424:10: warning: unused variable 'RingBasePaLow' [-Wunused-variable]
  ULONG   RingBasePaLow;
          ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:423:10: warning: unused variable 'RingBasePaHigh' [-Wunused-variable]
  ULONG   RingBasePaHigh;
          ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c: In function 'rt_ioctl_iwaplist':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:596:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_data_pci.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_mcu.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/ee_prom.o
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c: In function 'RTMPIoctlMAC':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:5844:1: warning: the frame size of 1336 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c: In function 'RTMPIoctlE2PROM':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:6043:1: warning: the frame size of 1340 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/ee_efuse.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rt_rf.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../chips/rt30xx.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../chips/rt35xx.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_pci_rbus.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_rbus_pci_util.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/pci_main_dev.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/misc.o
  CC [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../chips/rt3592cb.o
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/pci_main_dev.c: In function 'rt2860_probe':
/build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/pci_main_dev.c:339:13: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
  print_name = pci_dev ? pci_name(pci_dev) : "rt3562";
             ^
  LD [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/rt3562sta.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/rt3562sta.mod.o
  LD [M]  /build/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/rt3562sta.ko
make[1]: Leaving directory '/usr/src/linux-3.12.3-1-MANJARO'
==> Entering fakeroot environment...

really strange issues ...

Offline FadeMind

  • Support Team
  • ****
  • Posts: 2331
    • gravatar
  • Branch: Arch x86_64
  • Desktop: Plasma 5
  • GPU Card: Intel + NVIDIA
  • GPU driver: Intel + NVIDIA
  • Kernel: linux
  • Skill: Intermediate
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #1 on: 09. December 2013, 09:11:41 »
http://ubuntuforums.org/showthread.php?t=1641468
Code: [Select]
/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 directoryChange path from /build/include/linux/ to /build/config/linux/ to search file modversions.h.
Second bug is wrong mismatch setup modules.
Code: [Select]
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
http://stackoverflow.com/questions/8563978/what-is-kernel-section-mismatch
http://stackoverflow.com/questions/6807766/linux-kernel-config-debug-section-mismatch-make-errors
« Last Edit: 09. December 2013, 09:38:34 by FadeMind »

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #2 on: 09. December 2013, 12:21:42 »
Thx for the info. I quick-tested it also in Antergos:

Code: [Select]
[joe@pc trunk]$ makepkg -s
==> Making package: rt3562sta 2.4.1.1-48 (Mon  9 Dec 11:15:52 GMT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Packages (1): linux-headers-3.12.3-1

Total Download Size:    5.83 MiB
Total Installed Size:   40.41 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages ...
 linux-headers-3.12....     5.8 MiB  2.70M/s 00:02 [######################] 100%
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
(1/1) installing linux-headers                     [######################] 100%
==> Retrieving sources...
  -> Downloading DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   450    0   450    0     0   1545      0 --:--:-- --:--:-- --:--:--  1551
100  800k  100  800k    0     0   381k      0  0:00:02  0:00:02 --:--:--  708k
  -> Found rt3562sta-2.4.1.1-config.patch
  -> Found rt3562sta-2.4.1.1-gcc-warnings-x86_64.patch
  -> Found rt3562sta-2.4.1.1-WPA-mixed.patch
  -> Found rt3562sta-2.4.1.1-convert-devicename-to-wlanX.patch
  -> Found rt3562sta-2.4.1.1-remove-potential-conflicts-with-rt2860sta.patch
  -> Found rt3562sta-2.4.1.1-return_nonvoid.patch
  -> Found rt3562sta-2.4.1.1-reduce_debug_output.patch
  -> Found rt3562sta-2.4.1.1-remove_date_time.patch
  -> Found linux-3.8.patch
==> Validating source files with sha256sums...
    DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz ... Passed
    rt3562sta-2.4.1.1-config.patch ... Passed
    rt3562sta-2.4.1.1-gcc-warnings-x86_64.patch ... Passed
    rt3562sta-2.4.1.1-WPA-mixed.patch ... Passed
    rt3562sta-2.4.1.1-convert-devicename-to-wlanX.patch ... Passed
    rt3562sta-2.4.1.1-remove-potential-conflicts-with-rt2860sta.patch ... Passed
    rt3562sta-2.4.1.1-return_nonvoid.patch ... Passed
    rt3562sta-2.4.1.1-reduce_debug_output.patch ... Passed
    rt3562sta-2.4.1.1-remove_date_time.patch ... Passed
    linux-3.8.patch ... Passed
==> Extracting sources...
  -> Extracting DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz with bsdtar
==> Starting build()...
patching file os/linux/config.mk
patching file Makefile
patching file common/cmm_wpa.c
patching file include/rtmp_def.h
patching file include/os/rt_linux.h
patching file os/linux/pci_main_dev.c
patching file os/linux/rt_main_dev.c
patching file include/os/rt_linux.h
patching file os/linux/sta_ioctl.c
patching file os/linux/pci_main_dev.c
Hunk #3 succeeded at 102 (offset 1 line).
Hunk #4 succeeded at 295 (offset 1 line).
Hunk #5 succeeded at 469 (offset 1 line).
make -C tools
make[1]: Entering directory '/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
cp -f os/linux/Makefile.6 /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
make -C /usr/lib/modules/3.12.3-1-ARCH/build SUBDIRS=/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux modules
make[1]: Entering directory '/usr/src/linux-3.12.3-1-ARCH'
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.o
In file included from /usr/src/linux-3.12.3-1-ARCH/arch/x86/include/asm/string.h:2:0,
                 from include/linux/string.h:17,
                 from /usr/src/linux-3.12.3-1-ARCH/arch/x86/include/asm/page_32.h:38,
                 from /usr/src/linux-3.12.3-1-ARCH/arch/x86/include/asm/page.h:13,
                 from /usr/src/linux-3.12.3-1-ARCH/arch/x86/include/asm/thread_info.h:11,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include/os/rt_linux.h:31,
                 from /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include/rtmp_os.h:32,
                 from /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include/rt_config.h:60,
                 from /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c:28:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c: In function ‘MD5Final’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c:322:32: warning: argument to ‘sizeof’ in ‘__builtin_memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
     NdisZeroMemory(pCtx, sizeof(pCtx)); // memory free
                                ^
/usr/src/linux-3.12.3-1-ARCH/arch/x86/include/asm/string_32.h:325:52: note: in definition of macro ‘memset’
 #define memset(s, c, count) __builtin_memset(s, c, count)
                                                    ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c:322:5: note: in expansion of macro ‘NdisZeroMemory’
     NdisZeroMemory(pCtx, sizeof(pCtx)); // memory free
     ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c: In function ‘SHAFinal’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c:621:32: warning: argument to ‘sizeof’ in ‘__builtin_memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
     NdisZeroMemory(pCtx, sizeof(pCtx)); // memory free
                                ^
/usr/src/linux-3.12.3-1-ARCH/arch/x86/include/asm/string_32.h:325:52: note: in definition of macro ‘memset’
 #define memset(s, c, count) __builtin_memset(s, c, count)
                                                    ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.c:621:5: note: in expansion of macro ‘NdisZeroMemory’
     NdisZeroMemory(pCtx, sizeof(pCtx)); // memory free
     ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.o
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c: In function ‘WscEncryptData’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c:1522:1: warning: the frame size of 1368 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c: In function ‘WscDecryptData’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c:1592:1: warning: the frame size of 1368 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_WRAP’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_aes.c:2265:1: warning: the frame size of 1100 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.o
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c: In function ‘MlmeDynamicTxRateSwitchingAdapt’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c:3738:15: warning: assignment from incompatible pointer type [enabled by default]
   pTempTxRate = (PRTMP_TX_RATE_SWITCH)(&pTable[(tmpTxRate + 1)*10]);
               ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c: In function ‘StaQuickResponeForRateUpExecAdapt’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c:4078:2: warning: passing argument 3 of ‘McsDown’ from incompatible pointer type [enabled by default]
  McsDown(pAd, CurrRateIdx, pCurrTxRate, &UpRateIdx, &DownRateIdx);
  ^
In file included from /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include/rt_config.h:172:0,
                 from /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c:28:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include/misc.h:82:6: note: expected ‘PRTMP_TX_RATE_SWITCH’ but argument is of type ‘PRTMP_TX_RATE_SWITCH_3S’
 VOID McsDown(
      ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c: In function ‘BssTableSetEntry’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/mlme.c:5657:39: warning: operation on ‘Tab->BssOverlapNr’ may be undefined [-Wsequence-point]
                     Tab->BssOverlapNr = (Tab->BssOverlapNr++) % MAX_LEN_OF_BSS_TABLE;
                                       ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wep.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/action.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_data.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_init.o
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_init.c:1391:4: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ULONG’ [-Wformat=]
    printk("FormalVersion=0x%x, pAd->EepromVersion=0x%x!\n", FormalVersion, pAd->EepromVersion);
    ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_aes.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_sync.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/eeprom.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_info.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wpa.o
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg4Action’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wpa.c:1109:11: warning: unused variable ‘group_cipher’ [-Wunused-variable]
  UCHAR    group_cipher = Ndis802_11WEPDisabled;
           ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wpa.c: In function ‘PeerGroupMsg2Action’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_wpa.c:1455:11: warning: unused variable ‘group_cipher’ [-Wunused-variable]
  UCHAR    group_cipher = Ndis802_11WEPDisabled;
           ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/dfs.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/spectrum.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rt_channel.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_profile.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.o
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c: In function ‘AsicGetAutoAgcOffset’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c:2002:19: warning: unused variable ‘flags’ [-Wunused-variable]
     unsigned long flags;
                   ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c: In function ‘AsicEnableIbssSync’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c:3247:11: warning: unused variable ‘beaconLen’ [-Wunused-variable]
  USHORT   beaconLen = pAd->BeaconTxWI.MPDUtotalByteCount;
           ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c: In function ‘AsicAddPairwiseKeyEntry’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_asic.c:3979:9: warning: unused variable ‘CipherAlg’ [-Wunused-variable]
  UCHAR  CipherAlg = pCipherKey->CipherAlg;
         ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/assoc.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/auth.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/sync.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/sanity.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/connect.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/wpa.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/ags.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../sta/sta_cfg.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_profile.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.o
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_private_show’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:1815:13: warning: reading through null pointer (argument 4) [-Wformat=]
             sprintf(extra, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, NULL, NULL );
             ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:1815:13: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘void *’ [-Wformat=]
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:1815:13: warning: reading through null pointer (argument 5) [-Wformat=]
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:1815:13: warning: format ‘%s’ expects argument of type ‘char *’, but argument 5 has type ‘void *’ [-Wformat=]
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_iwaplist’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:596:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlMAC’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:5844:1: warning: the frame size of 1336 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c: In function ‘RTMPIoctlE2PROM’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/sta_ioctl.c:6043:1: warning: the frame size of 1340 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.o
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevDetach’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.c:1699:38: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
  struct net_device_ops *pNetDevOps = pNetDev->netdev_ops;
                                      ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_linux.c:1736:38: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
  struct net_device_ops *pNetDevOps = pNetDev->netdev_ops;
                                      ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_main_dev.o
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_main_dev.c: In function ‘MainVirtualIF_close’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_main_dev.c:118:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
   BOOLEAN   Cancelled;
             ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/ba_action.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.o
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c: In function ‘RTMPResetTxRxRingMemory’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:36:13: warning: unused variable ‘num’ [-Wunused-variable]
  int index, num , j;
             ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c: In function ‘RTMPFreeTxRxRingMemory’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:119:16: warning: unused variable ‘IrqFlags’ [-Wunused-variable]
  unsigned int  IrqFlags;
                ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:118:16: warning: unused variable ‘pPacket’ [-Wunused-variable]
  PNDIS_PACKET  pPacket;
                ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:117:15: warning: unused variable ‘pTxD’ [-Wunused-variable]
  PTXD_STRUC   pTxD;
               ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:116:16: warning: unused variable ‘pTxRing’ [-Wunused-variable]
  PRTMP_TX_RING pTxRing;
                ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:115:19: warning: unused variable ‘j’ [-Wunused-variable]
  int index, num , j;
                   ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:115:6: warning: unused variable ‘index’ [-Wunused-variable]
  int index, num , j;
      ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c: In function ‘RTMPAllocTxRxRingMemory’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:447:11: warning: unused variable ‘BufBaseVa’ [-Wunused-variable]
    PVOID  BufBaseVa;
           ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:446:11: warning: unused variable ‘BufBasePaLow’ [-Wunused-variable]
    ULONG  BufBasePaLow;
           ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:445:11: warning: unused variable ‘BufBasePaHigh’ [-Wunused-variable]
    ULONG  BufBasePaHigh;
           ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:432:15: warning: unused variable ‘pPacket’ [-Wunused-variable]
  PNDIS_PACKET pPacket;
               ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:431:15: warning: unused variable ‘pDmaBuf’ [-Wunused-variable]
  PRTMP_DMABUF pDmaBuf;
               ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:430:16: warning: unused variable ‘pTxRing’ [-Wunused-variable]
  PRTMP_TX_RING pTxRing;
                ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:428:14: warning: unused variable ‘pRxD’ [-Wunused-variable]
  PRXD_STRUC  pRxD;
              ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:427:14: warning: unused variable ‘pTxD’ [-Wunused-variable]
  PTXD_STRUC  pTxD;
              ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:426:9: warning: unused variable ‘index’ [-Wunused-variable]
  INT    index, num;
         ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:425:10: warning: unused variable ‘RingBaseVa’ [-Wunused-variable]
  PVOID   RingBaseVa;
          ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:424:10: warning: unused variable ‘RingBasePaLow’ [-Wunused-variable]
  ULONG   RingBasePaLow;
          ^
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_mac_pci.c:423:10: warning: unused variable ‘RingBasePaHigh’ [-Wunused-variable]
  ULONG   RingBasePaHigh;
          ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/cmm_data_pci.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rtmp_mcu.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/ee_prom.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/ee_efuse.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/rt_rf.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../chips/rt30xx.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../chips/rt35xx.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_pci_rbus.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/rt_rbus_pci_util.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/pci_main_dev.o
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/pci_main_dev.c: In function ‘rt2860_probe’:
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../os/linux/pci_main_dev.c:321:13: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  print_name = pci_dev ? pci_name(pci_dev) : "rt3562";
             ^
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/misc.o
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../chips/rt3592cb.o
  LD [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/rt3562sta.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/rt3562sta.mod.o
  LD [M]  /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/rt3562sta.ko
make[1]: Leaving directory '/usr/src/linux-3.12.3-1-ARCH'
==> Entering fakeroot environment...
==> Starting package()...
==> Kernel = 3.12.3-1-ARCH
==> Tidying install...
  -> Purging unwanted files...
  -> Removing libtool files...
  -> Removing static library files...
  -> Compressing man and info pages...
  -> Stripping unneeded symbols from binaries and libraries...
==> Creating package "rt3562sta"...
  -> Generating .PKGINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: rt3562sta 2.4.1.1-48 (Mon  9 Dec 11:17:34 GMT 2013)
[joe@pc trunk]$ sudo nano /etc/pacman.conf
[joe@pc trunk]$ sudo pacman -Syy
:: Synchronising package databases...
 testing                    7.3 KiB  1222K/s 00:00 [######################] 100%
 core                     105.3 KiB   908K/s 00:00 [######################] 100%
 extra                   1522.8 KiB  1670K/s 00:01 [######################] 100%
 community                  2.0 MiB  1845K/s 00:01 [######################] 100%
 antergos                  36.5 KiB   468K/s 00:00 [######################] 100%
[joe@pc trunk]$ sudo pacman -Syu
:: Synchronising package databases...
 testing is up to date
 core is up to date
 extra is up to date
 community is up to date
 antergos is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Packages (5): inetutils-1.9.1.341-2  linux-3.12.4-1  linux-headers-3.12.4-1
              sqlite-3.8.2-1  util-linux-2.24-2

Total Download Size:    56.84 MiB
Total Installed Size:   112.82 MiB
Net Upgrade Size:       0.02 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages ...
 inetutils-1.9.1.341...   266.3 KiB  1338K/s 00:00 [######################] 100%
 linux-3.12.4-1-i686       48.7 MiB  3.55M/s 00:14 [######################] 100%
 linux-headers-3.12....     5.8 MiB  3.40M/s 00:02 [######################] 100%
 sqlite-3.8.2-1-i686      434.4 KiB  2.37M/s 00:00 [######################] 100%
 util-linux-2.24-2-i686  1668.2 KiB  2.48M/s 00:01 [######################] 100%
(5/5) checking keys in keyring                     [######################] 100%
(5/5) checking package integrity                   [######################] 100%
(5/5) loading package files                        [######################] 100%
(5/5) checking for file conflicts                  [######################] 100%
(5/5) checking available disk space                [######################] 100%
(1/5) upgrading inetutils                          [######################] 100%
(2/5) upgrading linux                              [######################] 100%
>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.12.4-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.12.4-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: smsmdtv
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful
(3/5) upgrading linux-headers                      [######################] 100%
(4/5) upgrading sqlite                             [######################] 100%
(5/5) upgrading util-linux                         [######################] 100%
[joe@pc trunk]$ rm -R pkg src -f
[joe@pc trunk]$ makepkg
==> ERROR: A package has already been built. (use -f to overwrite)
[joe@pc trunk]$ makepkg -f
==> Making package: rt3562sta 2.4.1.1-48 (Mon  9 Dec 11:19:35 GMT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz
  -> Found rt3562sta-2.4.1.1-config.patch
  -> Found rt3562sta-2.4.1.1-gcc-warnings-x86_64.patch
  -> Found rt3562sta-2.4.1.1-WPA-mixed.patch
  -> Found rt3562sta-2.4.1.1-convert-devicename-to-wlanX.patch
  -> Found rt3562sta-2.4.1.1-remove-potential-conflicts-with-rt2860sta.patch
  -> Found rt3562sta-2.4.1.1-return_nonvoid.patch
  -> Found rt3562sta-2.4.1.1-reduce_debug_output.patch
  -> Found rt3562sta-2.4.1.1-remove_date_time.patch
  -> Found linux-3.8.patch
==> Validating source files with sha256sums...
    DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz ... Passed
    rt3562sta-2.4.1.1-config.patch ... Passed
    rt3562sta-2.4.1.1-gcc-warnings-x86_64.patch ... Passed
    rt3562sta-2.4.1.1-WPA-mixed.patch ... Passed
    rt3562sta-2.4.1.1-convert-devicename-to-wlanX.patch ... Passed
    rt3562sta-2.4.1.1-remove-potential-conflicts-with-rt2860sta.patch ... Passed
    rt3562sta-2.4.1.1-return_nonvoid.patch ... Passed
    rt3562sta-2.4.1.1-reduce_debug_output.patch ... Passed
    rt3562sta-2.4.1.1-remove_date_time.patch ... Passed
    linux-3.8.patch ... Passed
==> Extracting sources...
  -> Extracting DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217.tgz with bsdtar
==> Starting build()...
patching file os/linux/config.mk
patching file Makefile
patching file common/cmm_wpa.c
patching file include/rtmp_def.h
patching file include/os/rt_linux.h
patching file os/linux/pci_main_dev.c
patching file os/linux/rt_main_dev.c
patching file include/os/rt_linux.h
patching file os/linux/sta_ioctl.c
patching file os/linux/pci_main_dev.c
Hunk #3 succeeded at 102 (offset 1 line).
Hunk #4 succeeded at 295 (offset 1 line).
Hunk #5 succeeded at 469 (offset 1 line).
make -C tools
make[1]: Entering directory '/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
cp -f os/linux/Makefile.6 /home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
make -C /usr/lib/modules/3.12.4-1-ARCH/build SUBDIRS=/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux modules
make[1]: Entering directory '/usr/src/linux-3.12.4-1-ARCH'
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/joe/Desktop/community/rt3562sta/trunk/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_/home/joe/Desktop/community/rt3562sta/trunk/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux' failed
make[1]: *** [_module_/home/joe/Desktop/community/rt3562sta/trunk/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-ARCH'
Makefile:317: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Same result ...

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #3 on: 09. December 2013, 12:36:50 »
Just to confirm. slmodem won't build either:

Code: [Select]
==> Starting build()...
patching file ungrab-winmodem-20080126/ungrab-winmodem.c
patching file slmodem-2.9.11-20080126/drivers/amrmo_init.c
patching file ungrab-winmodem.c
make modules -C /lib/modules/3.12.4-1-ARCH/build SUBDIRS=/home/joe/Desktop/community/rt3562sta/trunk/extra.git/linux312-extramodules/slmodem/src/ungrab-winmodem-20080126
make[1]: Entering directory '/usr/src/linux-3.12.4-1-ARCH'
  CC [M]  /home/joe/Desktop/community/rt3562sta/trunk/extra.git/linux312-extramodules/slmodem/src/ungrab-winmodem-20080126/ungrab-winmodem.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/joe/Desktop/community/rt3562sta/trunk/extra.git/linux312-extramodules/slmodem/src/ungrab-winmodem-20080126/ungrab-winmodem.mod.o
  LD [M]  /home/joe/Desktop/community/rt3562sta/trunk/extra.git/linux312-extramodules/slmodem/src/ungrab-winmodem-20080126/ungrab-winmodem.ko
make[1]: Leaving directory '/usr/src/linux-3.12.4-1-ARCH'
patching file drivers/amrmo_init.c
Hunk #1 succeeded at 609 (offset -8 lines).
patching file drivers/kernel-ver.c
patching file drivers/amrmo_init.c
patching file drivers/amrmo_init.c
patching file drivers/amrmo_init.c
make -C drivers KERNEL_DIR=/lib/modules/3.12.4-1-ARCH/build
make[1]: Entering directory '/home/joe/Desktop/community/rt3562sta/trunk/extra.git/linux312-extramodules/slmodem/src/slmodem-2.9.11-20080126/drivers'
cc -I/lib/modules/3.12.4-1-ARCH/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=3.12.4-1-ARCH
make[2]: Entering directory '/home/joe/Desktop/community/rt3562sta/trunk/extra.git/linux312-extramodules/slmodem/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-ARCH/build/include/linux/modversions.h -I/lib/modules/3.12.4-1-ARCH/build/include -I. -I./../modem  -o amrmo_init.o -c amrmo_init.c
In file included from <command-line>:0:0:
/usr/include/stdc-predef.h:40:1: fatal error: /lib/modules/3.12.4-1-ARCH/build/include/linux/modversions.h: No such file or directory
 #endif
 ^
compilation terminated.
Makefile:95: recipe for target 'amrmo_init.o' failed
make[2]: *** [amrmo_init.o] Error 1
make[2]: Leaving directory '/home/joe/Desktop/community/rt3562sta/trunk/extra.git/linux312-extramodules/slmodem/src/slmodem-2.9.11-20080126/drivers'
Makefile:32: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/joe/Desktop/community/rt3562sta/trunk/extra.git/linux312-extramodules/slmodem/src/slmodem-2.9.11-20080126/drivers'
Makefile:44: recipe for target 'drivers' failed
make: *** [drivers] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #4 on: 09. December 2013, 12:44:28 »
Modprobe failed too:

Code: [Select]
[joe@pc Desktop]$ sudo modprobe rt3562sta
[sudo] password for joe:
modprobe: ERROR: could not insert 'rt3562sta': Invalid argument

So lets find the regression which got added to 3.12.4 and was not present in 3.12.3.

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #5 on: 09. December 2013, 12:57:28 »
This all makes no sense at all. I compared both patches and can't find anything triggering this regression ... Seems 3.12.4 will never land testing and there for not stable at all ... Really strange!

Offline FadeMind

  • Support Team
  • ****
  • Posts: 2331
    • gravatar
  • Branch: Arch x86_64
  • Desktop: Plasma 5
  • GPU Card: Intel + NVIDIA
  • GPU driver: Intel + NVIDIA
  • Kernel: linux
  • Skill: Intermediate
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #6 on: 09. December 2013, 13:25:39 »
This all makes no sense at all. I compared both patches and can't find anything triggering this regression ... Seems 3.12.4 will never land testing and there for not stable at all ... Really strange!

I installed Con Kolivas kernel (ck-sandybridge) 3.12.4 without bugs. Working good.
Con Kolivas released kernel's 3.12.4 series.
Listing:
Code: (sh) [Select]
[tomasz@manjaro ~]$ uname -a
Linux manjaro 3.12.4-1-ck #1 SMP PREEMPT Sun Dec 8 13:51:57 EST 2013 x86_64 GNU/Linux
[tomasz@manjaro ~]$ lsmod
Module                  Size  Used by
ppp_deflate             3970  0
bsd_comp                5322  0
ppp_async               7290  1
crc_ccitt               1371  1 ppp_async
ppp_generic            23461  7 bsd_comp,ppp_async,ppp_deflate
slhc                    4947  1 ppp_generic
fuse                   74224  2
rfcomm                 50802  8
option                 34344  2
usb_wwan                8196  1 option
usbserial              30757  7 option,usb_wwan
usb_storage            48007  0
uvcvideo               71748  0
videobuf2_vmalloc       3280  1 uvcvideo
videobuf2_memops        2119  1 videobuf2_vmalloc
videobuf2_core         27003  1 uvcvideo
videodev              108228  2 uvcvideo,videobuf2_core
media                  11719  2 uvcvideo,videodev
ath3k                   7309  0
btusb                  18632  0
hid_a4tech              2001  0
usbhid                 40577  0
hid                    90646  2 hid_a4tech,usbhid
joydev                  9671  0
bnep                   13317  2
bluetooth             306556  23 bnep,ath3k,btusb,rfcomm
nvram                   5882  0
gpio_ich                4536  0
iTCO_wdt                5407  0
iTCO_vendor_support     1937  1 iTCO_wdt
asus_nb_wmi             7376  0
asus_wmi               16314  1 asus_nb_wmi
sparse_keymap           3154  1 asus_wmi
arc4                    2008  2
x86_pkg_temp_thermal     6999  0
intel_powerclamp        8610  0
coretemp                6334  0
kvm_intel             131007  0
snd_hda_codec_hdmi     29746  1
kvm                   387143  1 kvm_intel
ath9k                  91321  0
ath9k_common            2095  1 ath9k
ath9k_hw              392345  2 ath9k_common,ath9k
snd_hda_codec_realtek    40836  1
ath                    15817  3 ath9k_common,ath9k,ath9k_hw
crct10dif_pclmul        4722  0
crct10dif_common        1380  1 crct10dif_pclmul
crc32_pclmul            2995  0
crc32c_intel           14257  0
ghash_clmulni_intel     4477  0
cryptd                  8481  1 ghash_clmulni_intel
mac80211              465498  1 ath9k
snd_hda_intel          36936  3
snd_hda_codec         148705  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
psmouse                85268  0
serio_raw               5049  0
cfg80211              411766  3 ath,ath9k,mac80211
atl1c                  36746  0
snd_hwdep               6308  1 snd_hda_codec
snd_pcm                76301  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
rfkill                 15651  5 cfg80211,bluetooth,asus_wmi
i2c_i801               11277  0
lpc_ich                13376  0
mei_me                  9304  0
mei                    61998  1 mei_me
snd_page_alloc          7210  2 snd_pcm,snd_hda_intel
snd_timer              18534  1 snd_pcm
snd                    59013  13 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore               5450  1 snd
shpchp                 25465  0
wmi                     8419  1 asus_wmi
thermal                 8532  0
battery                 6837  0
ac                      3332  0
evdev                  11085  9
processor              24935  0
loop                   17647  0
msr                     2573  0
nfs                   192533  0
lockd                  75406  1 nfs
sunrpc                230745  2 nfs,lockd
fscache                60676  1 nfs
microcode              15216  0
pci_stub                1389  1
vboxpci                14581  0
vboxnetflt             17420  0
vboxnetadp             18227  0
vboxdrv               264347  3 vboxnetadp,vboxnetflt,vboxpci
ext4                  473483  2
crc16                   1367  2 ext4,bluetooth
mbcache                 6082  1 ext4
jbd2                   83504  1 ext4
sr_mod                 14738  0
cdrom                  34528  1 sr_mod
sd_mod                 30661  4
ahci                   23056  3
libahci                21674  1 ahci
xhci_hcd              144449  0
libata                168520  2 ahci,libahci
ehci_pci                4000  0
ehci_hcd               58292  1 ehci_pci
scsi_mod              130381  4 usb_storage,libata,sd_mod,sr_mod
usbcore               179944  11 ath3k,btusb,uvcvideo,usb_storage,usbserial,ehci_hcd,ehci_pci,option,usbhid,usb_wwan,xhci_hcd
usb_common              1656  1 usbcore
i915                  655606  3
video                  11228  2 i915,asus_wmi
button                  4677  1 i915
i2c_algo_bit            5399  1 i915
intel_agp              10880  1 i915
intel_gtt              12664  2 i915,intel_agp
drm_kms_helper         36318  1 i915
drm                   236670  4 i915,drm_kms_helper
i2c_core               24036  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
Dmesg: https://pastebin.com/JH0JMNQ8

philm
Maybe in 3.12.4 are some changes in compatibilities with modules and this is reason thats why extramodules don't wan't compile. IMO good idea is check last changelog and compare configs files.

In human readable listing show :
[spoiler]
Al Viro (1):
      take anon inode allocation to libfs.c

Alexei Starovoitov (2):
      core/dev: do not ignore dmac in dev_forward_skb()
      ipv4: fix race in concurrent ip_route_input_slow()

Amir Vadai (1):
      net/mlx4_en: Fixed crash when port type is changed

Andreas Henriksson (1):
      net: Fix "ip rule delete table 256"

Andrey Vagin (2):
      net: x86: bpf: don't forget to free sk_filter (v2)
      tcp: don't update snd_nxt, when a socket is switched from repair mode

Andy Whitcroft (1):
      xen-netback: include definition of csum_ipv6_magic

Benjamin LaHaise (1):
      rework aio migrate pages to use aio fs

Chris Metcalf (1):
      connector: improved unaligned access error fix

Dan Carpenter (4):
      net: mv643xx_eth: potential NULL dereference in probe()
      isdnloop: use strlcpy() instead of strcpy()
      net: clamp ->msg_namelen instead of returning an error
      aio: checking for NULL instead of IS_ERR

Daniel Borkmann (2):
      random32: fix off-by-one in seeding requirement
      packet: fix use after free race in send path when dev is released

David Chang (1):
      r8169: check ALDPS bit and disable it if enabled for the 8168g

Ding Tianhong (1):
      bridge: flush br's address entry in fdb when remove the bridge dev

Duan Jiong (1):
      ipv6: use rt6_get_dflt_router to get default router in rt6_route_rcv

Dwight Engen (1):
      xfs: add capability check to free eofblocks ioctl

Eric Dumazet (7):
      tcp: tsq: restore minimal amount of queueing
      net-tcp: fix panic in tcp_fastopen_cache_set()
      ipv4: fix possible seqlock deadlock
      pkt_sched: fq: warn users using defrate
      pkt_sched: fq: fix pacing for small frames
      sch_tbf: handle too small burst
      inet: fix possible seqlock deadlocks

Felix Fietkau (1):
      usbnet: fix status interrupt urb handling

Francois Romieu (1):
      via-velocity: fix netif_receive_skb use in irq disabled section.

Greg Kroah-Hartman (1):
      Linux 3.12.4

Gu Zheng (1):
      aio: clean up aio ring in the fail path

Hannes Frederic Sowa (9):
      ipv6: fix headroom calculation in udp6_ufo_fragment
      ipv6: protect for_each_sk_fl_rcu in mem_check with rcu_read_lock_bh
      inet: prevent leakage of uninitialized memory to user in recv syscalls
      ping: prevent NULL pointer dereference on write to msg_name
      net: rework recvmsg handler msg_name and msg_namelen logic
      net: add BUG_ON if kernel advertises msg_namelen > sizeof(struct sockaddr_storage)
      inet: fix addr_len/msg->msg_namelen assignment in recv_error and rxpmtu functions
      ipv6: fix leaking uninitialized port number of offender sockaddr
      ipv6: fix possible seqlock deadlock in ip6_finish_output2

Herbert Xu (3):
      gso: handle new frag_list of frags GRO packets
      gro: Only verify TCP checksums for candidates
      gro: Clean up tcpX_gro_receive checksum verification

Jason Gunthorpe (1):
      net: mv643xx_eth: Add missing phy_addr_set in DT mode

Jason Wang (2):
      tuntap: limit head length of skb allocated
      macvtap: limit head length of skb allocated

Jiri Pirko (3):
      ip6_output: fragment outgoing reassembled skb properly
      netfilter: push reasm skb through instead of original frag skbs
      team: fix master carrier set when user linkup is enabled

Jukka Rissanen (1):
      6lowpan: Uncompression of traffic class field was incorrect

Julian Stecklina (1):
      iommu/vt-d: Fixed interaction of VFIO_IOMMU_MAP_DMA with IOMMU address limits

Kent Overstreet (1):
      aio: Fix a trinity splat

Linus Walleij (1):
      net: smc91: fix crash regression on the versatile

Maciej Ĺťenczykowski (1):
      pkt_sched: fq: change classification of control packets

Mel Gorman (1):
      mm: numa: return the number of base pages altered by protection changes

Miroslav Lichvar (1):
      ntp: Make periodic RTC update more reliable

Neil Horman (1):
      iommu: Remove stack trace from broken irq remapping warning

Nicolas Dichtel (1):
      ip6tnl: fix use after free of fb_tnl_dev

Nikolay Aleksandrov (1):
      bonding: fix two race conditions in bond_store_updelay/downdelay

Oliver Neukum (1):
      HID: hid-elo: some systems cannot stomach work around

Pierre Ossman (2):
      drm/radeon/audio: improve ACR calculation
      drm/radeon/audio: correct ACR table

Sasha Levin (3):
      video: kyro: fix incorrect sizes when copying to userspace
      aio: prevent double free in ioctx_alloc
      aio: nullify aio->ring_pages after freeing it

Sergei Shtylyov (1):
      usb: musb: davinci: fix resources passed to MUSB driver for DM6467

Shawn Landden (1):
      net: update consumers of MSG_MORE to recognize MSG_SENDPAGE_NOTLAST

Simon Wood (1):
      HID: lg: fix Report Descriptor for Logitech MOMO Force (Black)

Stanislaw Gruszka (1):
      rt2800: add support for radio chip RF3070

Steffen Klassert (1):
      xfrm: Fix null pointer dereference when decoding sessions

Thomas Pugliese (1):
      usb: wusbcore: change WA_SEGS_MAX to a legal value

Tomoki Sekiyama (2):
      elevator: Fix a race in elevator switching and md device initialization
      elevator: acquire q->sysfs_lock in elevator_change()

Veaceslav Falico (3):
      bonding: RCUify bond_set_rx_mode()
      bonding: don't permit to use ARP monitoring in 802.3ad mode
      af_packet: block BH in prb_shutdown_retire_blk_timer()

Vlad Yasevich (2):
      ipv6: Fix inet6_init() cleanup order
      net: core: Always propagate flag changes to interfaces

Willem de Bruijn (1):
      sit: fix use after free of fb_tunnel_dev

Yang Yingliang (1):
      net: 8139cp: fix a BUG_ON triggered by wrong bytes_compl

Ying Xue (1):
      atm: idt77252: fix dev refcnt leak

fan.du (2):
      xfrm: Release dst if this dst is improper for vti tunnel
      {pktgen, xfrm} Update IPv4 header total len and checksum after tranformation

majianpeng (1):
      md/raid5: Use conf->device_lock protect changing of multi-thread resources.

[/spoiler]

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #7 on: 09. December 2013, 14:02:20 »
Hi FadeMind. Can you try to compile those extramodules. I created another build with latest stable-queue patches and still failed to compile them. So some of the patches added created this issue:

Code: [Select]
==> Beginne build()...
patching file ungrab-winmodem-20080126/ungrab-winmodem.c
patching file slmodem-2.9.11-20080126/drivers/amrmo_init.c
patching file ungrab-winmodem.c
make modules -C /lib/modules/3.12.4-2-MANJARO/build SUBDIRS=/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/slmodem/src/ungrab-winmodem-20080126
make[1]: Entering directory '/usr/src/linux-3.12.4-2-MANJARO'
  CC [M]  /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/slmodem/src/ungrab-winmodem-20080126/ungrab-winmodem.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/slmodem/src/ungrab-winmodem-20080126/ungrab-winmodem.mod.o
  LD [M]  /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/slmodem/src/ungrab-winmodem-20080126/ungrab-winmodem.ko
make[1]: Leaving directory '/usr/src/linux-3.12.4-2-MANJARO'
patching file drivers/amrmo_init.c
Hunk #1 succeeded at 609 (offset -8 lines).
patching file drivers/kernel-ver.c
patching file drivers/amrmo_init.c
patching file drivers/amrmo_init.c
patching file drivers/amrmo_init.c
make -C drivers KERNEL_DIR=/lib/modules/3.12.4-2-MANJARO/build
make[1]: Entering directory '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/slmodem/src/slmodem-2.9.11-20080126/drivers'
cc -I/lib/modules/3.12.4-2-MANJARO/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=3.12.4-2-MANJARO
make[2]: Entering directory '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/slmodem/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-2-MANJARO/build/include/linux/modversions.h -I/lib/modules/3.12.4-2-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-2-MANJARO/build/include/linux/modversions.h -I/lib/modules/3.12.4-2-MANJARO/build/include -I. -I./../modem  -o sysdep_amr.o -c sysdep_amr.c
In file included from <Kommandozeile>:0:0:
/usr/include/stdc-predef.h:40:1: schwerwiegender Fehler: /lib/modules/3.12.4-2-MANJARO/build/include/linux/modversions.h: Datei oder Verzeichnis nicht gefunden
 #endif
 ^
In file included from <Kommandozeile>:0:0:
/usr/include/stdc-predef.h:40:1: schwerwiegender Fehler: /lib/modules/3.12.4-2-MANJARO/build/include/linux/modversions.h: Datei oder Verzeichnis nicht gefunden
 #endif
 ^
Kompilierung beendet.
Kompilierung beendet.
Makefile:95: recipe for target 'sysdep_amr.o' failed
make[2]: *** [sysdep_amr.o] Error 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
Makefile:95: recipe for target 'amrmo_init.o' failed
make[2]: *** [amrmo_init.o] Error 1
make[2]: Leaving directory '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/slmodem/src/slmodem-2.9.11-20080126/drivers'
Makefile:32: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/slmodem/src/slmodem-2.9.11-20080126/drivers'
Makefile:44: recipe for target 'drivers' failed
make: *** [drivers] Error 2

Code: [Select]
==> Beginne build()...
patching file os/linux/config.mk
patching file Makefile
patching file common/cmm_wpa.c
patching file include/rtmp_def.h
patching file include/os/rt_linux.h
patching file os/linux/pci_main_dev.c
patching file os/linux/rt_main_dev.c
patching file include/os/rt_linux.h
patching file os/linux/sta_ioctl.c
patching file os/linux/pci_main_dev.c
make -C tools
cp -f os/linux/Makefile.4 /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
make[1]: Entering directory '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
gcc -g bin2h.c -o bin2h
make -C /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/
make[1]: Entering directory '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux'
gcc -D__KERNEL__ -I/usr/lib/modules/3.12.4-2-MANJARO/build/include -I/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/lib/modules/3.12.4-2-MANJARO/build/include/linux/modversions.h -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT  -DLINUX -Wall -Wstrict-prototypes -Wno-trigraphs  -DSYSTEM_LOG_SUPPORT -DLED_CONTROL_SUPPORT -DPROFILE_STORE -DPRE_ASSIGN_MAC_ADDR -DRESOURCE_PRE_ALLOC -DCONFIG_STA_SUPPORT -DDBG -DWPA_SUPPLICANT_SUPPORT -DNATIVE_WPA_SUPPLICANT_SUPPORT -DDOT11_N_SUPPORT -DDOT11N_DRAFT3 -DSTATS_COUNT_SUPPORT -DCREDENTIAL_STORE -DPRE_ASSIGN_MAC_ADDR -DRTMP_MAC_PCI -DRT2860 -DRT28xx -DRT30xx -DRT35xx -DRTMP_PCI_SUPPORT -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DA_BAND_SUPPORT -DDOT11N_SS3_SUPPORT -DNEW_RATE_ADAPT_SUPPORT -DRT3593 -D_FORTIFY_SOURCE=2  -c -o /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_md5.o /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_md5.c
gcc -D__KERNEL__ -I/usr/lib/modules/3.12.4-2-MANJARO/build/include -I/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/lib/modules/3.12.4-2-MANJARO/build/include/linux/modversions.h -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT  -DLINUX -Wall -Wstrict-prototypes -Wno-trigraphs  -DSYSTEM_LOG_SUPPORT -DLED_CONTROL_SUPPORT -DPROFILE_STORE -DPRE_ASSIGN_MAC_ADDR -DRESOURCE_PRE_ALLOC -DCONFIG_STA_SUPPORT -DDBG -DWPA_SUPPLICANT_SUPPORT -DNATIVE_WPA_SUPPLICANT_SUPPORT -DDOT11_N_SUPPORT -DDOT11N_DRAFT3 -DSTATS_COUNT_SUPPORT -DCREDENTIAL_STORE -DPRE_ASSIGN_MAC_ADDR -DRTMP_MAC_PCI -DRT2860 -DRT28xx -DRT30xx -DRT35xx -DRTMP_PCI_SUPPORT -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DA_BAND_SUPPORT -DDOT11N_SS3_SUPPORT -DNEW_RATE_ADAPT_SUPPORT -DRT3593 -D_FORTIFY_SOURCE=2  -c -o /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_sha2.o /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_sha2.c
gcc -D__KERNEL__ -I/usr/lib/modules/3.12.4-2-MANJARO/build/include -I/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/lib/modules/3.12.4-2-MANJARO/build/include/linux/modversions.h -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT  -DLINUX -Wall -Wstrict-prototypes -Wno-trigraphs  -DSYSTEM_LOG_SUPPORT -DLED_CONTROL_SUPPORT -DPROFILE_STORE -DPRE_ASSIGN_MAC_ADDR -DRESOURCE_PRE_ALLOC -DCONFIG_STA_SUPPORT -DDBG -DWPA_SUPPLICANT_SUPPORT -DNATIVE_WPA_SUPPLICANT_SUPPORT -DDOT11_N_SUPPORT -DDOT11N_DRAFT3 -DSTATS_COUNT_SUPPORT -DCREDENTIAL_STORE -DPRE_ASSIGN_MAC_ADDR -DRTMP_MAC_PCI -DRT2860 -DRT28xx -DRT30xx -DRT35xx -DRTMP_PCI_SUPPORT -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DA_BAND_SUPPORT -DDOT11N_SS3_SUPPORT -DNEW_RATE_ADAPT_SUPPORT -DRT3593 -D_FORTIFY_SOURCE=2  -c -o /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_hmac.o /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_hmac.c
gcc -D__KERNEL__ -I/usr/lib/modules/3.12.4-2-MANJARO/build/include -I/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/include -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/lib/modules/3.12.4-2-MANJARO/build/include/linux/modversions.h -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT  -DLINUX -Wall -Wstrict-prototypes -Wno-trigraphs  -DSYSTEM_LOG_SUPPORT -DLED_CONTROL_SUPPORT -DPROFILE_STORE -DPRE_ASSIGN_MAC_ADDR -DRESOURCE_PRE_ALLOC -DCONFIG_STA_SUPPORT -DDBG -DWPA_SUPPLICANT_SUPPORT -DNATIVE_WPA_SUPPLICANT_SUPPORT -DDOT11_N_SUPPORT -DDOT11N_DRAFT3 -DSTATS_COUNT_SUPPORT -DCREDENTIAL_STORE -DPRE_ASSIGN_MAC_ADDR -DRTMP_MAC_PCI -DRT2860 -DRT28xx -DRT30xx -DRT35xx -DRTMP_PCI_SUPPORT -DRTMP_RF_RW_SUPPORT -DRTMP_EFUSE_SUPPORT -DA_BAND_SUPPORT -DDOT11N_SS3_SUPPORT -DNEW_RATE_ADAPT_SUPPORT -DRT3593 -D_FORTIFY_SOURCE=2  -c -o /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_aes.o /home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_aes.c
In file included from <Kommandozeile>:0:0:
/usr/include/stdc-predef.h:40:1: schwerwiegender Fehler: /usr/lib/modules/3.12.4-2-MANJARO/build/include/linux/modversions.h: Datei oder Verzeichnis nicht gefunden
 #endif
 ^
Kompilierung beendet.
<builtin>: recipe for target '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_sha2.o' failed
make[1]: *** [/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_sha2.o] Error 1
In file included from <Kommandozeile>:0:0:
/usr/include/stdc-predef.h:40:1: schwerwiegender Fehler: /usr/lib/modules/3.12.4-2-MANJARO/build/include/linux/modversions.h: Datei oder Verzeichnis nicht gefunden
 #endif
 ^
Kompilierung beendet.
In file included from <Kommandozeile>:0:0:
/usr/include/stdc-predef.h:40:1: schwerwiegender Fehler: /usr/lib/modules/3.12.4-2-MANJARO/build/include/linux/modversions.h: Datei oder Verzeichnis nicht gefunden
 #endif
 ^
Kompilierung beendet.
make[1]: *** Warte auf noch nicht beendete Prozesse...
<builtin>: recipe for target '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_md5.o' failed
make[1]: *** [/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_md5.o] Error 1
In file included from <Kommandozeile>:0:0:
/usr/include/stdc-predef.h:40:1: schwerwiegender Fehler: /usr/lib/modules/3.12.4-2-MANJARO/build/include/linux/modversions.h: Datei oder Verzeichnis nicht gefunden
 #endif
 ^
Kompilierung beendet.
<builtin>: recipe for target '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_aes.o' failed
make[1]: *** [/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_aes.o] Error 1
<builtin>: recipe for target '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_hmac.o' failed
make[1]: *** [/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/common/crypt_hmac.o] Error 1
make[1]: Leaving directory '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux'
Makefile:278: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
make: *** Warte auf noch nicht beendete Prozesse...
make[1]: Leaving directory '/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
/home/phil/dev/git/manjaro/repositories/extra/linux312-extramodules/rt3562sta/src/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h

I still wonder why I don't have these issues in linux 3.10.23 ...

Offline FadeMind

  • Support Team
  • ****
  • Posts: 2331
    • gravatar
  • Branch: Arch x86_64
  • Desktop: Plasma 5
  • GPU Card: Intel + NVIDIA
  • GPU driver: Intel + NVIDIA
  • Kernel: linux
  • Skill: Intermediate
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #8 on: 09. December 2013, 14:18:20 »
Hi philm
I have too low-power CPU. Celeron B820. Apologize. Compiling will be very long time. I don't have any experience with compiling kernel too.
IMO U can compare ck modules and find out what changes was made.

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #9 on: 09. December 2013, 14:25:52 »
Hi philm
I have too low-power CPU. Celeron B820. Apologize. Compiling will be very long time. I don't have any experience with compiling kernel too.
IMO U can compare ck modules and find out what changes was made.
The modules Phil is having issue with are 'extramodules', i.e. ones that aren't in the kernel main tree, that Phil decides to provide (as separate packages).
The linux-ck kernel you are running doesn't include them.
If you have the linux-ck-headers installed you can modify the PKGBUILDs of the module packages to try to build against linux-ck.

You can find the package sources here:
http://git.manjaro.org/package-sources/extra/tree/master/linux312-extramodules

I'm compiling 3.12.4 now and then will start trying to build the modules too.
« Last Edit: 09. December 2013, 14:28:33 by Korrode »

Offline philm

  • Core Team
  • *****
  • Posts: 10671
    • Manjaro Linux
  • Branch: Unstable
  • Desktop: XFCE
  • GPU Card: Geforce GTX 650
  • GPU driver: non-free
  • Kernel: Maintainer - so all ;)
  • Skill: Guru
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #10 on: 09. December 2013, 14:34:13 »
Thx Korrode. I updated git to the latest sources I have here. Maybe we find a solution to this. Otherwise it seems we have to drop those old drivers. This is really weird for me too. All the time they worked and now I get errors some people had 10 years ago with 2.6-series ... Really strange ... To find out if it fails it takes only seconds since it fails right at the beginning. Install the headers and get the PKGBUILD plus patches and then you can try to build them. Maybe you have to edit them a little ...

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
« Last Edit: 09. December 2013, 15:55:17 by Korrode »

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #12 on: 09. December 2013, 15:07:10 »
Meh, didn't know slmodem is i686 only. Oh well, now to build i686 packages.

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #13 on: 09. December 2013, 15:28:44 »
Regarding rt3562sta, setting KBUILD_NOPEDANTIC=1 makes the build get further, but still errors saying it can't find some files.
So just change line 60 in PKGBUILD to:
Code: [Select]
KBUILD_NOPEDANTIC=1 make
Still looking into it.
« Last Edit: 09. December 2013, 15:59:42 by Korrode »

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: [kernel] 3.12.4 - extramodules build issues
« Reply #14 on: 09. December 2013, 15:51:26 »
EDIT:
You're right Phil both the rt3562sta and slmodem errors are some weird shit. It references files that don't exist, but they don't exist in earlier kernel sources either so I don't yet understand how it built then but not now. Also to my understanding in one instance it's a re-reference from a file included by glibc that doesn't work.
I gotta sleep now, will troubleshoot some more tomorrow night, good luck in the meantime.
« Last Edit: 09. December 2013, 16:30:43 by Korrode »