<div dir="ltr"><div><div><div><div>So, <br><br></div>I created this updated version.<br><a href="https://gist.github.com/commodo/2a5ac7e09b0ae68c9d84">https://gist.github.com/commodo/2a5ac7e09b0ae68c9d84</a><br><br><div>The original Makefile is a bit messed up.<br></div><br></div>This version builds, but when I import smbus I get this failure:<br></div></div><span>/usr/bin/python2.7: symbol 'i2c_smbus_access': can't resolve symbol in lib '/usr/lib/python2.7/site-packages/smbus.so'.  <br></span><div><div><div></div>I found a discussion about it, but no resolution :  <a href="https://communities.intel.com/thread/52982">https://communities.intel.com/thread/52982</a><br><br></div><div>In order to enable the python-smbus package, you need to go to  the  Languages ==> Python menu and select   python-smbus.<br>Then you should have it on your target.<br></div><div>Hopefully it works for you.<br></div><div><br></div><div>Cheers<br></div><div>Alex<br></div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 23, 2014 at 6:42 PM, Alexandru Ardelean <span dir="ltr"><<a href="mailto:ardeleanalex@gmail.com" target="_blank">ardeleanalex@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>python-smbus is a obsolete package.<br></div><div></div><br></div><div>the python package has been moved to github; currently it's been upgraded from 2.7.3 (which was in oldpackages) to 2.7.8<br></div>it could be that there's a bug in the python package which causes python-smbus not to build/install<br><br>will check it out;<br></div>might be something worth fixing in the python package<br><div><br>thanks<br>Alex<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Oct 23, 2014 at 6:25 PM,  <span dir="ltr"><<a href="mailto:smilebef@gmail.com" target="_blank">smilebef@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Strange thing with python smbus modul.<br>
<br>
I install python-smbus<br>
and try to import smbus in python but python can not find any smbus<br>
modules.<br>
<br>
I look for the package python-smbus, wich contain nothing.<br>
The refered Website <a href="http://lm-sensors.org/wiki/I2CTools" target="_blank">http://lm-sensors.org/wiki/I2CTools</a><br>
say, the python smbus modul is in i2c-tools.<br>
But this dont contain also no smbus modul.<br>
<br>
???<br>
<br></div></div>_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>