[En-Nut-Discussion] nutos conf stdint.h missing

Lamprecht, Joerg joerg.lamprecht at thermofisher.com
Fri Aug 2 12:42:35 CEST 2013

Yes, it's really an curious issue. I did try for 2 days before contacting you trying everything out, but sadly without success before contacting you.

You snippet did compile without any issue, and there is an a.out file. 

I don't think my system ist special, it's a WIN 7 Prof 64 Bit Version with latest updates, and the file system is just a usual NTFS. 

Could I use a different toolchain, something different that WIN-AVR?


-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de [mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Harald Kipp
Gesendet: Freitag, 2. August 2013 10:59
An: en-nut-discussion at egnite.de
Betreff: Re: [En-Nut-Discussion] nutos conf stdint.h missing

I'm really running out of ideas. GCC claims, that it is searching for include files in


Checking this directory with

dir c:\winavr-20100110\lib\gcc\..\..\avr\include

shows, that

10.01.2010  02:03            16.556 stdint.h

exists. But during compilation it reports

C:/ethernut-5.1/nut/include/sys/atom.h:106:20: stdint.h: No such file

How can this happen?

While trying to solve problems, it is always the best idea to go with minimized demos. So let's try without Nut/OS. Create a temporary directory, e.g. c:\tmp\gcctest.

Create a text file named main.c in this directory with the following

#include <stdint.h>
int main(void) {
  return 0;

Open a command line window, set your path with

set PATH=winavr-20100110\bin;winavr-20100110\utils\bin;%PATH%

and run

avr-gcc main.c

Is the error still there? Or does it compile now, creating a.out?

Btw. is you PC special in any way? Exotic file system, OS-version etc.?




More information about the En-Nut-Discussion mailing list