[OpenWrt-Devel] ar71xx update to v3.18

Michaël Zweers admin at gigabyte.getmyip.com
Sun Feb 15 15:44:20 EST 2015


Hello,

I got a error message (kernel compile log included) when building v3.18
for wr703n.

If you need additional info let me know.


John Crispin schreef op 15-2-2015 om 20:49:
> Hi,
> 
> i just pushed the v3.18 support for ar71xx. i have tested this on
> carambola2, unifi and wndr4300. the default is still at 3.14. please
> start testing on more hardware.
> 
> to do so you need to set the kernel to 3.18 in
> target/linux/ar71xx/Makefile as the default is still at 3.14.
> 
> 902-unaligned_access_hacks.patch was rebased, however there might be new
> places in the stack that need the hack applied. testing for this is also
> welcome.
> 
> 	John
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
-------------- next part --------------
make[5]: Entering directory `/data/LinuxBuild/kamerwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.7'
  CHK     include/generated/uapi/linux/version.h
  UPD     include/generated/uapi/linux/version.h
  HOSTCC  scripts/basic/fixdep
  WRAP    arch/mips/include/generated/asm/cputime.h
  WRAP    arch/mips/include/generated/asm/current.h
  WRAP    arch/mips/include/generated/asm/dma-contiguous.h
  WRAP    arch/mips/include/generated/asm/emergency-restart.h
  WRAP    arch/mips/include/generated/asm/hash.h
  WRAP    arch/mips/include/generated/asm/irq_work.h
  WRAP    arch/mips/include/generated/asm/local64.h
  WRAP    arch/mips/include/generated/asm/mcs_spinlock.h
  WRAP    arch/mips/include/generated/asm/mutex.h
  WRAP    arch/mips/include/generated/asm/parport.h
  WRAP    arch/mips/include/generated/asm/percpu.h
  WRAP    arch/mips/include/generated/asm/preempt.h
  WRAP    arch/mips/include/generated/asm/scatterlist.h
  WRAP    arch/mips/include/generated/asm/sections.h
  WRAP    arch/mips/include/generated/asm/segment.h
  WRAP    arch/mips/include/generated/asm/serial.h
  WRAP    arch/mips/include/generated/asm/trace_clock.h
  WRAP    arch/mips/include/generated/asm/ucontext.h
  WRAP    arch/mips/include/generated/asm/user.h
  WRAP    arch/mips/include/generated/asm/xor.h
  WRAP    arch/mips/include/generated/uapi/asm/auxvec.h
  WRAP    arch/mips/include/generated/uapi/asm/ipcbuf.h
  HOSTCC  scripts/unifdef
  INSTALL include/asm-generic (35 files)
  INSTALL include/drm (18 files)
  INSTALL include/linux/byteorder (2 files)
  INSTALL include/linux/caif (2 files)
  INSTALL include/linux/can (5 files)
  INSTALL include/linux/dvb (8 files)
  INSTALL include/linux/hdlc (1 file)
  INSTALL include/linux/hsi (1 file)
  INSTALL include/linux/isdn (1 file)
  INSTALL include/linux/mmc (1 file)
  INSTALL include/linux/netfilter/ipset (4 files)
  INSTALL include/linux/netfilter (87 files)
  INSTALL include/linux/netfilter_arp (2 files)
  INSTALL include/linux/netfilter_bridge (17 files)
  INSTALL include/linux/netfilter_ipv4 (9 files)
  INSTALL include/linux/netfilter_ipv6 (12 files)
  INSTALL include/linux/nfsd (5 files)
  INSTALL include/linux/raid (2 files)
  INSTALL include/linux/spi (1 file)
  INSTALL include/linux/sunrpc (1 file)
  INSTALL include/linux/tc_act (8 files)
  INSTALL include/linux/tc_ematch (4 files)
  INSTALL include/linux/usb (11 files)
  INSTALL include/linux/wimax (1 file)
  INSTALL include/linux (405 files)
  INSTALL include/misc (1 file)
  INSTALL include/mtd (5 files)
  INSTALL include/rdma (6 files)
  INSTALL include/scsi/fc (4 files)
  INSTALL include/scsi (3 files)
  INSTALL include/sound (11 files)
  INSTALL include/video (3 files)
  INSTALL include/xen (4 files)
  INSTALL include/uapi (0 file)
  INSTALL include/asm (38 files)
make[5]: Leaving directory `/data/LinuxBuild/kamerwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.7'
net/sched/Kconfig:43: warning: menuconfig statement without prompt
*
* Restart config...
*
*
* Kernel type
*
Kernel code model
> 1. 32-bit kernel (32BIT)
choice[1]: 1
KVM Guest Kernel (KVM_GUEST) [N/y/?] n
Kernel page size
> 1. 4kB (PAGE_SIZE_4KB)
  2. 16kB (PAGE_SIZE_16KB)
  3. 64kB (PAGE_SIZE_64KB)
