* [Xenomai-help] problems with configure and --enable-linux-build
@ 2008-06-18 11:20 Axel Beierlein
2008-06-18 23:42 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Axel Beierlein @ 2008-06-18 11:20 UTC (permalink / raw)
To: Xenomai-help@domain.hid
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] problems with configure and --enable-linux-build
2008-06-18 11:20 [Xenomai-help] problems with configure and --enable-linux-build Axel Beierlein
@ 2008-06-18 23:42 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2008-06-18 23:42 UTC (permalink / raw)
To: Axel Beierlein; +Cc: Xenomai-help@domain.hid
Axel Beierlein wrote:
> 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?
The configure script expects the source linux dir to be an unconfigured
linux dir, the same you would use with the O option of Linux makefile,
so I find it normal that the asm link is not copied.
The problem you have is that the linux dir of Xenomai is unconfigured,
you should run make oldconfig at least to take into account a .config
file. Then, the compilation should run fine. This is showed in the
section 2.5 of README.INSTALL.
--
Gilles.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-18 23:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-18 11:20 [Xenomai-help] problems with configure and --enable-linux-build Axel Beierlein
2008-06-18 23:42 ` Gilles Chanteperdrix
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.