kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu)
To: kernelnewbies@lists.kernelnewbies.org
Subject: My simple kernel module wont compile
Date: Thu, 11 Sep 2014 11:11:06 -0400	[thread overview]
Message-ID: <3885.1410448266@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Thu, 11 Sep 2014 16:13:58 +0200." <5411AE26.4070502@gmail.com>

On Thu, 11 Sep 2014 16:13:58 +0200, testlaster said:

> The first line didn't work because I seem to not have a build directory
> there.

Hopefully, that /usr/src/linux-headers directory is an exact match for
the kernel you're planning to use the module in.

make[2]: *** No rule to make target `/usr/src/linux-headers-3.13.0-35-generic/arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'.  Stop.

That's sounding suspiciously like it's not a properly set up directory
tree suitable for building modules against....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140911/fa548238/attachment.bin 

      parent reply	other threads:[~2014-09-11 15:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-11 11:12 My simple kernel module wont compile testlaster
2014-09-11 13:49 ` Gustavo Bittencourt
2014-09-11 14:13   ` testlaster
2014-09-11 15:06     ` Fwd: " Gustavo Bittencourt
2014-09-12  8:11       ` testlaster
2014-09-12 18:29         ` Bruno Guedes Souto
2014-09-11 15:11     ` Valdis.Kletnieks at vt.edu [this message]

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=3885.1410448266@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).