choice[1-3]: 1
Maximum zone order (FORCE_MAX_ZONEORDER) [11] 11
SmartMIPS or microMIPS ASE support
> 1. None (CPU_NEEDS_NO_SMARTMIPS_OR_MICROMIPS) (NEW)
choice[1]: 1
Allow for memory compaction (COMPACTION) [N/y/?] n
Enable KSM for page merging (KSM) [N/y/?] n
Low address space to protect from user allocation (DEFAULT_MMAP_MIN_ADDR) [4096] 4096
Enable cleancache driver to cache clean pages if tmem is present (CLEANCACHE) [N/y/?] n
Enable frontswap to cache swap pages if tmem is present (FRONTSWAP) [N/y/?] n
Contiguous Memory Allocator (CMA) [N/y/?] n
Common API for compressed memory storage (ZPOOL) [N/m/y/?] n
Low density storage for compressed pages (ZBUD) [N/m/y/?] n
Memory allocator for compressed pages (ZSMALLOC) [M/n/y/?] m
  Use page table mapping to access object in zsmalloc (PGTABLE_MAPPING) [N/y/?] n
Timer frequency
  1. 48 HZ (HZ_48)
> 2. 100 HZ (HZ_100)
  3. 128 HZ (HZ_128)
  4. 250 HZ (HZ_250)
  5. 256 HZ (HZ_256)
  6. 1000 HZ (HZ_1000)
  7. 1024 HZ (HZ_1024)
choice[1-7?]: 2
Preemption Model
> 1. No Forced Preemption (Server) (PREEMPT_NONE)
  2. Voluntary Kernel Preemption (Desktop) (PREEMPT_VOLUNTARY)
  3. Preemptible Kernel (Low-Latency Desktop) (PREEMPT)
