All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sagar Behere <sagar.behere@gmail.com>
To: xenomai@xenomai.org
Subject: [Xenomai] failing compile of kernel-3.8 on arm
Date: Wed, 10 Jul 2013 16:43:14 +0200	[thread overview]
Message-ID: <51DD7302.2010809@gmail.com> (raw)

Hello,

I patched the vanilla linux-3.8 kernel sources with 
ipipe-core-3.8-arm-1.patch. The patch was applied cleanly, but while 
compiling the kernel, I get two problems

Problem 1: This is the same as 
http://www.mail-archive.com/xenomai@xenomai.org/msg02719.html

Problem 2: The compilation halts with

----

In file included from 
/home/sagar/kernels/linux-3.8/arch/arm/include/asm/xenomai/syscall.h:29,
                  from include/xenomai/nucleus/shadow.h:27,
                  from include/asm-generic/xenomai/system.h:42,
                  from 
/home/sagar/kernels/linux-3.8/arch/arm/include/asm/xenomai/system.h:29,
                  from include/xenomai/nucleus/types.h:36,
                  from include/xenomai/nucleus/queue.h:24,
                  from include/xenomai/nucleus/heap.h:25,
                  from kernel/xenomai/nucleus/bufd.c:144:
include/asm-generic/xenomai/syscall.h: In function 
‘__xn_safe_strncpy_from_user’:
include/asm-generic/xenomai/syscall.h:147: error: implicit declaration 
of function ‘__strncpy_from_user’
make[3]: *** [kernel/xenomai/nucleus/bufd.o] Error 1
make[2]: *** [kernel/xenomai/nucleus] Error 2
make[1]: *** [kernel/xenomai] Error 2
make: *** [kernel] Error 2

----

compiler is: arm-linux-gnueabi-gcc (Debian 4.4.5-8) 4.4.5

Any ideas how to fix these issues? I'll be running this kernel on the 
gumstix overo, if that matters..

Thanks and regards,
Sagar


             reply	other threads:[~2013-07-10 14:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10 14:43 Sagar Behere [this message]
2013-07-11 18:22 ` [Xenomai] failing compile of kernel-3.8 on arm Gilles Chanteperdrix
2013-07-11 21:48   ` Sagar Behere

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=51DD7302.2010809@gmail.com \
    --to=sagar.behere@gmail.com \
    --cc=xenomai@xenomai.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 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.