I am trying to setup my development toolchain for AVR in Debian Linux, from source donwloaded directly from gnu.org, latest versions.
I am stocked in this step:
#./configure --target-avr --program-prefix='avr-'
# make
Configure terminates well building my Makefile. However, make gives me a lot of compilation errors similar to this:
----------------------------------------------------------------------------------------
In file included from ./fopen_unlocked.c:76:
/usr/include/stdio_ext.h:46:15: error: old-style parameter declarations in prototyped function definition
46 | extern size_t __fbufsize (FILE *__fp) __THROW;
| ^~~~~~~~~~
./fopen_unlocked.c:129: error: expected ‘{’ at end of input
129 | }
|
./fopen_unlocked.c:129: warning: control reaches end of non-void function [-Wreturn-type]
129 | }
------------------------------------------------------------------------------------
It is unthinkable that those source files are wrong, so obviously I am missing something. Any help on this will be appreciated.