choice[1-3]: 1
Kexec system call (KEXEC) [N/y/?] n
Kernel crash dumps (CRASH_DUMP) [N/y/?] n
Enable seccomp to safely compute untrusted bytecode (SECCOMP) [N/y/?] n
Support for O32 binaries using 64-bit FP (EXPERIMENTAL) (MIPS_O32_FP64_SUPPORT) [N/y/?] n
MIPS FPU Emulator (MIPS_FPU_EMULATOR) [N/y/?] n
Enable the kernel to be executed from the load address (BOOT_RAW) [Y/?] y
*
* USB support
*
USB support (USB_SUPPORT) [Y/n/?] y
  Support for Host-side USB (USB) [M/y/?] m
    USB announce new devices (USB_ANNOUNCE_NEW_DEVICES) [N/y/?] n
    *
    * Miscellaneous USB options
    *
    Enable USB persist by default (USB_DEFAULT_PERSIST) [Y/n/?] y
    Dynamic USB minor allocation (USB_DYNAMIC_MINORS) [N/y/?] n
    Rely on OTG and EH Targeted Peripherals List (USB_OTG_WHITELIST) [N/y/?] n
    Disable external hubs (USB_OTG_BLACKLIST_HUB) [N/y/?] n
    USB 2.0 OTG FSM implementation (USB_OTG_FSM) [N/m/?] n
    USB Monitor (USB_MON) [M/n/?] m
    Support WUSB Cable Based Association (CBA) (USB_WUSB_CBAF) [N/m/?] n
    *
    * USB Host Controller Drivers
    *
    Cypress C67x00 HCD support (USB_C67X00_HCD) [N/m/?] n
    xHCI HCD (USB 3.0) support (USB_XHCI_HCD) [M/n/?] m
    EHCI HCD (USB 2.0) support (USB_EHCI_HCD) [M/n/?] m
      Root Hub Transaction Translators (USB_EHCI_ROOT_HUB_TT) [Y/?] y
      Improved Transaction Translator scheduling (USB_EHCI_TT_NEWSCHED) [Y/n/?] y
    EHCI support for AR7XXX/AR9XXX SoCs (DEPRECATED) (USB_EHCI_ATH79) [Y/n/?] y
    Generic EHCI driver for a platform device (USB_EHCI_HCD_PLATFORM) [M/?] m
    OXU210HP HCD support (USB_OXU210HP_HCD) [N/m/?] n
    ISP116X HCD support (USB_ISP116X_HCD) [N/m/?] n
    ISP 1760 HCD support (USB_ISP1760_HCD) [N/m/?] n
    ISP1362 HCD support (USB_ISP1362_HCD) [N/m/?] n
    FUSBH200 HCD support (USB_FUSBH200_HCD) [N/m/?] n
    FOTG210 HCD support (USB_FOTG210_HCD) [N/m/?] n
    MAX3421 HCD (USB-over-SPI) support (USB_MAX3421_HCD) [N/m/?] n
    OHCI HCD (USB 1.1) support (USB_OHCI_HCD) [M/n/?] m
      USB OHCI support for the Atheros AR71XX/AR7240 SoCs (DEPRECATED) (USB_OHCI_ATH79) [Y/n/?] y
      OHCI support for PCI-bus USB controllers (USB_OHCI_HCD_PCI) [N/m/?] n
      OHCI support for Broadcom SSB OHCI core (DEPRECATED) (USB_OHCI_HCD_SSB) [N/y/?] n
      Generic OHCI driver for a platform device (USB_OHCI_HCD_PLATFORM) [M/?] m
    UHCI HCD (most Intel and VIA) support (USB_UHCI_HCD) [M/n/?] m
    SL811HS HCD support (USB_SL811_HCD) [N/m/?] n
    R8A66597 HCD support (USB_R8A66597_HCD) [N/m/?] n
    BCMA usb host driver (USB_HCD_BCMA) [N/m/?] n
    SSB usb host driver (USB_HCD_SSB) [N/m/?] n
    HCD test mode support (USB_HCD_TEST_MODE) [N/y/?] n
    *
    * USB Device Class drivers
    *
    USB Modem (CDC ACM) support (USB_ACM) [M/n/?] m
    USB Printer support (USB_PRINTER) [M/n/?] m
    USB Wireless Device Management support (USB_WDM) [M/n/?] m
    USB Test and Measurement Class support (USB_TMC) [N/m/?] n
    *
    * NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
    *
    *
    * also be needed; see USB_STORAGE Help for more info
    *
    USB Mass Storage support (USB_STORAGE) [M/n/?] m
      USB Mass Storage verbose debug (USB_STORAGE_DEBUG) [N/y/?] n
      Realtek Card Reader support (USB_STORAGE_REALTEK) [N/m/?] n
      Datafab Compact Flash Reader support (USB_STORAGE_DATAFAB) [M/n/?] m
      Freecom USB/ATAPI Bridge support (USB_STORAGE_FREECOM) [M/n/?] m
      ISD-200 USB/ATA Bridge support (USB_STORAGE_ISD200) [M/n/?] m
      USBAT/USBAT02-based storage support (USB_STORAGE_USBAT) [M/n/?] m
      SanDisk SDDR-09 (and other SmartMedia, including DPCM) support (USB_STORAGE_SDDR09) [M/n/?] m
      SanDisk SDDR-55 SmartMedia support (USB_STORAGE_SDDR55) [M/n/?] m
      Lexar Jumpshot Compact Flash Reader (USB_STORAGE_JUMPSHOT) [M/n/?] m
      Olympus MAUSB-10/Fuji DPC-R1 support (USB_STORAGE_ALAUDA) [M/n/?] m
      Support OneTouch Button on Maxtor Hard Drives (USB_STORAGE_ONETOUCH) [N/m/?] n
      Support for Rio Karma music player (USB_STORAGE_KARMA) [M/n/?] m
      SAT emulation on Cypress USB/ATA Bridge with ATACB (USB_STORAGE_CYPRESS_ATACB) [M/n/?] m
      USB ENE card reader support (USB_STORAGE_ENE_UB6250) [N/m/?] n
      USB Attached SCSI (USB_UAS) [N/m/?] n
    *
    * USB Imaging devices
    *
    USB Mustek MDC800 Digital Camera support (USB_MDC800) [N/m/?] n
    Microtek X6USB scanner support (USB_MICROTEK) [N/m/?] n
    USB/IP support (USBIP_CORE) [M/n/?] m
      VHCI hcd (USBIP_VHCI_HCD) [M/n/?] m
      Host driver (USBIP_HOST) [M/n/?] m
      Debug messages for USB/IP (USBIP_DEBUG) [N/y/?] n
  Inventra Highspeed Dual Role Controller (TI, ADI, ...) (USB_MUSB_HDRC) [N/m/?] n
  DesignWare USB3 DRD Core Support (USB_DWC3) [N/m/?] n
  DesignWare USB2 DRD Core Support (USB_DWC2) [M/n/?] m
    DWC2 Mode Selection
    > 1. Host only mode (USB_DWC2_HOST) (NEW)
    * Gadget/Dual-role mode requires USB Gadget support to be enabled
    choice[1]: 1
    DWC2 Platform (USB_DWC2_PLATFORM) [M/n/?] m
    DWC2 PCI (USB_DWC2_PCI) [M/n/?] m
    Enable Debugging Messages (USB_DWC2_DEBUG) [N/y/?] n
    Enable Missed SOF Tracking (USB_DWC2_TRACK_MISSED_SOFS) [N/y/?] n
  ChipIdea Highspeed Dual Role Controller (USB_CHIPIDEA) [N/m/?] n
  *
  * USB port drivers
  *
  *
  * USB Miscellaneous drivers
  *
  EMI 6|2m USB Audio interface support (USB_EMI62) [N/m/?] n
  EMI 2|6 USB Audio interface support (USB_EMI26) [N/m/?] n
  ADU devices from Ontrak Control Systems (USB_ADUTUX) [N/m/?] n
  USB 7-Segment LED Display (USB_SEVSEG) [N/m/?] n
  USB Diamond Rio500 support (USB_RIO500) [N/m/?] n
  USB Lego Infrared Tower support (USB_LEGOTOWER) [N/m/?] n
  USB LCD driver support (USB_LCD) [N/m/?] n
  USB LED driver support (USB_LED) [N/m/?] n
  Cypress CY7C63xxx USB driver support (USB_CYPRESS_CY7C63) [N/m/?] n
  Cypress USB thermometer driver support (USB_CYTHERM) [N/m/?] n
  Siemens ID USB Mouse Fingerprint sensor support (USB_IDMOUSE) [N/m/?] n
  Elan PCMCIA CardBus Adapter USB Client (USB_FTDI_ELAN) [N/m/?] n
  Apple Cinema Display support (USB_APPLEDISPLAY) [N/m/?] n
  USB 2.0 SVGA dongle support (Net2280/SiS315) (USB_SISUSBVGA) [N/m/?] n
  USB LD driver (USB_LD) [N/m/?] n
  PlayStation 2 Trance Vibrator driver support (USB_TRANCEVIBRATOR) [N/m/?] n
  IO Warrior driver support (USB_IOWARRIOR) [N/m/?] n
  USB testing driver (USB_TEST) [M/n/?] m
  USB EHSET Test Fixture driver (USB_EHSET_TEST_FIXTURE) [N/m/?] n
  iSight firmware loading support (USB_ISIGHTFW) [N/m/?] n
  USB YUREX driver support (USB_YUREX) [N/m/?] n
  Functions for loading firmware on EZUSB chips (USB_EZUSB_FX2) [M/?] m
  USB3503 HSIC to USB20 Driver (USB_HSIC_USB3503) [N/m/?] n
  USB Link Layer Test driver (USB_LINK_LAYER_TEST) [N/m/?] n
  USB LED Triggers (USB_LED_TRIG) [N/y/?] n
