problem while burning bootloader

Hello,
I am trying to burn bootloader on atmega328 using arduino uno.
I have used method shown on:http://arduino.cc/en/Tutorial/ArduinoToBreadboard

But getting error as :avrdude: stk500_getsync(): not in sync: resp=0x00

is it on the right port?
That has been my problem when I got that message.

There are some other possibilities here:
http://www.ladyada.net/learn/arduino/help.html

Try this guide to see what's going on with the chip (I connected pin 9 from the Arduino to pin 9 on the breadboarded chip as opposed to using a crystal):

I have checked my connection and port.Both are correct ut still getting same error.