Error when trying to flash grbl onto arduino

Hi everyone, I've just bought an Arduino uno and cnc shield, I've connected them together along with the stepper drivers but then when I come to flash grbl onto the arduino it gives me an error stating the following:

Arduino: 1.0.6 (Windows XP), Board: "Arduino Uno"
C:\Program Files\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files\Arduino\hardware\arduino\cores\arduino -IC:\Program Files\Arduino\hardware\arduino\variants\standard -IC:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl C:\DOCUME~1\craig\LOCALS~1\Temp\build6110029153850427383.tmp\sketch_jan01a.cpp -o C:\DOCUME~1\craig\LOCALS~1\Temp\build6110029153850427383.tmp\sketch_jan01a.cpp.o 

In file included from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:43,
                 from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/config.h:30,
                 from sketch_jan01a.ino:1:
C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/nuts_bolts.h:25:1: warning: "false" redefined
In file included from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:39,
                 from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/config.h:30,
                 from sketch_jan01a.ino:1:
c:\program files\arduino\hardware\tools\avr\bin\../lib/gcc/avr/4.3.2/include/stdbool.h:45:1: warning: this is the location of the previous definition
In file included from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:43,
                 from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/config.h:30,
                 from sketch_jan01a.ino:1:
C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/nuts_bolts.h:26:1: warning: "true" redefined
In file included from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:39,
                 from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/config.h:30,
                 from sketch_jan01a.ino:1:
c:\program files\arduino\hardware\tools\avr\bin\../lib/gcc/avr/4.3.2/include/stdbool.h:46:1: warning: this is the location of the previous definition
In file included from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/config.h:30,
                 from sketch_jan01a.ino:1:
C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:68:4: error: #error "Required HOMING_CYCLE_0 not defined."
C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:108:4: error: #error "WCO refresh must be greater than one."
C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:111:4: error: #error "Override refresh must be greater than zero."
In file included from sketch_jan01a.ino:25:
C:\Program Files\Arduino\hardware\arduino\cores\arduino/Arduino.h:44:1: warning: "true" redefined
In file included from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:43,
                 from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/config.h:30,
                 from sketch_jan01a.ino:1:
C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/nuts_bolts.h:26:1: warning: this is the location of the previous definition
In file included from sketch_jan01a.ino:25:
C:\Program Files\Arduino\hardware\arduino\cores\arduino/Arduino.h:45:1: warning: "false" redefined
In file included from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:43,
                 from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/config.h:30,
                 from sketch_jan01a.ino:1:
C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/nuts_bolts.h:25:1: warning: this is the location of the previous definition
In file included from sketch_jan01a.ino:25:
C:\Program Files\Arduino\hardware\arduino\cores\arduino/Arduino.h:83:1: warning: "min" redefined
In file included from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:43,
                 from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/config.h:30,
                 from sketch_jan01a.ino:1:
C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/nuts_bolts.h:57:1: warning: this is the location of the previous definition
In file included from sketch_jan01a.ino:25:
C:\Program Files\Arduino\hardware\arduino\cores\arduino/Arduino.h:84:1: warning: "max" redefined
In file included from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:43,
                 from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/config.h:30,
                 from sketch_jan01a.ino:1:
C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/nuts_bolts.h:56:1: warning: this is the location of the previous definition
In file included from sketch_jan01a.ino:25:
C:\Program Files\Arduino\hardware\arduino\cores\arduino/Arduino.h:110:1: warning: "bit" redefined
In file included from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/grbl.h:43,
                 from C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/config.h:30,
                 from sketch_jan01a.ino:1:
C:\Documents and Settings\craig\My Documents\Arduino\libraries\grbl/nuts_bolts.h:61:1: warning: this is the location of the previous definition

I was wondering if anybody could decipher that and let me know how to fix it please?

Thanks,

Craig

it is not an error, except

:68:4: error: #error "Required HOMING_CYCLE_0 not defined."
:108:4: error: #error "WCO refresh must be greater than one."
:111:4: error: #error "Override refresh must be greater than zero."

did you changed files of firmware?

No I haven't changed anything. I just unzipped the grbl folder then followed steps to upload to arduino library, then tried flashing it but get that error

where you get it?

I got it from github, the link below:

try version 0.9, hopefully it supporting antique IDE
OR upload FW via other PC

That's brilliant, thank you so much for your help.

I am having this message when try to upload grbl.

c:\Users\suzan\Downloads\grbl\libraries\grbl/grbl.h:29:10: fatal error: avr/io.h: No such file or directory
#include <avr/io.h>
^~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

Library installs but get this message when trying to compile or upload

I’m trying to upload the grbl to Arduino uno r4. I’ve tried installing all Arduino and grbl and starting over to no avail. Please help

I will be using this setup to run a CNC router table.

Arduino 2.3.4 is the software I downloaded.

Uno R4 is a different beast than the Uno R3 that grbl was developed for. Maybe there's a grblHAL · GitHub for the R4.

Ordered an R3. Thank you for the input. We’ll see how that works out.

Bought the R3 and it worked. Thank you for the insight.