#
# configuration written to .config
#
fs/btrfs/extent_io.c: In function 'btrfs_free_io_failure_record':
fs/btrfs/extent_io.c:2166:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   failrec = (struct io_failure_record *)state->private;
             ^
In file included from ./arch/mips/include/asm/div64.h:12:0,
                 from include/linux/kernel.h:124,
                 from include/linux/list.h:8,
                 from include/linux/wait.h:6,
                 from include/linux/net.h:23,
                 from fs/cifs/netmisc.c:25:
fs/cifs/netmisc.c: In function 'cifs_NTtimeToUnix':
include/asm-generic/div64.h:43:28: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \
                            ^
fs/cifs/netmisc.c:937:23: note: in expansion of macro 'do_div'
   ts.tv_nsec = (long)(do_div(t, 10000000) * 100);
                       ^
include/asm-generic/div64.h:43:28: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(((typeof((n)) *)0) == ((uint64_t *)0)); \
                            ^
fs/cifs/netmisc.c:941:22: note: in expansion of macro 'do_div'
   ts.tv_nsec = (long)do_div(t, 10000000) * 100;
                      ^
drivers/media/usb/pwc/pwc-if.c: In function 'usb_pwc_probe':
drivers/media/usb/pwc/pwc-if.c:1104:1: warning: label 'err_video_unreg' defined but not used [-Wunused-label]
 err_video_unreg:
 ^
