All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Axel Beierlein" <belatronix@domain.hid>
To: "Xenomai-help@domain.hid" <Xenomai-help@domain.hid>
Subject: [Xenomai-help] problems with configure and --enable-linux-build
Date: Wed, 18 Jun 2008 13:20:27 +0200	[thread overview]
Message-ID: <op.ucxy4dpbt06gyn@domain.hid> (raw)

Hello,

I try to install the actual Xenomai Version 2.4.4.
I get my kernel sources (2.4.25) from the denx git and my target system  
was an ppc and my host an PC with ubuntu 804. The cross compiler is based  
on the denx eldk41 for freescale ppc´s.
Patching the kernel with the adeos patch was succesful. I call the config  
script from my build directory with the following line:

../xenomai-2.4.4/configure --build=i486-linux-gnu --host=powerpc-linux  
--enable-linux-build=~/\ linuxppc_2_4_devel CC=ppc_6xx-gcc CXX=ppc_6xx-g++  
LD=ppc_6xx-ld

$ARCH and $CROSS_COMPILE is already set by the eldk!

but when i call

make DESTDIR=<destdir> install

i get the error

find: /home/axl/build_root/linux/include/asm: No such file or directory
scripts/mkdep -- init/*.c > .depend
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  
-I/home/axl/build_root/linux/arch/ppc -o scripts/split-include  
scripts/split-include.c
make[1]: *** Keine Regel vorhanden, um das Target  
»include/linux/autoconf.h«,
   benötigt von »include/config/MARKER«, zu erstellen.  Schluss.

when i call configure without --enable-linux-build, there are no problems.

So i have a look at the copied linux sources in the build-tree and i must  
see that configure doesn't copied all necessary files from the kernel  
source directory like the file /linux/include/linux/autoconf.h.

The symbolic link asm to asm-ppc is missing as well.

So where is my mistake or is there a bug in configure?

Axel


             reply	other threads:[~2008-06-18 11:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-18 11:20 Axel Beierlein [this message]
2008-06-18 23:42 ` [Xenomai-help] problems with configure and --enable-linux-build Gilles Chanteperdrix

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=op.ucxy4dpbt06gyn@domain.hid \
    --to=belatronix@domain.hid \
    --cc=Xenomai-help@domain.hid \
    /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.