Is it an issue that I do not have a machinekit folder in /usr/src/ ?
On Sun, May 14, 2017 at 6:01 AM, [email protected] < [email protected]> wrote: > Unfortunately I am not able to replicate your error. > > I have taken the zip config folder you attached, installed it into my > configs and run that and it still runs OK. > > The xhc-hb04 binary is linked against libgcc_s.so.1 > The binary is loaded from line 343 of xhc-hb04.tcl, which I assume is why > the error occurs during the tcl file loads > > On my system the lib is in /usr/lib/gcc/x86_64-linux-gnu/4.9/ but yours > will be slightly different but similar, you need to ensure it is physically > present. > Then run the command as below to see if it is in the ldconfig cache and > you should get something similar > > user@INTEL-i7:/usr/src/machinekit/configs/sim/axis/xhc-hb04$ sudo ldconfig -p > | grep libgcc_s.so.1 > > libgcc_s.so.1 (libc6,x32) => /usr/libx32/libgcc_s.so.1 > > libgcc_s.so.1 (libc6,x86-64) => /lib/x86_64-linux-gnu/libgcc_s.so.1 > > libgcc_s.so.1 (libc6) => /lib/i386-linux-gnu/libgcc_s.so.1 > > libgcc_s.so.1 (libc6) => /usr/lib32/libgcc_s.so.1 > > > If you don't see it, run *sudo ldconfig* and then run the above again > > If you search on this error you will see it seems to occur quite often, > when it appears the correct package is installed. > > It also turns up here https://groups.google.com/forum/#!topicsearchin/ > machinekit/libgcc_s.so.1;context-place=forum/machinekit/machinekit/ > fWz0MPrQeGw > in a completely unrelated post, but again on a BBB, which makes me wonder. > > > > On 13/05/17 14:47, Mike Cinquino wrote: > > I ran *sudo apt-get install libgcc1 *and it said it was installed and > nothing to add. It said to "autoremove" liburiparser1 so I did? > > I learned some usermod commands and checked and added machinekit user to > "users" > > I created the .rules file as you described. > > Because I was getting the same error I experimented with the readme file > version of the .rules file. I noticed it had ATTR vs SYSFS. The readme had > the name as 90-xhc.rules. I tried both combinations of file names with ATTR > and SYSFS. > > Rebooted a few times in the process and still the same error. *libgcc_s.so.1 > must be installed for pthread_cancel to work* > > On Sat, May 13, 2017 at 7:32 AM, [email protected] < > [email protected]> wrote: > >> >> On 12/05/17 18:15, Mike Cinquino wrote: >> >> Is the attached what you are looking for? >> >> The pendant is being detected OK and the calls to 'halcmd show pexists >> <pin-name> are working >> >> The error is here >> >> *libgcc_s.so.1 must be installed for pthread_cancel to work* >> >> */usr/bin/linuxcnc: line 753: 9932 Aborted haltcl -i >> "$INIFILE" $CFGFILE* >> >> >> That line of linuxcnc script deals with the reading in of tcl config files >> >> If they are the same as the ones in your zip earlier, they appear OK, so >> I would install libgcc1 >> >> *sudo apt-get install libgcc1* >> >> check that your /etc/udev/rules.d/ contains 90-xhc-hb04.rules as per >> >> *SYSFS{idProduct}=="eb70", SYSFS{idVendor}=="10ce", MODE="666", >> OWNER="root", GROUP="users"* >> >> (unless your pendant comes back as different product:vendor codes) and >> that your user is a member of group 'users' >> >> Then try again. >> >> Works fine here >> >> -- >> website: http://www.machinekit.io blog: http://blog.machinekit.io >> github: https://github.com/machinekit >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "Machinekit" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/machinekit/OvxRsCF3auI/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> Visit this group at https://groups.google.com/group/machinekit. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to the Google Groups > "Machinekit" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. > > > -- > website: http://www.machinekit.io blog: http://blog.machinekit.io github: > https://github.com/machinekit > --- > You received this message because you are subscribed to a topic in the > Google Groups "Machinekit" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/machinekit/OvxRsCF3auI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > Visit this group at https://groups.google.com/group/machinekit. > For more options, visit https://groups.google.com/d/optout. > -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