net/sched/cls_u32.c: In function 'u32_classify':
net/sched/cls_u32.c:251:1: error: invalid storage class for function 'u32_lookup_ht'
 u32_lookup_ht(struct tc_u_common *tp_c, u32 handle)
 ^
net/sched/cls_u32.c:250:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
 static struct tc_u_hnode *
 ^
net/sched/cls_u32.c:265:1: error: invalid storage class for function 'u32_lookup_key'
 u32_lookup_key(struct tc_u_hnode *ht, u32 handle)
 ^
net/sched/cls_u32.c:284:22: error: invalid storage class for function 'u32_get'
 static unsigned long u32_get(struct tcf_proto *tp, u32 handle)
                      ^
net/sched/cls_u32.c:303:13: error: invalid storage class for function 'u32_put'
 static void u32_put(struct tcf_proto *tp, unsigned long f)
             ^
net/sched/cls_u32.c:307:12: error: invalid storage class for function 'gen_new_htid'
 static u32 gen_new_htid(struct tc_u_common *tp_c)
            ^
net/sched/cls_u32.c:322:12: error: invalid storage class for function 'u32_init'
 static int u32_init(struct tcf_proto *tp)
            ^
net/sched/cls_u32.c:358:12: error: invalid storage class for function 'u32_destroy_key'
 static int u32_destroy_key(struct tcf_proto *tp,
            ^
net/sched/cls_u32.c:385:13: error: invalid storage class for function 'u32_delete_key_rcu'
 static void u32_delete_key_rcu(struct rcu_head *rcu)
             ^
net/sched/cls_u32.c:399:13: error: invalid storage class for function 'u32_delete_key_freepf_rcu'
 static void u32_delete_key_freepf_rcu(struct rcu_head *rcu)
             ^
net/sched/cls_u32.c:406:12: error: invalid storage class for function 'u32_delete_key'
 static int u32_delete_key(struct tcf_proto *tp, struct tc_u_knode *key)
            ^
net/sched/cls_u32.c:429:13: error: invalid storage class for function 'u32_clear_hnode'
 static void u32_clear_hnode(struct tcf_proto *tp, struct tc_u_hnode *ht)
             ^
net/sched/cls_u32.c:444:12: error: invalid storage class for function 'u32_destroy_hnode'
 static int u32_destroy_hnode(struct tcf_proto *tp, struct tc_u_hnode *ht)
            ^
net/sched/cls_u32.c:468:13: error: invalid storage class for function 'u32_destroy'
 static void u32_destroy(struct tcf_proto *tp)
             ^
net/sched/cls_u32.c:501:12: error: invalid storage class for function 'u32_delete'
 static int u32_delete(struct tcf_proto *tp, unsigned long arg)
            ^
net/sched/cls_u32.c:526:12: error: invalid storage class for function 'gen_new_kid'
 static u32 gen_new_kid(struct tc_u_hnode *ht, u32 handle)
            ^
net/sched/cls_u32.c:558:12: error: invalid storage class for function 'u32_set_parms'
 static int u32_set_parms(struct net *net, struct tcf_proto *tp,
            ^
net/sched/cls_u32.c:615:13: error: invalid storage class for function 'u32_replace_knode'
 static void u32_replace_knode(struct tcf_proto *tp,
             ^
net/sched/cls_u32.c:642:27: error: invalid storage class for function 'u32_init_knode'
 static struct tc_u_knode *u32_init_knode(struct tcf_proto *tp,
                           ^
net/sched/cls_u32.c:691:12: error: invalid storage class for function 'u32_change'
 static int u32_change(struct net *net, struct sk_buff *in_skb,
            ^
net/sched/cls_u32.c:863:13: error: invalid storage class for function 'u32_walk'
 static void u32_walk(struct tcf_proto *tp, struct tcf_walker *arg)
             ^
net/sched/cls_u32.c:903:12: error: invalid storage class for function 'u32_dump'
 static int u32_dump(struct net *net, struct tcf_proto *tp, unsigned long fh,
            ^
net/sched/cls_u32.c:1022:2: error: initializer element is not constant
  .init  = u32_init,
  ^
net/sched/cls_u32.c:1022:2: error: (near initialization for 'cls_u32_ops.init')
net/sched/cls_u32.c:1023:2: error: initializer element is not constant
  .destroy = u32_destroy,
  ^
net/sched/cls_u32.c:1023:2: error: (near initialization for 'cls_u32_ops.destroy')
net/sched/cls_u32.c:1024:2: error: initializer element is not constant
  .get  = u32_get,
  ^
net/sched/cls_u32.c:1024:2: error: (near initialization for 'cls_u32_ops.get')
net/sched/cls_u32.c:1025:2: error: initializer element is not constant
  .put  = u32_put,
  ^
net/sched/cls_u32.c:1025:2: error: (near initialization for 'cls_u32_ops.put')
net/sched/cls_u32.c:1026:2: error: initializer element is not constant
  .change  = u32_change,
  ^
net/sched/cls_u32.c:1026:2: error: (near initialization for 'cls_u32_ops.change')
net/sched/cls_u32.c:1027:2: error: initializer element is not constant
  .delete  = u32_delete,
  ^
net/sched/cls_u32.c:1027:2: error: (near initialization for 'cls_u32_ops.delete')
net/sched/cls_u32.c:1028:2: error: initializer element is not constant
  .walk  = u32_walk,
  ^
net/sched/cls_u32.c:1028:2: error: (near initialization for 'cls_u32_ops.walk')
net/sched/cls_u32.c:1029:2: error: initializer element is not constant
  .dump  = u32_dump,
  ^
net/sched/cls_u32.c:1029:2: error: (near initialization for 'cls_u32_ops.dump')
net/sched/cls_u32.c:1033:19: error: invalid storage class for function 'init_u32'
 static int __init init_u32(void)
                   ^
net/sched/cls_u32.c:1048:20: error: invalid storage class for function 'exit_u32'
 static void __exit exit_u32(void)
                    ^
In file included from include/linux/printk.h:5:0,
                 from include/linux/kernel.h:13,
                 from include/linux/list.h:8,
                 from include/linux/module.h:9,
                 from net/sched/cls_u32.c:33:
include/linux/init.h:328:27: error: invalid storage class for function '__inittest'
  static inline initcall_t __inittest(void)  \
                           ^
net/sched/cls_u32.c:1053:1: note: in expansion of macro 'module_init'
 module_init(init_u32)
 ^
net/sched/cls_u32.c:1053:1: warning: 'alias' attribute ignored [-Wattributes]
In file included from include/linux/printk.h:5:0,
                 from include/linux/kernel.h:13,
                 from include/linux/list.h:8,
                 from include/linux/module.h:9,
                 from net/sched/cls_u32.c:33:
include/linux/init.h:334:27: error: invalid storage class for function '__exittest'
  static inline exitcall_t __exittest(void)  \
                           ^
net/sched/cls_u32.c:1054:1: note: in expansion of macro 'module_exit'
 module_exit(exit_u32)
 ^
net/sched/cls_u32.c:1054:1: warning: 'alias' attribute ignored [-Wattributes]
net/sched/cls_u32.c:1055:1: error: expected declaration or statement at end of input
 MODULE_LICENSE("GPL");
 ^
net/sched/cls_u32.c: At top level:
net/sched/cls_u32.c:102:12: warning: 'u32_classify' defined but not used [-Wunused-function]
 static int u32_classify(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res)
            ^
make[7]: *** [net/sched/cls_u32.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [net/sched] Error 2
make[6]: *** Waiting for unfinished jobs....
drivers/net/ethernet/dec/tulip/winbond-840.c: In function 'init_registers':
drivers/net/ethernet/dec/tulip/winbond-840.c:910:2: warning: #warning Processor architecture undefined [-Wcpp]
 #warning Processor architecture undefined
  ^
In file included from include/linux/byteorder/big_endian.h:4:0,
                 from ./arch/mips/include/uapi/asm/byteorder.h:12,
                 from ./arch/mips/include/asm/bitops.h:19,
                 from include/linux/bitops.h:36,
                 from include/linux/kernel.h:10,
                 from include/linux/list.h:8,
                 from include/linux/module.h:9,
                 from net/ipv6/netfilter/nf_log_ipv6.c:9:
net/ipv6/netfilter/nf_log_ipv6.c: In function 'dump_ipv6_packet':
include/linux/types.h:220:36: warning: too many arguments for format [-Wformat-extra-args]
 #define net_hdr_word(_p) (((struct net_hdr_word *) (_p))->words[0])
                                    ^
include/uapi/linux/byteorder/big_endian.h:39:51: note: in definition of macro '__be32_to_cpu'
 #define __be32_to_cpu(x) ((__force __u32)(__be32)(x))
                                                   ^
include/linux/byteorder/generic.h:139:18: note: in expansion of macro '___ntohl'
 #define ntohl(x) ___ntohl(x)
                  ^
net/ipv6/netfilter/nf_log_ipv6.c:69:10: note: in expansion of macro 'ntohl'
         (ntohl(net_hdr_word(ih)) & 0x000fffff));
          ^
net/ipv6/netfilter/nf_log_ipv6.c:69:16: note: in expansion of macro 'net_hdr_word'
         (ntohl(net_hdr_word(ih)) & 0x000fffff));
                ^
make[5]: *** [net] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/data/LinuxBuild/kamerwrt/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/linux-3.18.7/.modules] Error 2
make[3]: *** [compile] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150215/5938f5a2/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list