Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New problem at Ubuntu: error: ‘uint_farptr_t’ was not declared in this scope #8

Open
renatoaloi opened this issue Sep 30, 2014 · 0 comments

Comments

@renatoaloi
Copy link

-------------- Clean: Arduino Uno in ArduinoTeste1 (compiler: GNU GCC Compiler for AVR)---------------

Cleaned "ArduinoTeste1 - Arduino Uno"

-------------- Build: Arduino Uno in ArduinoTeste1 (compiler: GNU GCC Compiler for AVR)---------------

avr-g++ -DARDUINO=101 -fno-exceptions -ffunction-sections -fdata-sections -x c++ -s -DUSE_EEPROM=0 -DUSE_ETHERNET=0 -DUSE_FIRMATA=0 -DUSE_LCD=0 -DUSE_LCD4884=0 -DUSE_OBD=0 -DUSE_SD=0 -DUSE_SERVO=0 -DUSE_SOFTSERIAL=0 -DUSE_SPI=0 -DUSE_STEPPER=0 -DUSE_TINYGPS=0 -DUSE_WIRE=0 -Wall -mmcu=atmega328p -D__AVR_ATmega328P__ -Os -DF_CPU=16000000L -DCODE_BLOCKS -I. -I/home/renatoaloi/.codeblocks/arduino/libraries/EEPROM -I/home/renatoaloi/.codeblocks/arduino/libraries/Ethernet -I/home/renatoaloi/.codeblocks/arduino/libraries/Firmata -I/home/renatoaloi/.codeblocks/arduino/libraries/Flash -I/home/renatoaloi/.codeblocks/arduino/libraries/LCD4884 -I/home/renatoaloi/.codeblocks/arduino/libraries/LCD4Bit_mod -I/home/renatoaloi/.codeblocks/arduino/libraries/LiquidCrystal -I/home/renatoaloi/.codeblocks/arduino/libraries/SD -I/home/renatoaloi/.codeblocks/arduino/libraries/SD/utility -I/home/renatoaloi/.codeblocks/arduino/libraries/Servo -I/home/renatoaloi/.codeblocks/arduino/libraries/SevenSegment -I/home/renatoaloi/.codeblocks/arduino/libraries/SoftwareSerial -I/home/renatoaloi/.codeblocks/arduino/libraries/SPI -I/home/renatoaloi/.codeblocks/arduino/libraries/Stepper -I/home/renatoaloi/.codeblocks/arduino/libraries/TinyGPS -I/home/renatoaloi/.codeblocks/arduino/libraries/Wire -I/home/renatoaloi/.codeblocks/arduino/libraries/Wire/utility -I/home/renatoaloi/.codeblocks/arduino/hardware/arduino/cores/arduino -I/home/renatoaloi/.codeblocks/arduino/libraries -I/home/renatoaloi/.codeblocks/sketches/hardware/attiny/variants/standard -I/home/renatoaloi/.codeblocks/arduino/hardware/arduino/variants/standard -I/home/renatoaloi/.codeblocks/sketches/libraries -I/usr/include -c cores/CDC.cpp -o .objs/cores/CDC.o
In file included from /home/renatoaloi/.codeblocks/arduino/hardware/arduino/cores/arduino/Platform.h:6:0,
from /home/renatoaloi/.codeblocks/arduino/hardware/arduino/cores/arduino/CDC.cpp:19,
from cores/CDC.cpp:3:
/usr/lib/avr/include/avr/pgmspace.h:1067:26: error: ‘uint_farptr_t’ was not declared in this scope
extern size_t strlen_PF (uint_farptr_t src) ATTR_CONST; /* program memory can't change /
^
/usr/lib/avr/include/avr/pgmspace.h:1068:27: error: ‘uint_farptr_t’ was not declared in this scope
extern size_t strnlen_PF (uint_farptr_t src, size_t len) ATTR_CONST; /
program memory can't change /
^
/usr/lib/avr/include/avr/pgmspace.h:1068:53: error: expected primary-expression before ‘len’
extern size_t strnlen_PF (uint_farptr_t src, size_t len) ATTR_CONST; /
program memory can't change /
^
/usr/lib/avr/include/avr/pgmspace.h:1068:58: error: expression list treated as compound expression in initializer [-fpermissive]
extern size_t strnlen_PF (uint_farptr_t src, size_t len) ATTR_CONST; /
program memory can't change */
^
/usr/lib/avr/include/avr/pgmspace.h:1069:37: error: ‘uint_farptr_t’ has not been declared
extern void *memcpy_PF (void *dest, uint_farptr_t src, size_t len);
^
/usr/lib/avr/include/avr/pgmspace.h:1070:37: error: ‘uint_farptr_t’ has not been declared
extern char *strcpy_PF (char *dest, uint_farptr_t src);
^
/usr/lib/avr/include/avr/pgmspace.h:1071:38: error: ‘uint_farptr_t’ has not been declared
extern char *strncpy_PF (char *dest, uint_farptr_t src, size_t len);
^
/usr/lib/avr/include/avr/pgmspace.h:1072:37: error: ‘uint_farptr_t’ has not been declared
extern char *strcat_PF (char *dest, uint_farptr_t src);
^
/usr/lib/avr/include/avr/pgmspace.h:1073:38: error: ‘uint_farptr_t’ has not been declared
extern size_t strlcat_PF (char *dst, uint_farptr_t src, size_t siz);
^
/usr/lib/avr/include/avr/pgmspace.h:1074:38: error: ‘uint_farptr_t’ has not been declared
extern char *strncat_PF (char *dest, uint_farptr_t src, size_t len);
^
/usr/lib/avr/include/avr/pgmspace.h:1075:39: error: ‘uint_farptr_t’ has not been declared
extern int strcmp_PF (const char *s1, uint_farptr_t s2) ATTR_PURE;
^
/usr/lib/avr/include/avr/pgmspace.h:1076:40: error: ‘uint_farptr_t’ has not been declared
extern int strncmp_PF (const char *s1, uint_farptr_t s2, size_t n) ATTR_PURE;
^
/usr/lib/avr/include/avr/pgmspace.h:1077:43: error: ‘uint_farptr_t’ has not been declared
extern int strcasecmp_PF (const char *s1, uint_farptr_t s2) ATTR_PURE;
^
/usr/lib/avr/include/avr/pgmspace.h:1078:44: error: ‘uint_farptr_t’ has not been declared
extern int strncasecmp_PF (const char *s1, uint_farptr_t s2, size_t n) ATTR_PURE;
^
/usr/lib/avr/include/avr/pgmspace.h:1079:41: error: ‘uint_farptr_t’ has not been declared
extern char *strstr_PF (const char *s1, uint_farptr_t s2);
^
/usr/lib/avr/include/avr/pgmspace.h:1080:38: error: ‘uint_farptr_t’ has not been declared
extern size_t strlcpy_PF (char *dst, uint_farptr_t src, size_t siz);
^
/usr/lib/avr/include/avr/pgmspace.h:1081:36: error: ‘uint_farptr_t’ has not been declared
extern int memcmp_PF(const void *, uint_farptr_t, size_t) ATTR_PURE;
^
Process terminated with status 1 (0 minute(s), 0 second(s))
17 error(s), 0 warning(s) (0 minute(s), 0 second(s))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant