[En-Nut-Discussion] ENOENT missing

Vesa Jääskeläinen chaac at nic.fi
Thu Mar 24 12:33:09 CET 2005


PR wrote:
> Hello,
> 
> I wonder if anybody else came across this compilation problem:
> 
> ...
> make[1]: Entering directory `/home/piotr/ethernut/ethernut-3.9/nut/fs'
> avr-gcc -c -mmcu=atmega128 -Os -Wall -Werror -Wstrict-prototypes -Wa,-
> ahlms=pathops.lst -D__HARVARD_ARCH__ -I /usr/include/avr  -I../include
> pathops.c -o pathops.o
> pathops.c: In function `PathOperation':
> pathops.c:86: error: `ENOENT' undeclared (first use in this function)
> pathops.c:86: error: (Each undeclared identifier is reported only once
> pathops.c:86: error: for each function it appears in.)
> ...
> 
> Any suggestions?

You have wrong order of NutOS's includes and avr-gcc's. NutOS's includes 
must come first.

Thanks,
Vesa Jääskeläinen



More information about the En-Nut-Discussion mailing list