compile problemes on x86_64 arch

Ruben Smits Ruben.Smits at mech.kuleuven.ac.be
Fri Aug 5 12:38:22 CEST 2005


Hi,

i,m trying to compile rtai-magma from CVS on my x86_64-system.
I successfully patched and build the 2.6.10-adeos kernel (with the hal-patch i found in the CVS-tree). 
But when i try to compile rtai itself i get the following error:

CC [M]  /usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.o
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c: In function `rt_task_init_cpuid':
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:423: warning: implicit declaration of function `init_task_fpenv'
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c: In function `switch_rtai_tasks':
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:661: warning: implicit declaration of function `save_fpcr_and_enable_fpu'
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:669: warning: implicit declaration of function `restore_fpcr'
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c: In function `rt_schedule':
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:857: warning: implicit declaration of function `lnxtsk_uses_fpu'
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c: In function `kthread_fun':
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:1749: warning: implicit declaration of function `init_hard_fpu'
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c: In function `lxrt_intercept_syscall_prologue':
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:2113: error: `rax' undeclared (first use in this function)
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:2113: error: (Each undeclared identifier is reported only once
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:2113: error: for each function it appears in.)
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:2114: error: structure has no member named `RTAI_SYSCALL_CODE'
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:2118: error: `RTAI_FAKE_LINUX_SYSCALL' undeclared (first use in this function)
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c: In function `lxrt_intercept_syscall_epilogue':
/usr/src/rtai-magma/build-linux-2.6.10-adeos.050805/base/sched/sched.c:2160: error: `rax' undeclared (first use in this function)


I checked the linux-directory in the menuconfig and i'm sure it's right. 

Any ideas where the problem could be?

Thanx,

Ruben Smits




More information about the Rtai mailing list