kernel compilation scripts error

Hi all,
I have merge the code of an 2.6.39 to 2.6.34
when i try to generate .config by using defconfig file.
it gives error like

scripts/kconfig/conf: invalid option – ‘-’
See README for usage info
make[1]: *** [picoxcell_defconfig] Error 1
make: *** [picoxcell_defconfig] Error 2

i do not have any idea abt this kind of error
can any one help me from this situation.

Thanks
prasad