All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: Daniel Schultze <kinglag@gmail.com>, <backports@vger.kernel.org>
Subject: Re: defconfig-ath9k build
Date: Thu, 31 Jul 2014 10:24:33 +0200	[thread overview]
Message-ID: <53D9FD41.2030403@broadcom.com> (raw)
In-Reply-To: <CAEsx0Y-CM-HW5F6K7SoOSn0dgReSakvOt_CX_=OV=XoVnerfDw@mail.gmail.com>

On 30-07-14 22:32, Daniel Schultze wrote:
> Hey guys I was trying to build ath9k drivers for pidora 20 on my
> Raspberry Pi but ran into these errors. I don't have any Idea what do
> to with them, could you tell me how I could resolve them:

Are you trying to build this on your raspberry pi? Do you have kernel
headers installed?

Regards,
Arend

> uname -r
> 3.12.23-2.20140626git25673c3.rpfr20.armv6hl.bcm2708
> make defconfig-ath9k
> make
> make[5]: `conf' is up to date.
> boolean symbol HWMON tested for 'm'? test forced to 'n'
> boolean symbol HWMON tested for 'm'? test forced to 'n'
> #
> # configuration written to .config
> #
> Building backport-include/backport/autoconf.h ... done.
>   CC [M]  /home/dschultze/Downloads/backports-3.15.1-1/compat/main.o
> In file included from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/backport/backport.h:4:0,
>                  from <command-line>:0:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/kconfig.h:4:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/kconfig.h:4:27:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0)
>                            ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/kconfig.h:4:41:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0)
>                                          ^
> In file included from include/linux/module.h:9:0,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/list.h:6:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/list.h:6:26:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
>                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/list.h:6:40:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
>                                         ^
> In file included from include/linux/linkage.h:6:0,
>                  from include/linux/kernel.h:6,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/kernel.h:3,
>                  from include/linux/cache.h:4,
>                  from include/linux/time.h:4,
>                  from include/linux/stat.h:18,
>                  from include/linux/module.h:10,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/export.h:7:6:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0))
>       ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/export.h:7:28:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0))
>                             ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/export.h:7:42:
> error: missing binary operator before token "("
>  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0))
>                                           ^
> In file included from include/linux/dynamic_debug.h:111:0,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/dynamic_debug.h:4,
>                  from include/linux/printk.h:236,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/printk.h:5,
>                  from include/linux/kernel.h:13,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/kernel.h:3,
>                  from include/linux/cache.h:4,
>                  from include/linux/time.h:4,
>                  from include/linux/stat.h:18,
>                  from include/linux/module.h:10,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/string.h:6:6:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,6,0))
>       ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/string.h:6:27:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,6,0))
>                            ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/string.h:6:41:
> error: missing binary operator before token "("
>  #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,6,0))
>                                          ^
> In file included from include/linux/printk.h:236:0,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/printk.h:5,
>                  from include/linux/kernel.h:13,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/kernel.h:3,
>                  from include/linux/cache.h:4,
>                  from include/linux/time.h:4,
>                  from include/linux/stat.h:18,
>                  from include/linux/module.h:10,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/dynamic_debug.h:6:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/dynamic_debug.h:6:26:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
>                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/dynamic_debug.h:6:40:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
>                                         ^
> In file included from include/linux/kernel.h:13:0,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/kernel.h:3,
>                  from include/linux/cache.h:4,
>                  from include/linux/time.h:4,
>                  from include/linux/stat.h:18,
>                  from include/linux/module.h:10,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/printk.h:9:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/printk.h:9:26:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
>                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/printk.h:9:40:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)
>                                         ^
> In file included from include/linux/cache.h:4:0,
>                  from include/linux/time.h:4,
>                  from include/linux/stat.h:18,
>                  from include/linux/module.h:10,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/kernel.h:114:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/kernel.h:114:26:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
>                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/kernel.h:114:40:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)
>                                         ^
> In file included from include/linux/atomic.h:4:0,
>                  from include/linux/spinlock.h:392,
>                  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/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/asm/atomic.h:6:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/asm/atomic.h:6:26:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0)
>                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/asm/atomic.h:6:40:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,1,0)
>                                         ^
> In file included from include/linux/stat.h:19:0,
>                  from include/linux/module.h:10,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/uidgid.h:1:6:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
>       ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/uidgid.h:1:28:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
>                             ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/uidgid.h:1:42:
> error: missing binary operator before token "("
>  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
>                                           ^
> In file included from include/linux/rcupdate.h:43:0,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/rcupdate.h:3,
>                  from include/linux/srcu.h:33,
>                  from include/linux/notifier.h:15,
>                  from include/linux/memory_hotplug.h:6,
>                  from include/linux/mmzone.h:797,
>                  from include/linux/gfp.h:4,
>                  from include/linux/kmod.h:22,
>                  from include/linux/module.h:13,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/completion.h:6:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/completion.h:6:26:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0)
>                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/completion.h:6:40:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0)
>                                         ^
> In file included from include/linux/srcu.h:33:0,
>                  from include/linux/notifier.h:15,
>                  from include/linux/memory_hotplug.h:6,
>                  from include/linux/mmzone.h:797,
>                  from include/linux/gfp.h:4,
>                  from include/linux/kmod.h:22,
>                  from include/linux/module.h:13,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/rcupdate.h:44:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/rcupdate.h:44:26:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)
>                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/rcupdate.h:44:40:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,34)
>                                         ^
> In file included from include/linux/srcu.h:34:0,
>                  from include/linux/notifier.h:15,
>                  from include/linux/memory_hotplug.h:6,
>                  from include/linux/mmzone.h:797,
>                  from include/linux/gfp.h:4,
>                  from include/linux/kmod.h:22,
>                  from include/linux/module.h:13,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/workqueue.h:6:6:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0))
>       ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/workqueue.h:6:27:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0))
>                            ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/workqueue.h:6:41:
> error: missing binary operator before token "("
>  #if (LINUX_VERSION_CODE < KERNEL_VERSION(3,7,0))
>                                          ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/workqueue.h:17:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/workqueue.h:17:26:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
>                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/workqueue.h:17:40:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
>                                         ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/workqueue.h:57:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/workqueue.h:57:26:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
>                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/workqueue.h:57:40:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
>                                         ^
> In file included from include/linux/tracepoint.h:20:0,
>                  from include/linux/module.h:18,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/static_key.h:6:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) /* kernels >= 3.3 */
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/static_key.h:6:27:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) /* kernels >= 3.3 */
>                            ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/static_key.h:6:41:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0) /* kernels >= 3.3 */
>                                          ^
> In file included from include/linux/module.h:18:0,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:3,
>                  from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:
> include/linux/tracepoint.h:32:20: error: field 'key' has incomplete type
>   struct static_key key;
>                     ^
> In file included from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:1:0:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:62:5:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
>      ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:62:26:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
>                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/module.h:62:40:
> error: missing binary operator before token "("
>  #if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)
>                                         ^
> In file included from
> /home/dschultze/Downloads/backports-3.15.1-1/compat/main.c:4:0:
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/pm_qos.h:6:6:
> warning: "LINUX_VERSION_CODE" is not defined [-Wundef]
>  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0))
>       ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/pm_qos.h:6:28:
> warning: "KERNEL_VERSION" is not defined [-Wundef]
>  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0))
>                             ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/pm_qos.h:6:42:
> error: missing binary operator before token "("
>  #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0))
>                                           ^
> /home/dschultze/Downloads/backports-3.15.1-1/backport-include/linux/pm_qos.h:9:33:
> fatal error: linux/pm_qos_params.h: No such file or directory
>  #include <linux/pm_qos_params.h>
>                                  ^
> compilation terminated.
> make[6]: *** [/home/dschultze/Downloads/backports-3.15.1-1/compat/main.o]
> Error 1
> make[5]: *** [/home/dschultze/Downloads/backports-3.15.1-1/compat] Error 2
> make[4]: *** [_module_/home/dschultze/Downloads/backports-3.15.1-1] Error 2
> make[3]: *** [modules] Error 2
> make[2]: *** [modules] Error 2
> make[1]: *** [modules] Error 2
> make: *** [default] Error 2
> --
> To unsubscribe from this list: send the line "unsubscribe backports" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  reply	other threads:[~2014-07-31  8:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-30 20:32 defconfig-ath9k build Daniel Schultze
2014-07-31  8:24 ` Arend van Spriel [this message]
2014-07-31 16:57   ` Daniel Schultze
2014-08-01 11:42     ` Arend van Spriel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D9FD41.2030403@broadcom.com \
    --to=arend@broadcom.com \
    --cc=backports@vger.kernel.org \
    --cc=kinglag@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.