Re: EMC-programming
Posted by
Ian W. Wright
on 1999-07-17 14:46:24 UTC
Hi,
I've been trying to understand the startup files for EMC and have been
playing with some of the example files included in the download. I have
found that the first reason they don't run 'as is' is that they point
the 'insmod' command to a '/plat/linux/' directory which does not exist
if you use the rtlinux09J version. This names the relevant directory
'/plat/rtlinux_09J/'. Changing the entry in the 'emc.run', 'shvbase.run'
etc. files does start them off but they almost immediately give a series
of errors as follows:
installing motion modules
plat/rtlinux_09J/lib/minimod.o: unresolved symbol rt_task_make_periodic
plat/rtlinux_09J/lib/minimod.o: unresolved symbol rt_task_delete
plat/rtlinux_09J/lib/minimod.o: unresolved symbol rt_task_init
plat/rtlinux_09J/lib/minimod.o: unresolved symbol rt_task_wait
plat/rtlinux_09J/lib/minimod.o: unresolved symbol rt_task_use_fp
I get the same errors if I try to change to using 'steppermod.o' instead
of 'minimod.o'.
Both the latter files only read as hex in emacs and so I assume they are
compiled. Can anyone explain what they are and what the errors denote
please?
Best wishes
Ian
--
Ian W. Wright LBHI
Sheffield Branch Chairman of the British Horological Institute.
Bandmaster and Euphonium player of the Hathersage Brass Band. UK.
See our homepage at:- http://www.iw63.freeserve.co.uk or
http://www.iw63.demon.co.uk/ or
http://www.GeoCities.com/Hollywood/6067/index.html
'Music is the filling of regular time intervals with harmonious
oscillations.'
I've been trying to understand the startup files for EMC and have been
playing with some of the example files included in the download. I have
found that the first reason they don't run 'as is' is that they point
the 'insmod' command to a '/plat/linux/' directory which does not exist
if you use the rtlinux09J version. This names the relevant directory
'/plat/rtlinux_09J/'. Changing the entry in the 'emc.run', 'shvbase.run'
etc. files does start them off but they almost immediately give a series
of errors as follows:
installing motion modules
plat/rtlinux_09J/lib/minimod.o: unresolved symbol rt_task_make_periodic
plat/rtlinux_09J/lib/minimod.o: unresolved symbol rt_task_delete
plat/rtlinux_09J/lib/minimod.o: unresolved symbol rt_task_init
plat/rtlinux_09J/lib/minimod.o: unresolved symbol rt_task_wait
plat/rtlinux_09J/lib/minimod.o: unresolved symbol rt_task_use_fp
I get the same errors if I try to change to using 'steppermod.o' instead
of 'minimod.o'.
Both the latter files only read as hex in emacs and so I assume they are
compiled. Can anyone explain what they are and what the errors denote
please?
Best wishes
Ian
--
Ian W. Wright LBHI
Sheffield Branch Chairman of the British Horological Institute.
Bandmaster and Euphonium player of the Hathersage Brass Band. UK.
See our homepage at:- http://www.iw63.freeserve.co.uk or
http://www.iw63.demon.co.uk/ or
http://www.GeoCities.com/Hollywood/6067/index.html
'Music is the filling of regular time intervals with harmonious
oscillations.'