Package: arduino Version: 1:1.0.1+dfsg-4 Severity: grave --- Please enter the report below this line. --- Hi, the package
http://arduino.googlecode.com/files/arduino-1.0.1-linux64.tgz compiles correctly the code. Follow the previous e-mail ._._._._._._._._._._._._._._._._._._._._._._._._._._._._ 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. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org