All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hauke Mehrtens <hauke@hauke-m.de>
To: tony <tony.makkiel@convergeddevices.net>, backports@vger.kernel.org
Subject: Re: Compiling error
Date: Tue, 02 Sep 2014 23:48:57 +0200	[thread overview]
Message-ID: <54063B49.2030700@hauke-m.de> (raw)
In-Reply-To: <5405F832.8080406@convergeddevices.net>

On 09/02/2014 07:02 PM, tony wrote:
> Hi,
>     I am trying to build "backports-3.12.8-1" for my kernel 3.1.10. I am
> following the instructions in the backports wiki to cross compile for
> arm. But the compilation fails complaining "‘THIS_MODULE’ undeclared".
> As suggested by one of the earlier posts in the forum, I tried including
> #include <linux/module.h>
> before
> #include <linux/skbuff.h>
>  But it did not make any difference.Attached is a error log.
> 
> Thank you in advance for any help.

This looks strange. You have to compile your kernel with CONFIG_MODULES
activated, backports needs that.

compat/main.c includes linux/module.h and that file contains
EXPORT_SYMBOL_GPL(), but that is not found in your build.

Why are you using version 3.12, the current stable version is 3.16?

Hauke

  reply	other threads:[~2014-09-02 21:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5405F05E.2090909@convergeddevices.net>
2014-09-02 17:02 ` Compiling error tony
2014-09-02 21:48   ` Hauke Mehrtens [this message]
2014-09-03 10:04     ` tony
2009-01-05 23:05 compiling error Yinghai Lu
2009-01-06  0:35 ` Mike Travis
     [not found] <49104706.2010200@kleiderschrank51.de>
2008-11-04 12:33 ` Johan Hedberg
  -- strict thread matches above, loose matches on Subject: below --
2003-08-05  3:19 oscar hellström
2003-08-05  7:45 ` Mattia Dongili

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=54063B49.2030700@hauke-m.de \
    --to=hauke@hauke-m.de \
    --cc=backports@vger.kernel.org \
    --cc=tony.makkiel@convergeddevices.net \
    /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.