Re: EMC problem in RTAI




Hi Jason

RT_TICKS_PER_SEC is an rtlinux define not used with an rtai build. Judging by 
the flags in the output below, you are attempting to compile for linux_rtai 
which is the non-realtime side of EMC.
Realtime compiles should be using -Drtai not -Dlinux_rtai.

Have you looked in emc/plat/rtai/lib for freqmod.o ?
 I've just built EMC from last nights CVS sources and everything is where it 
should be. The only problem I had was with an rcslib make file which I will 
commit this afternoon.


Regards, Paul.


On Sunday 26 May 2002 11:23 am, Jason Cox wrote:
> 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 )



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

Problems or questions? Contact