Your message dated Fri, 24 Aug 2012 13:47:39 +0000 with message-id <[email protected]> and subject line Bug#684748: fixed in arduino 1:1.0.1+dfsg-6 has caused the Debian Bug report #684748, regarding [arduino] unable to use ethernet library to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 684748: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684748 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---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: /usr/share/arduino/libraries/Ethernet/Ethernet.cpp: In member function ‘void EthernetClass::begin(uint8_t*, IPAddress, IPAddress, IPAddress, IPAddress)’: /usr/share/arduino/libraries/Ethernet/Ethernet.cpp:64:39: error: no matching function for call to ‘W5100Class::setIPAddress(IPAddress::<anonymous union>&)’ /usr/share/arduino/libraries/Ethernet/Ethernet.cpp:64:39: note: candidate is: In file included from /usr/share/arduino/libraries/Ethernet/Ethernet.cpp:1:0: /usr/share/arduino/libraries/Ethernet/utility/w5100.h:392:6: note: void W5100Class::setIPAddress(uint8_t*) /usr/share/arduino/libraries/Ethernet/utility/w5100.h:392:6: note: no known conversion for argument 1 from ‘IPAddress::<anonymous union>’ to ‘uint8_t* {aka unsigned char*}’ /usr/share/arduino/libraries/Ethernet/Ethernet.cpp:65:38: error: no matching function for call to ‘W5100Class::setGatewayIp(IPAddress::<anonymous union>&)’ /usr/share/arduino/libraries/Ethernet/Ethernet.cpp:65:38: note: candidate is: In file included from /usr/share/arduino/libraries/Ethernet/Ethernet.cpp:1:0: /usr/share/arduino/libraries/Ethernet/utility/w5100.h:368:6: note: void W5100Class::setGatewayIp(uint8_t*) /usr/share/arduino/libraries/Ethernet/utility/w5100.h:368:6: note: no known conversion for argument 1 from ‘IPAddress::<anonymous union>’ to ‘uint8_t* {aka unsigned char*}’ /usr/share/arduino/libraries/Ethernet/Ethernet.cpp:66:38: error: no matching function for call to ‘W5100Class::setSubnetMask(IPAddress::<anonymous union>&)’ /usr/share/arduino/libraries/Ethernet/Ethernet.cpp:66:38: note: candidate is: In file included from /usr/share/arduino/libraries/Ethernet/Ethernet.cpp:1:0: /usr/share/arduino/libraries/Ethernet/utility/w5100.h:376:6: note: void W5100Class::setSubnetMask(uint8_t*) /usr/share/arduino/libraries/Ethernet/utility/w5100.h:376:6: note: no known conversion for argument 1 from ‘IPAddress::<anonymous union>’ to ‘uint8_t* {aka unsigned char*}’ Thanks in advance Marco Righi --- System information. --- Architecture: amd64 Kernel: Linux 3.2.0-3-amd64 Debian Release: wheezy/sid 500 wheezy linux.dropbox.com 500 testing www.debian-multimedia.org 500 testing security.debian.org 500 testing http.us.debian.org 500 testing ftp.fr.debian.org 500 stable repo.wuala.com 500 stable ftp2.de.debian.org 500 stable apt.spideroak.com 500 squeeze www.lamaresh.net 500 oneiric ppa.launchpad.net --- Package information. --- Depends (Version) | Installed ====================================-+-=================== default-jre | 1:1.6-47 OR java6-runtime | libjna-java | 3.2.7-4 librxtx-java (>= 2.2pre2-3) | 2.2pre2-11 arduino-core (= 1:1.0.1+dfsg-4) | 1:1.0.1+dfsg-4 Recommends (Version) | Installed ==============================-+-=========== extra-xdg-menus | 1.0-4 policykit-1 | 0.105-1 Package's Suggests field is empty.
--- End Message ---
--- Begin Message ---Source: arduino Source-Version: 1:1.0.1+dfsg-6 We believe that the bug you reported is fixed in the latest version of arduino, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Scott Howard <[email protected]> (supplier of updated arduino package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Fri, 24 Aug 2012 09:29:34 -0400 Source: arduino Binary: arduino arduino-core Architecture: source all Version: 1:1.0.1+dfsg-6 Distribution: unstable Urgency: low Maintainer: Scott Howard <[email protected]> Changed-By: Scott Howard <[email protected]> Description: arduino - AVR development board IDE and built-in libraries arduino-core - Code, examples, and libraries for the Arduino platform Closes: 684748 Changes: arduino (1:1.0.1+dfsg-6) unstable; urgency=low . * Fixes gcc 4.7 related build failure of Ethernet library (Closes: #684748) Checksums-Sha1: 0c1e6f935396be5232cd2148d2243a221f60f2ed 1370 arduino_1.0.1+dfsg-6.dsc 4d217b6680c7fe33309ab9bc48f02aaf578acef7 87026 arduino_1.0.1+dfsg-6.debian.tar.gz b21ea501f0c89af522fd051eba2a6260b9c6ae2d 1123576 arduino_1.0.1+dfsg-6_all.deb 28ca591e46c5c99ffae6964ec8d99dc0242b6594 717588 arduino-core_1.0.1+dfsg-6_all.deb Checksums-Sha256: 8f4c77f46d3f56cd021ae5048ce69c7b9c3a23c334891e46455fadd719ea42dd 1370 arduino_1.0.1+dfsg-6.dsc d355d8e7a763a6d07ee0a623fa24395271e8ab1cccfa74ab5bc916eb0416ebaf 87026 arduino_1.0.1+dfsg-6.debian.tar.gz 0c0167c87842ce81a4ea74360372398b9c65935452ea72e5a428772cbdf9145e 1123576 arduino_1.0.1+dfsg-6_all.deb a20b5bd3464747c4e918435653e074e7ba1cbb45fd82b22995eb5e6d72514267 717588 arduino-core_1.0.1+dfsg-6_all.deb Files: 21a4a5b406708ce8b4dc2529e3423210 1370 electronics extra arduino_1.0.1+dfsg-6.dsc ac59a99ca028d1fb1f69a407cc21c665 87026 electronics extra arduino_1.0.1+dfsg-6.debian.tar.gz c686be14afcf1123db21eca6a5a00ca8 1123576 electronics extra arduino_1.0.1+dfsg-6_all.deb d5577a4ff8012ede7e88f547de330c52 717588 electronics extra arduino-core_1.0.1+dfsg-6_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAlA3g2AACgkQuqVp0MvxKmo1XgCg0Ev/fO6dw4DZ7zwe4FMLzf6t 0ngAn1eKnScumWLWEsM7OZSDJ7p9NxE0 =hnDd -----END PGP SIGNATURE-----
--- End Message ---

