<div dir="ltr"><div><div>Wonder if it's a difference between rev boards on the Pi? <br><br></div><div>I've also built a custom image based on Hexxeh's minimal install which is working great for audio stuff. My Pd patch that wouldn't run without overclocking on a standard Raspian is now working fine on the rev1 256mg board. So I've been adding stuff as and when it comes up to try and keep t is minimal as poss.<br>
</div><div><br></div>I'm also not sure what installed libi2c-dev? Guess I'll have to wait and see what squeals.<br><br></div>Of possible interest is this message when removing the lib with apt-get:<br><div><div>The following packages will be REMOVED:<br>
libi2c-dev<br>0 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.<br>After this operation, 19.5 kB disk space will be freed.<br>Do you want to continue [Y/n]? y<br>(Reading database ... 33610 files and directories currently installed.)<br>
Removing libi2c-dev ...<br>Removing 'diversion of /usr/include/linux/i2c-dev.h to /usr/include/linux/i2c-dev.h.kernel by libi2c-dev'<br><br></div><div>So guess the diversion was messing with the compile for the C code.<br>
<br></div><div>Anyway - code runs and I can compile C files too so all ok so far.<br><br></div><div>Thanks again for everything Martin,<br><br></div><div>Julian<br></div><div><br><br><br></div></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On 21 April 2013 06:45, Martin Peach <span dir="ltr"><<a href="mailto:martin.peach@sympatico.ca" target="_blank">martin.peach@sympatico.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2013-04-20 21:09, Julian Brooks wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Oh and btw<br>
<br>
Still don't know why I can't compile the .c files on the pi with<br>
libi2c-dev installed but I can't. Presuming the compiling is working<br>
for you Martin?<br>
</blockquote>
<br></div>
Yes it works for me. I don't have the same /usr/include/linux/i2c-dev.h as you so no redefinition errors, not sure which package(s) install that file.<span class="HOEnZb"><font color="#888888"><br>
<br>
Martin<br>
<br>
<br>
</font></span></blockquote></div><br></div>