On Mon, Aug 13, 2012 at 10:40 AM, Marco Righi <marco.ri...@gmail.com> wrote: > Package: arduino > Version: 1:1.0.1+dfsg-4 > Severity: grave > > --- Please enter the report below this line. --- > Hi, > I try to compile the Arduino example > > #include <Ethernet.h> > #include <SPI.h> > > // the media access control (ethernet hardware) address for the shield: > byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; > //the IP address for the shield: > byte ip[] = { 10, 0, 0, 177 }; > > void setup() > { > Ethernet.begin(mac, ip); > } > > void loop () {} > > that I copy from > > http://arduino.cc/en/Reference/EthernetBegin > > I patched it adding the line > > #include <SPI.h> > > Using the Arduino compiler under VirtualBOX I compile successfully the > code meanwhile using the Debian package I got the followings errors:
It looks like a problem with gcc 4.7.0 that Debian recently switched to [1, 2]. Debian Arduino is using the patches from here [3]. Hakan, could you look at bugs.debian.org/684748 and see if anything simple jumps out at you with this error? Source is here [4]. I'm travelling and can't look too closely at it. Thank you! Cheers, Scott [1] http://packages.qa.debian.org/g/gcc-avr.html [2] http://arduino.cc/forum/index.php?topic=116542.0 [3] http://andybrown.me.uk/wk/2012/04/28/avr-gcc-4-7-0-and-avr-libc-1-8-0-compiled-for-windows/ [4] http://anonscm.debian.org/gitweb/?p=collab-maint/arduino.git;a=tree;f=libraries/Ethernet;h=e638934e692b79aaf75a49311684cc45593fb8e9;hb=HEAD -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org