EMC problem in RTAI



hi all
	finaly got RTAI up on Linux 2.4.18. It's all apears ok. CVS'ed rcslib
and emc today and rcs went fine. 
when it came to emc it built ok , only to find freqmotor.o and
steppermod.o wernt built. Modified the emcmot/Makefile to force
freqmotor to build BUT always get the following :

Could not find RTAI directory under /usr/src, trying /usr/src/rtai
anyway
make[2]: Entering directory `/root/emc/emc/src/emcmot'
( test; \
gcc emcmot.c -c  -g -O2   -I/usr/src/linux-2.4.18-2mdk_jason/include
-DLINUX -Dlinux_rtai -DPLATNAME=\"linux_rtai\" -L/usr/lib -Dlinux_2_4
-I/usr/src/rtai/include  -Dlinux_2_4_9 -Dlinux -DHAVE_LIBDL 
-DLINUX_KERNEL_2_4 -fstrict-aliasing  -I/usr/include/g++-2/ -DNO_RTL
-DHAVE_RTAI -DHAVE_TCL_EXTENDED -DHAVE_TK_EXTENDED \
-I/root/emc/emc/plat/linux_rtai/include
-I/root/emc/emc/plat/linux_rtai/include
-I/root/emc/rcslib/plat/linux_rtai/include \
-DSTEPPER_MOTORS \
-o /root/emc/emc/plat/linux_rtai/lib/emcfreqmot.o )
emcmot.c: In function `emcmotController':
emcmot.c:3464: `RT_TICKS_PER_SEC' undeclared (first use in this
function)
emcmot.c:3464: (Each undeclared identifier is reported only once
emcmot.c:3464: for each function it appears in.)
emcmot.c: In function `init_module':
emcmot.c:5127: `freqTask' undeclared (first use in this function)
make[2]: *** [/root/emc/emc/plat/linux_rtai/lib/emcfreqmot.o] Error 1
make[2]: Leaving directory `/root/emc/emc/src/emcmot'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/emc/emc/src'
make: *** [remake_with_plat] Error 2



Any help apreciated
Thanks 
JAson Cox




Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact