Re: Emc Help Required
Will,
Thanks for your prompt reply.
Additional info ....
In the plat dir I only have the dir linux_2_2_19.
I created an empty dir 2_2_19 in the plat dir and now I have the following
error ...
[root-at-linux plat]# ../emc.run
The current real-time platform appears to be 2_2_19 but no directory exists
for this platform.
Either install EMC for this platform or create a symbolic link to an
existing platform.
[root-at-linux plat]# mkdir 2_2_19
[root-at-linux plat]# ../emc.run
Current platform is linux_2_2_19
Current real-time platform is 2_2_19
inivar = plat/linux_2_2_19/bin/inivar
INIFILE = emc.ini
starting emc...
/sbin/insmod -f /lib/modules/2.2.19/misc/rtl.o
insmod: a module named rtl already exists
starting EMC MOTION PROGRAM -- steppermod.o...plat/2_2_19/lib/steppermod.o:
plat/2_2_19/lib/steppermod.o: No such file or directory
can't install it
Do you have any ideas??
Thanks in advance.
Stephen Goldsmith
Will Shackleford wrote:
> Stephen Goldsmith wrote:
>
> > Hello All
> >
> > Just installed rtlinux-3.0 and this seems to be functioning from the
> > examples, on a Redhat7 Dist.
> > The kernel = 2.2.19 (which is less than the original Redhat7 kernel
> > 2.2.22).
> >
> > Downloaded the EMC emc-1.1-17.src.tar
> > Unpacked it!
> >
> > Ran the ./install script which I think succeeded with only minor
> > warnings.
> >
> > When attempting to run ./emc.run I get the following error :
> >
> > The current real-time platform appears to be 2_2_19 but no directory
> > exists for this platform.
> > Either install EMC for this platform or create a symbolic link to an
> > existing platform.
> >
> >
> > Any help on this matter would be greatly appreciated before I pull out
> > all my hair!
> >
> > Also does Emc run on this kernel version and rtlinux3.0 ?
> >
> > Regards
> >
> > Steve G.
> >
> >
> >
> >
> >
>
> As I recall the emc.1.1-17 release was made just before RTLinux 3.0
> final was released. So while some of the porting to 3.0 had been done
> already using test versions of 3.0 it was really intended for 2.2. We
> have been running the CVS version of EMC under 3.0 for some time now.
> The CVS version changes from week to week. So sometimes you can get a
> reasonably stable system and sometimes it is completely broken.
>
> One of the changes from RTL 2.2 to 3.0 was that they dropped the rtl
> version number from the EXTRAVERSIONINFO flag when building the kernel
> so uname -s on a RTL 2.2 system says something like 2.2.14-rtl2.2 but on
> a 3.0 system something like 2.2.14-rtl. This confused the bash script
> emc.run that tries to determine the rtlinux version number.
>
> The new bash script doesn't use uname any more, it either gets it out of
> a file or asks the user if the file doesn't exist.
>
> One workaround you could try would be to do this
>
> cd emc/plat
> ln -s rtlinux_3_0 2_2_19
>
> -- Will
>
> --
> ---------------------------------------------------------------
> William Penn Shackleford III shackle-at-nist.gov
> National Institute of Standards & Technology Tel: (301) 975-4286
> 100 Bureau Drive Stop 8230 FAX: (301) 990-9688
> Gaithersburg MD 20899 USA
> http://www.isd.mel.nist.gov/personnel/shackleford/
> Office Location: Bldg. 220 Rm A253
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact