Re: relocation error ?
I see that Dale's ini example calls for steppermod.o. Steppermod does
not compile with the rtai that is used with BDI-TNG. I believe that It
has been replaced in the recent repository by freqmod with at least four
types of stepping that can be selected from the ini file. One type (4)
is the steppermod binning routine. The type of stepper computation and
output is determined by a variable in [EMCMOT]
; Stepping type, 0 = step/direction, 1 = phasing
STEPPING_TYPE = 1
I also see that this mod to the ini file is only present in stepper.ini.
We need to fix this!
Ray
On Tuesday 08 October 2002 08:09 am, Dale wrote:
> Jason Cox wrote:
> >hi,
> >Ive just installed Mandrake 9.0 on a Duron 1.2Ghz with 2.4.19 and RTAI
> >Version: 24.1.10. The installed gcc (3.2) compiled the kernel and rtai
> >ok. inserting and removing modules all works and is stable.
> >However, when i build emc it all comiles ok without and errors or
> >warnings. the only problem is that which follows.
> >Any help ?
> >Thanks Jason
> >
> >
> >[root-at-win95 emc]# ./stepper.run
> >/opt/emc
> >Current platform is linux_rtai
> >Current real-time platform is rtai
> >inivar = plat/linux_rtai/bin/inivar
> >INIFILE = stepper.ini
> >plat/linux_rtai/bin/inivar: relocation error:
> >/opt/rcslib/plat/linux_rtai/lib/librcs.so: undefined symbol:
> >__dso_handle
> >RS274NGC_PARAMFILE =
> >plat/linux_rtai/bin/inivar: relocation error:
> >/opt/rcslib/plat/linux_rtai/lib/librcs.so: undefined symbol:
> >__dso_handle
> >Can't find variable EMCMOT in section [EMCMOT] of file stepper.ini.
>
> Jason,
>
> I've had that error and it was just missplaced character in my ini
> file. Check to make sure that the emcmot section is similar to this.
>
> ; Motion control section
> ------------------------------------------------------
> [EMCMOT] (<-------- LOOK HERE)
>
> ; Platform for motion, e.g., realtime, nonrealtime
> PLAT = realtime
> ; PLAT = nonrealtime
>
> ; Name of motion control program
> EMCMOT = steppermod.o (<-------- LOOK HERE)
> ; EMCMOT = freqmod.o
> ; EMCMOT = smdromod.o
> ; EMCMOT = stgmod.o
> ; EMCMOT = stg8mod.o
> ; EMCMOT = emcmotsim
> STEPPING_TYPE = 0
>
> In my case it was a simple typing error.
>
> Dale
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact