Re: Errors compiling arduino software v1.01 + botanicalls 2 v3.01

Home Forums Botanicalls Community Errors compiling arduino software v1.01 + botanicalls 2 v3.01 Re: Errors compiling arduino software v1.01 + botanicalls 2 v3.01

#1878
squigley
Participant

I’m getting the same issues. I changed the reference to wiring.h to Arduino.h, and removed the include of string.h (since changing it to Arduino.h seems redundant).

When I try to verify/compile, I get the following:

In file included from /home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/Arduino.h:192,
from /home/squigley/Downloads/arduino-1.0.1/libraries/EthernetDHCP/EthernetDHCP.cpp:27:
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:116: error: declaration of C function ‘StringSumHelper& operator+(const StringSumHelper&, const char*)’ conflicts with
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:115: error: previous declaration ‘StringSumHelper& operator+(const StringSumHelper&, const String&)’ here
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:117: error: declaration of C function ‘StringSumHelper& operator+(const StringSumHelper&, char)’ conflicts with
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:116: error: previous declaration ‘StringSumHelper& operator+(const StringSumHelper&, const char*)’ here
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:118: error: declaration of C function ‘StringSumHelper& operator+(const StringSumHelper&, unsigned char)’ conflicts with
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:117: error: previous declaration ‘StringSumHelper& operator+(const StringSumHelper&, char)’ here
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:119: error: declaration of C function ‘StringSumHelper& operator+(const StringSumHelper&, int)’ conflicts with
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:118: error: previous declaration ‘StringSumHelper& operator+(const StringSumHelper&, unsigned char)’ here
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:120: error: declaration of C function ‘StringSumHelper& operator+(const StringSumHelper&, unsigned int)’ conflicts with
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:119: error: previous declaration ‘StringSumHelper& operator+(const StringSumHelper&, int)’ here
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:121: error: declaration of C function ‘StringSumHelper& operator+(const StringSumHelper&, long int)’ conflicts with
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:120: error: previous declaration ‘StringSumHelper& operator+(const StringSumHelper&, unsigned int)’ here
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:122: error: declaration of C function ‘StringSumHelper& operator+(const StringSumHelper&, long unsigned int)’ conflicts with
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/WString.h:121: error: previous declaration ‘StringSumHelper& operator+(const StringSumHelper&, long int)’ here
In file included from /home/squigley/Downloads/arduino-1.0.1/libraries/EthernetDHCP/EthernetDHCP.cpp:27:
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/Arduino.h:196: error: declaration of C function ‘uint16_t makeWord(byte, byte)’ conflicts with
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/Arduino.h:195: error: previous declaration ‘uint16_t makeWord(uint16_t)’ here
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/Arduino.h:206: error: declaration of C function ‘long int random(long int)’ conflicts with
/home/squigley/Downloads/arduino-1.0.1/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../avr/include/stdlib.h:504: error: previous declaration ‘long int random()’ here
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/Arduino.h:207: error: declaration of C function ‘long int random(long int, long int)’ conflicts with
/home/squigley/Downloads/arduino-1.0.1/hardware/arduino/cores/arduino/Arduino.h:206: error: previous declaration ‘long int random(long int)’ here



New kits are here!

Categories

Pothos Plant Tweets

    Flickr Feed

    www.flickr.com
    More photos or video tagged with botanicalls on Flickr

    Meta