EMC installation problems
Posted by
David Micklethwaite
on 2001-06-27 00:29:11 UTC
Hi,
At the moment I am trying to get EMC running on RedHat 7.0 with a
linux-2.2.18 kernel and rtlinux-3.0. This is my first attempt at installing
EMC, here's what I have done.
I picked up the latest tgz files from sourceforge - specifically
emc-1.1-17.i386-rtl2.2.tgz and
emc-1.1-17.src.tgz
I installed from emc-1.1-17.i386-rtl2.2.tgz first and then tried the
./emc.run script - I had to make a couple of links in the emc/plat directory
to match up the linux and rtlinux directories. This is what happened:
# pwd
/usr/local/nistsrc/emc
# ./emc.run
Current platform is linux_2_2_18
Current real-time platform is rtlinux_
inivar = plat/linux_2_2_18/bin/inivar
INIFILE = emc.ini
starting emc...
/sbin/insmod -f /lib/modules/2.2.18-rtl/misc/rtl.o
insmod: a module named rtl already exists
starting EMC MOTION PROGRAM --
steppermod.o...plat/rtlinux_/lib/steppermod.o: unresolved symbol udivdi3
plat/rtlinux_/lib/steppermod.o: unresolved symbol __umoddi3
can't install it
At this point I did the install again from the source on emc-1.1-17.src.tgz.
Unfortunately, this didn't fix it!
Does anyone have any suggestions about these unresolved symbols? I believe
they may be due to the
use of "unsigned long long" but don't understand whether their being
unresolved goes back to the EMC build process (compiler linker flags, etc)
or to my choice of linux/rtlinux versions and libraries.
Is there a recommended version of RedHat, Linux kernel and RTlinux which I
should be using with this EMC emc-1.1-17 release? I put together the latest
(almost) of everything and hope for the best which hasn't happened!
What is the recommended approach to rebuilding just part of the EMC with
changes - eg if I make changes to part of steppermod how do I just build
that module? I have heaps of programming experience and a reasonably good
grip on building large applications but these EMC Makefiles are defeating me
at the moment! Is there a step by step guide somewhere?
Regards,
Dave.
David Micklethwaite
Technical Sales Support Consultant, Cray Australia Pty Ltd
Phone: +61 2 6270 8703 Fax: +61 2 6273 6267
Suite 1, Level 2, 1-7 Franklin St, Manuka ACT, AUSTRALIA
Postal: PO Box 3543, Manuka ACT 2603, AUSTRALIA
At the moment I am trying to get EMC running on RedHat 7.0 with a
linux-2.2.18 kernel and rtlinux-3.0. This is my first attempt at installing
EMC, here's what I have done.
I picked up the latest tgz files from sourceforge - specifically
emc-1.1-17.i386-rtl2.2.tgz and
emc-1.1-17.src.tgz
I installed from emc-1.1-17.i386-rtl2.2.tgz first and then tried the
./emc.run script - I had to make a couple of links in the emc/plat directory
to match up the linux and rtlinux directories. This is what happened:
# pwd
/usr/local/nistsrc/emc
# ./emc.run
Current platform is linux_2_2_18
Current real-time platform is rtlinux_
inivar = plat/linux_2_2_18/bin/inivar
INIFILE = emc.ini
starting emc...
/sbin/insmod -f /lib/modules/2.2.18-rtl/misc/rtl.o
insmod: a module named rtl already exists
starting EMC MOTION PROGRAM --
steppermod.o...plat/rtlinux_/lib/steppermod.o: unresolved symbol udivdi3
plat/rtlinux_/lib/steppermod.o: unresolved symbol __umoddi3
can't install it
At this point I did the install again from the source on emc-1.1-17.src.tgz.
Unfortunately, this didn't fix it!
Does anyone have any suggestions about these unresolved symbols? I believe
they may be due to the
use of "unsigned long long" but don't understand whether their being
unresolved goes back to the EMC build process (compiler linker flags, etc)
or to my choice of linux/rtlinux versions and libraries.
Is there a recommended version of RedHat, Linux kernel and RTlinux which I
should be using with this EMC emc-1.1-17 release? I put together the latest
(almost) of everything and hope for the best which hasn't happened!
What is the recommended approach to rebuilding just part of the EMC with
changes - eg if I make changes to part of steppermod how do I just build
that module? I have heaps of programming experience and a reasonably good
grip on building large applications but these EMC Makefiles are defeating me
at the moment! Is there a step by step guide somewhere?
Regards,
Dave.
David Micklethwaite
Technical Sales Support Consultant, Cray Australia Pty Ltd
Phone: +61 2 6270 8703 Fax: +61 2 6273 6267
Suite 1, Level 2, 1-7 Franklin St, Manuka ACT, AUSTRALIA
Postal: PO Box 3543, Manuka ACT 2603, AUSTRALIA
Discussion Thread
David Micklethwaite
2001-06-27 00:29:11 UTC
EMC installation problems
Tim Goldstein
2001-06-27 09:19:24 UTC
RE: [CAD_CAM_EDM_DRO] EMC installation problems
Kenn Danner
2001-06-27 09:38:33 UTC
Re: [CAD_CAM_EDM_DRO] EMC installation problems
Luciano Cardoso
2001-06-27 09:45:00 UTC
Re: [CAD_CAM_EDM_DRO] EMC installation problems
Paul
2001-06-27 12:31:26 UTC
RE: [CAD_CAM_EDM_DRO] EMC installation problems
M. SHABBIR MOGHUL
2001-06-28 19:51:23 UTC
Help required stepper is to slow?