[En-Nut-Discussion] Parse error when compiling Nut/OS

Harald Kipp harald.kipp at egnite.de
Wed Nov 30 12:07:40 CET 2005


Gerwin,

For some reason the wrong include path is used.
Nut/OS comes with its own stdlib.h.

The sample tree created by the Configurator should
contain Makedefs with
   top_blddir = c:/ethernut-3.9.9/nutbld
   INCFIRST=$(INCPRE)$(top_blddir)/include
which is used by Makerules

   %o : %c
       $(CC) -c $(CPFLAGS) $(INCFIRST) -I$(INCDIR) $(INCLAST) $< -o $@

Harald


At 11:53 30.11.2005 +0100, you wrote:

>/usr/local/lib/gcc/avr/3.4.3/../../../../avr/include/stdlib.h:394: error: 
>parse error before numeric constant




More information about the En-Nut-Discussion mailing list