error:dulplicate component name "inihal"??

More
24 Apr 2014 11:50 - 07 May 2014 17:27 #46277 by tiffany
I tried to recompile source code, it did work.
but it always have error when i tried run linuxcnc on terminal.

I need your help!


3Q!!!
Attachments:
Last edit: 07 May 2014 17:27 by tiffany.

Please Log in or Create an account to join the conversation.

More
24 Apr 2014 14:24 - 24 Apr 2014 14:33 #46280 by cncbasher
have you changed anything in the Hal or INI file
which version are you using ? it looks more of a typo error in your hal file perhaps
Last edit: 24 Apr 2014 14:33 by cncbasher.

Please Log in or Create an account to join the conversation.

More
24 Apr 2014 16:07 #46282 by ArcEye

I tried to recompile source code, it did work.


It is something you have done, just grep inihal to see how many times it occurs in the sources.

You could have re-used the code keeping the same name or have used the name for something in your config files.

A favourite, is changing the name of a component file but not the name of the component in the code.
This can give '..waiting for component to become ready...' and 'duplicate component' errors depending upon when it is attempted to be inserted

Another is having a typo in your hal file so that you try to load the same component twice, or using a protected name as the name of a signal you are trying to create etc etc.

The first step is a search for 'inihal'

regards

Please Log in or Create an account to join the conversation.

More
07 May 2014 15:45 - 07 May 2014 17:46 #46673 by tiffany
I did make some change. Most of them is INI folder.
I attached INI folder which I have changed.

I just tried to transmit parameter JERK to memory.

Please give me some hint~~
Attachments:
Last edit: 07 May 2014 17:46 by tiffany.

Please Log in or Create an account to join the conversation.

More
07 May 2014 15:48 - 07 May 2014 17:46 #46674 by tiffany
I have make sure there is one inihal;

I doubt that : it's because of 'waiting for s.axis'

but I still couldn't find where is wrong~~

Please help me ,thank you very much!
Attachments:
Last edit: 07 May 2014 17:46 by tiffany.

Please Log in or Create an account to join the conversation.

More
07 May 2014 16:04 #46675 by cncbasher
no attachments , could you try again to attach your files both your hal and ini

Please Log in or Create an account to join the conversation.

More
07 May 2014 17:18 - 07 May 2014 17:20 #46677 by tiffany
OK~~

I tried again, but attachments disappeared after submit~~
Last edit: 07 May 2014 17:20 by tiffany.

Please Log in or Create an account to join the conversation.

More
07 May 2014 17:43 #46679 by ArcEye
Either change the extension to .txt or better still zip your entire config folder and attach the .zip file

Please Log in or Create an account to join the conversation.

More
07 May 2014 17:48 #46680 by tiffany
It worked, you could check again~~


INI folder is the main part which I have changed
Attachments:

Please Log in or Create an account to join the conversation.

More
07 May 2014 18:21 - 07 May 2014 18:22 #46683 by ArcEye
What you have attached is code, some of which you have presumably changed?

I thought you were attaching your config files for your machine, the hal and ini files.

Without seing those, I can't tell if the problem is purely in your code or if you have tried to run a component called inihal from your hal file, when there is already one in the Linuxcnc code
Last edit: 07 May 2014 18:22 by ArcEye.

Please Log in or Create an account to join the conversation.

Time to create page: 0.153 seconds
Powered by Kunena Forum