Frank Maier wrote:

>Hello,
>
>I'm trying to build a hal component with
>
>./bin/comp --install test.c
>  
>
If you actually have to run it as "./bin/comp", then there is something 
wrong.  The most likely problem is that you compiled for run-in-place, 
but forgot to source scripts/emc-environment.  You must source 
emc-environment in any terminal in which you wish to run EMC-related 
programs (such as halscope, pyvcp, halcmd ...).

>If I do that, and try to load that component, emc2 will fail
>and reports "insmod: error inserting "/home/emc2-.....": -1
>Module has wrong symbol version".
>  
>
This error would appear if you are mixing versions, such as run-in-place 
and installed.

>The same hapens if I do comp --install pid.c. Then the pid
>will not be loaded. It worked when the complete emc was
>compiled, then the pid was loaded without problems.
>  
>
comp --install does not load the module, it only installs it into the 
correct location so that EMC can load the module.

- Steve


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to