[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

I can't compile kernel with Debian 6.0.4(squeeze) since gold.h



HI

I'm newbie on Debian .
I install Debian 6.0.4(squeeze) on Dell E6410 .
I just compile kernel as following step bu met the issue .

1. aptitude install fakeroot kernel-package linux-source-2.6
2. cd /usr/src/linux-source-2.6.32
3. copy /boot/config-2.6.32-5-686 to /usr/src/linux-source-2.6.32/.config
4. fakeroot make-kpkg --initrd --revision=peter1.0 kernel_image

WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
ld: internal error in convert_types, at ../../gold/gold.h:294
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-source-2.6.32'
make: *** [debian/stamp/build/kernel] Error 2

5. dpkg -l binutils-gold
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                  Version               Description
+++-=====================-=====================-==========================================================
ii  binutils-gold         2.20.1-16             The (experimental) GNU
gold linker utility


Please help me to solve this issue .


Best Regards .
Peter Meng
mengsanshui@gmail.com


Reply to: