you mean I use remotes/origin/queues/2.6.37-x86 branch and use the ipipe
patch for 2.6.37 then install them on x86_64, the ftrace can work?I will
have a try, thank you!

2011/9/4 Jan Kiszka <jan.kis...@web.de>

> On 2011-09-04 07:10, rainbow wrote:
> > Sorry to reply so late, I did a test about install ftrace on xenomai. the
> > following is my procedure:
> > #git://git.xenomai.org/xenomai-jki.git queues/ftrace
> > #git://git.kiszka.org/ipipe-2.6 queues/2.6.35-x86-trace
> > #cd queues/ftrace
> > #git checkout -b remotes/origin/queues/ftrace
> >  origin/queues/2.6.35-x86-trace  //change to the ftrace xenomai branch
> > #cd ../2.6.35-x86-trace
> > #git checkout
> > -b origin/queues/2.6.35-x86-trace origin/queues/2.6.35-x86-trace
> > #cd ../ftrace
> > #./scripts/prepare-kernel.sh  --arch=i386
> > --adeos=ksrc/arch/x86/patches/adeos-ipipe-2.6.35.9-x86-2.8-04.patch
> > --linux=../2.6.35-x86-trace/
> > #cd /2.6.35-x86-trace/
> >
> > then I compile the kernel but I get the following error message:
> > arch/x86/kernel/ipipe.c:851: error: conflicting types for
> ‘update_vsyscall’
> > include/linux/clocksource.h:316: note: previous declaration of
> > ‘update_vsyscall’ was here
> > make[2]: *** [arch/x86/kernel/ipipe.o] Error 1
> > make[1]: *** [arch/x86/kernel] Error 2
> > make: *** [arch/x86] Error 2
>
> That's a build issues of the underlying old ipipe patch. However, it's
> x86-32 only. And as the documentation stated, only x86-64 is supported
> by the ftrace patches. So build for 64 bit instead.
>
> Jan
>
>


-- 
Qingquan Lv
School of Information Science & Engineering , Lanzhou University.
mail: lvq...@gmail.com
Do what you like,
Enjoy your life.
_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to