Re: EMC on RH 6.1 - 2.2.13
Posted by
Drew Rogge
on 2000-02-10 15:32:18 UTC
Hi George,
The thing I've found is that when looking at the commands make
issues to compile emcmot.c I don't see any reference to any
directory which is rtl specific i.e. -I/usr/src/rtl/.... When
emcmot.c includes rtl_sched.h it either uses <linux/rtl_sched.h>
or just <rtl_sched.h>. It looks to me that emcmot.c is expecting
to find the rtl header files in either /usr/include/linux or
/usr/include but nothing gets installed there by the rtl build
process.
My main goal is also to eventualy get the 31-Jan release running
on 2.2.13 but I initialy thought that getting the 22-Oct release
running first would be a good start. Now I'm not sure that that's
the right approach.
I seem to recall an earlier discussion on the list that the 2.2.13
EMC release wanted to see module names line rtl_sched but the
RTLinux software was creating rtl_sched.o (or maybe it was the
other way around).
I'll try to keep you posted on what I find out.
Drew
The thing I've found is that when looking at the commands make
issues to compile emcmot.c I don't see any reference to any
directory which is rtl specific i.e. -I/usr/src/rtl/.... When
emcmot.c includes rtl_sched.h it either uses <linux/rtl_sched.h>
or just <rtl_sched.h>. It looks to me that emcmot.c is expecting
to find the rtl header files in either /usr/include/linux or
/usr/include but nothing gets installed there by the rtl build
process.
My main goal is also to eventualy get the 31-Jan release running
on 2.2.13 but I initialy thought that getting the 22-Oct release
running first would be a good start. Now I'm not sure that that's
the right approach.
I seem to recall an earlier discussion on the list that the 2.2.13
EMC release wanted to see module names line rtl_sched but the
RTLinux software was creating rtl_sched.o (or maybe it was the
other way around).
I'll try to keep you posted on what I find out.
Drew
On Feb 10, 5:58pm, George Fouse wrote:
> Subject: Re: [CAD_CAM_EDM_DRO] Digest Number 355
> From: George Fouse <gfouse@...>
>
> Hi Drew,
> Actually, I've started to play around with this [actually, I decided to
> try also to get the 31-Jan-2000 source found in 2.0.36 to compile.] And,
> yeah, I've seen the same thing. I don't by any means have this all
> sorted out, but the simple things I've found so far is that some of the
> Makefiles have a non-current location for rtl includes (eg for example:
> /usr/src/beta11/rtl/include). This needs changed to whatever structure
> you are using. I just made soft links /usr/src/rtl and /usr/src/rtlinux
> to the rtl dir of my rtlinux build & Makefile changes.
> A second thing I found is that MODULES such as rtl_sched.o weren't
> found. I'm just starting to look at this, but it seems the relevant
> directive only searches /usr/rtl/modules. In V2.0 it seems that only
> rtl_fifo.o and rtl_posixio.o are put here. rtl_sched.o, for instance,
> goes into ../rtl/schedulers. So this needs corrected. Either I'll update
> the directives, or else just soft-link the needed modules to
> ../rtl/modules. I really want to work with the new source, as it seems
> to have alot of advantages. It uses the mbuf module now, so that you
> don't have to set aside the top 1M of memory (a lot cleaner), and some
> other changes, too.
> Anyhow, 'seems like we both have some work ahead. If anyone else has the
> 31Jan 2000 source running under the 2.2.13 kernel, I'd really like to
> have the details!!
> Drew Rogge wrote:
> >
> > From: Drew Rogge <drew@...>
> >
> > George,
> >
> > Have you been able to compile the Oct. 22 release of EMC for 2.2.10?
> >
> > I've been trying off and on for a few days and am having trouble
> > compiling emcmot.c. For some reason it either isn't including rtl_sched.h
> > or is getting the wrong one from somewhere.
> >
> > Anyone else trying to move to RH 6.1?
> >
> > Drew
> >
> >
> > --
> > Drew Rogge
> > drew@...
> >
> --
>
> -------------------------------
> George Fouse,
> President
> G F I Consulting
> -------------------------------
>
>-- End of excerpt from George Fouse
--
Drew Rogge
drew@...