Hi Pavel,
Thanks a lot for your reply.
What you have suggested is similar to what I have done to get the Linux kerne 3.12 from Virtual Enviroment to my Build system...
Why are you suggesting to build the linux kernel in Virtual Enviroment, and the move it again to my build machine?
I need to work in a build machine, I'm using Virtual Enviroment only to obtain the toolchains and the Linux Kernel.
What could went wrong in order to have this kind of errors regarding "'struct task_struct' declared inside parameter list: in /arch/powerpc/include/asm/hw_breakpoint.h"" ?
Beside the error, I'm point out, there is also those ones, that I do belive that they are related:
In file included from /home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/thread_info.h:33:0,
from /home/amacedo/zebic/lib/linux/include/linux/thread_info.h:54,
from /home/amacedo/zebic/lib/linux/include/linux/preempt.h:9,
from /home/amacedo/zebic/lib/linux/include/linux/spinlock.h:50,
from /home/amacedo/zebic/lib/linux/include/linux/mmzone.h:7,
from /home/amacedo/zebic/lib/linux/include/linux/gfp.h:4,
from /home/amacedo/zebic/lib/linux/include/linux/slab.h:14,
from /home/amacedo/zebic/lib/sdk-xgs-robo-6.4.8/systems/linux/kernel/modules/include/lkm.h:65,
from /home/amacedo/zebic/lib/sdk-xgs-robo-6.4.8/systems/linux/kernel/modules/include/gmodule.h:49,
from /home/amacedo/zebic/lib/sdk-xgs-robo-6.4.8/systems/linux/kernel/modules/uk-proxy/linux-uk-proxy.c:47:
/home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/processor.h:158:2: error: unknown type name 'vector128'
vector128 vr[32] __attribute__((aligned(16)));
^
/home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/processor.h:159:2: error: unknown type name 'vector128'
vector128 vscr __attribute__((aligned(16)));
^
In file included from /home/amacedo/zebic/lib/linux/include/linux/timex.h:65:0,
from /home/amacedo/zebic/lib/linux/include/linux/jiffies.h:8,
from /home/amacedo/zebic/lib/linux/include/linux/ktime.h:25,
from /home/amacedo/zebic/lib/linux/include/linux/timer.h:5,
from /home/amacedo/zebic/lib/linux/include/linux/workqueue.h:8,
from /home/amacedo/zebic/lib/linux/include/linux/srcu.h:34,
from /home/amacedo/zebic/lib/linux/include/linux/notifier.h:15,
from /home/amacedo/zebic/lib/linux/include/linux/memory_hotplug.h:6,
from /home/amacedo/zebic/lib/linux/include/linux/mmzone.h:824,
from /home/amacedo/zebic/lib/linux/include/linux/gfp.h:4,
from /home/amacedo/zebic/lib/linux/include/linux/slab.h:14,
from /home/amacedo/zebic/lib/sdk-xgs-robo-6.4.8/systems/linux/kernel/modules/include/lkm.h:65,
from /home/amacedo/zebic/lib/sdk-xgs-robo-6.4.8/systems/linux/kernel/modules/include/gmodule.h:49,
from /home/amacedo/zebic/lib/sdk-xgs-robo-6.4.8/systems/linux/kernel/modules/uk-proxy/linux-uk-proxy.c:47:
/home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/timex.h: In function 'get_cycles':
/home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/timex.h:51:23: error: 'CPU_FTR_601' undeclared (first use in this function)
: "=r" (ret) : "i" (CPU_FTR_601), "i" (SPRN_TBRL));
^
/home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/timex.h:51:23: note: each undeclared identifier is reported only once for each function it appears in
In file included from /home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/io.h:35:0,
from /home/amacedo/zebic/lib/linux/include/linux/io.h:22,
from /home/amacedo/zebic/lib/linux/include/linux/pci.h:31,
from /home/amacedo/zebic/lib/sdk-xgs-robo-6.4.8/systems/linux/kernel/modules/include/lkm.h:85,
from /home/amacedo/zebic/lib/sdk-xgs-robo-6.4.8/systems/linux/kernel/modules/include/gmodule.h:49,
from /home/amacedo/zebic/lib/sdk-xgs-robo-6.4.8/systems/linux/kernel/modules/uk-proxy/linux-uk-proxy.c:47:
/home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/mmu.h: In function 'mmu_has_feature':
/home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/mmu.h:126:10: error: 'cur_cpu_spec' undeclared (first use in this function)
return (cur_cpu_spec->mmu_features & feature);
^
/home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/mmu.h: In function 'mmu_clear_feature':
/home/amacedo/zebic/lib/linux/arch/powerpc/include/asm/mmu.h:131:2: error: 'cur_cpu_spec' undeclared (first use in this function)
cur_cpu_spec->mmu_features &= ~feature;
^
gmake[4]: *** [/home/amacedo/zebic/lib/sdk-xgs-robo-6.4.8/build/linux-e500v2-3_12/e500v2-3_12/systems/linux/kernel/modules/uk-proxy/linux-uk-proxy.o] Error 1
gmake[3]: *** [uk-proxy] Error 2
After this, have you more help to me?
thanks
antónio