cant compile a thing keep getting windows error and then "error compiling"

please help.

here is copy of error message Arduino: 1.6.5 (Windows XP), Board: "Arduino Uno"

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx computer files and folders etc... if needed will add

collect2.exe: error: ld returned 5 exit status Error compiling.

Have you checked to see if it is the current program, or, the computer setup?

Can you compile “blink”?

If current program, break it down to smaller sections to find where the error is.

Weedpharma

its now letting me compile "blink" the only thin I did was reboot the system and clear out old temp files from arduino folder. I try to compile the beginnings of the PIR sketch and I get the error. i guess ill look over the code some more and see if I find a mistake. thanks for helping out weedpharma

silverdrgn: please help.

here is copy of error message Arduino: 1.6.5 (Windows XP), Board: "Arduino Uno"

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx computer files and folders etc... if needed will add

collect2.exe: error: ld returned 5 exit status Error compiling.

you should use image tag/quote tag while pasting error messgae. please share us code with code tag & if you using additional library, share link from where you being downloaded.