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

Lamprecht, Joerg joerg.lamprecht at thermofisher.com
Fri Aug 2 15:39:19 CEST 2013


Hello Henrik,

I'm also able to compile the Nut/OS without any problems, but are you also able to compile the sample projects in the nutapp folder?


Jörg




-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de [mailto:en-nut-discussion-bounces at egnite.de] Im Auftrag von Henrik Maier
Gesendet: Freitag, 2. August 2013 13:36
An: Ethernut User Chat (English)
Betreff: Re: [En-Nut-Discussion] nutos conf stdint.h missing

On my system I have both WinAVR-20060421 and WinAVR-20100110 installed and I just tried to compile a fresh Nut/OS 5.1/Ethernut21 for WinAVR-20100110 without any problems.

Make sure you have Tools/Toolpath set correctly in the Configurator. I have:

 
c:\ethernut-5.1\nut\tools\win32;c:\winavr-20100110\bin;c:\winavr-20100110\utils\bin

Otherwise I suggest to re-install the WinAVR toolchain. Something seems to be broken.

Cheers,

Henrik

On 2/08/2013 8:42 PM, Lamprecht, Joerg wrote:
> 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?
>
> Jörg
>
>
> -----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
>
> c:/winavr-20100110/lib/gcc/../../avr/include
>
> 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
> contents:
>
> #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.?
>
> Regards,
>
> Harald
>
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
> _______________________________________________
> http://lists.egnite.de/mailman/listinfo/en-nut-discussion
>

_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion


More information about the En-Nut-Discussion mailing list