2.6.33-git6 problem
before, these errors didn't occur
....
CC arch/x86/lib/strstr_32.o AS arch/x86/lib/thunk_32.o CC arch/x86/lib/usercopy_32.o AR arch/x86/lib/lib.a LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 9 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1
drivers/built-in.o: In function `compal_rfkill_poll':
compal-laptop.c:(.text+0x6317cf): undefined reference to rfkill_set_hw_state' drivers/built-in.o: In function compal_init':
compal-laptop.c:(.init.text+0x3967d): undefined reference to rfkill_alloc' compal-laptop.c:(.init.text+0x3968d): undefined reference to rfkill_register' compal-laptop.c:(.init.text+0x396b2): undefined reference to rfkill_alloc' compal-laptop.c:(.init.text+0x396c7): undefined reference to rfkill_register' compal-laptop.c:(.init.text+0x396d7): undefined reference to rfkill_destroy' compal-laptop.c:(.init.text+0x396e1): undefined reference to rfkill_unregister' compal-laptop.c:(.init.text+0x396eb): undefined reference to rfkill_destroy' drivers/built-in.o: In function compal_cleanup':
compal-laptop.c:(.exit.text+0x6b4b): undefined reference to rfkill_unregister' compal-laptop.c:(.exit.text+0x6b55): undefined reference to rfkill_destroy' compal-laptop.c:(.exit.text+0x6b5f): undefined reference to rfkill_unregister' compal-laptop.c:(.exit.text+0x6b69): undefined reference to rfkill_destroy'
make: [.tmp_vmlinux1] Error 1 (ignored)
KSYM .tmp_kallsyms1.S
nm: '.tmp_vmlinux1': No such file
No valid symbol.
make: [.tmp_kallsyms1.S] Error 1 (ignored)
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2drivers/built-in.o: In function `compal_rfkill_poll':
compal-laptop.c:(.text+0x6317cf): undefined reference to rfkill_set_hw_state' drivers/built-in.o: In function compal_init':
compal-laptop.c:(.init.text+0x3967d): undefined reference to rfkill_alloc' compal-laptop.c:(.init.text+0x3968d): undefined reference to rfkill_register' compal-laptop.c:(.init.text+0x396b2): undefined reference to rfkill_alloc' compal-laptop.c:(.init.text+0x396c7): undefined reference to rfkill_register' compal-laptop.c:(.init.text+0x396d7): undefined reference to rfkill_destroy' compal-laptop.c:(.init.text+0x396e1): undefined reference to rfkill_unregister' compal-laptop.c:(.init.text+0x396eb): undefined reference to rfkill_destroy' drivers/built-in.o: In function compal_cleanup':
compal-laptop.c:(.exit.text+0x6b4b): undefined reference to rfkill_unregister' compal-laptop.c:(.exit.text+0x6b55): undefined reference to rfkill_destroy' compal-laptop.c:(.exit.text+0x6b5f): undefined reference to rfkill_unregister' compal-laptop.c:(.exit.text+0x6b69): undefined reference to rfkill_destroy'
make: [.tmp_vmlinux2] Error 1 (ignored)
KSYM .tmp_kallsyms2.S
nm: '.tmp_vmlinux2': No such file
No valid symbol.
make: [.tmp_kallsyms2.S] Error 1 (ignored)
AS .tmp_kallsyms2.o
LD vmlinuxdrivers/built-in.o: In function `compal_rfkill_poll':
compal-laptop.c:(.text+0x6317cf): undefined reference to rfkill_set_hw_state' drivers/built-in.o: In function compal_init':
compal-laptop.c:(.init.text+0x3967d): undefined reference to rfkill_alloc' compal-laptop.c:(.init.text+0x3968d): undefined reference to rfkill_register' compal-laptop.c:(.init.text+0x396b2): undefined reference to rfkill_alloc' compal-laptop.c:(.init.text+0x396c7): undefined reference to rfkill_register' compal-laptop.c:(.init.text+0x396d7): undefined reference to rfkill_destroy' compal-laptop.c:(.init.text+0x396e1): undefined reference to rfkill_unregister' compal-laptop.c:(.init.text+0x396eb): undefined reference to rfkill_destroy' drivers/built-in.o: In function compal_cleanup':
compal-laptop.c:(.exit.text+0x6b4b): undefined reference to rfkill_unregister' compal-laptop.c:(.exit.text+0x6b55): undefined reference to rfkill_destroy' compal-laptop.c:(.exit.text+0x6b5f): undefined reference to rfkill_unregister' compal-laptop.c:(.exit.text+0x6b69): undefined reference to rfkill_destroy'
make: [vmlinux] Error 1 (ignored)
SYSMAP System.map
nm: 'vmlinux': No such file
make: [vmlinux] Error 1 (ignored)
SYSMAP .tmp_System.map
nm: '.tmp_vmlinux2': No such file
make: [vmlinux] Error 1 (ignored)
CC arch/x86/boot/a20.o AS arch/x86/boot/bioscall.o CC arch/x86/boot/cmdline.o AS arch/x86/boot/copy.o HOSTCC arch/x86/boot/mkcpustr CPUSTR arch/x86/boot/cpustr.h CC arch/x86/boot/cpu.o CC arch/x86/boot/cpucheck.o CC arch/x86/boot/edd.o make[1]: *** No rule to make target `vmlinux', needed by `arch/x86/boot/voffset.h'. LDS arch/x86/boot/compressed/vmlinux.lds AS arch/x86/boot/compressed/head_32.o CC arch/x86/boot/compressed/misc.o
make[2]: *** No rule to make target vmlinux', needed by arch/x86/boot/compressed/vmlinux.bin'.
HOSTCC arch/x86/boot/compressed/mkpiggy
make[2]: Target `arch/x86/boot/compressed/vmlinux' not remade because of errors. make[1]: [arch/x86/boot/compressed/vmlinux] Error 2 (ignored)
ZOFFSET arch/x86/boot/zoffset.h
nm: 'arch/x86/boot/compressed/vmlinux': No such file
CC arch/x86/boot/main.o CC arch/x86/boot/mca.o CC arch/x86/boot/memory.o CC arch/x86/boot/pm.o AS arch/x86/boot/pmjump.o CC arch/x86/boot/printf.o CC arch/x86/boot/regs.o CC arch/x86/boot/string.o CC arch/x86/boot/tty.o CC arch/x86/boot/video.o CC arch/x86/boot/video-mode.o CC arch/x86/boot/version.o CC arch/x86/boot/apm.o CC arch/x86/boot/video-vga.o CC arch/x86/boot/video-vesa.o CC arch/x86/boot/video-bios.o
OBJCOPY arch/x86/boot/vmlinux.bin
objcopy: 'arch/x86/boot/compressed/vmlinux': No such file make[1]: [arch/x86/boot/vmlinux.bin] Error 1 (ignored)
HOSTCC arch/x86/boot/tools/build
make[1]: Target `arch/x86/boot/bzImage' not remade because of errors.
make: [bzImage] Error 2 (ignored)
Building modules, stage 2.
MODPOST 2169 modules
WARNING: modpost: Found 10 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
CC arch/x86/crypto/crc32c-intel.mod.o LD [M] arch/x86/crypto/crc32c-intel.ko CC arch/x86/crypto/salsa20-i586.mod.o LD [M] arch/x86/crypto/salsa20-i586.ko CC arch/x86/kvm/kvm-amd.mod.o LD [M] arch/x86/kvm/kvm-amd.ko CC arch/x86/kvm/kvm-intel.mod.o LD [M] arch/x86/kvm/kvm-intel.ko CC arch/x86/kvm/kvm.mod.o LD [M] arch/x86/kvm/kvm.ko CC crypto/ccm.mod.o LD [M] crypto/ccm.ko CC crypto/cryptd.mod.o LD [M] crypto/cryptd.ko CC crypto/ctr.mod.o
....
Re: 2.6.33-git6 problem (compal-laptop)
Quoted 68 lines · On 03/01/10 04:21, [email protected] wrote:
before, these errors didn't occur
....CC arch/x86/lib/strstr_32.o AS arch/x86/lib/thunk_32.o CC arch/x86/lib/usercopy_32.o AR arch/x86/lib/lib.a LD vmlinux.oMODPOST vmlinux.o
WARNING: modpost: Found 9 section mismatch(es).
To see full details build your kernel with:
'makeCONFIG_DEBUG_SECTION_MISMATCH=y'GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1
drivers/built-in.o: In function `compal_rfkill_poll':
compal-laptop.c:(.text+0x6317cf): undefined reference torfkill_set_hw_state' drivers/built-in.o: In functioncompal_init':
compal-laptop.c:(.init.text+0x3967d): undefined reference torfkill_alloc' compal-laptop.c:(.init.text+0x3968d): undefined reference torfkill_register' compal-laptop.c:(.init.text+0x396b2): undefined reference torfkill_alloc' compal-laptop.c:(.init.text+0x396c7): undefined reference torfkill_register' compal-laptop.c:(.init.text+0x396d7): undefined reference torfkill_destroy' compal-laptop.c:(.init.text+0x396e1): undefined reference torfkill_unregister' compal-laptop.c:(.init.text+0x396eb): undefined reference torfkill_destroy' drivers/built-in.o: In functioncompal_cleanup':
compal-laptop.c:(.exit.text+0x6b4b): undefined reference torfkill_unregister' compal-laptop.c:(.exit.text+0x6b55): undefined reference torfkill_destroy' compal-laptop.c:(.exit.text+0x6b5f): undefined reference torfkill_unregister' compal-laptop.c:(.exit.text+0x6b69): undefined reference torfkill_destroy'
make: [.tmp_vmlinux1] Error 1 (ignored)
KSYM.tmp_kallsyms1.S
nm: '.tmp_vmlinux1': No such file
No valid symbol.
make: [.tmp_kallsyms1.S] Error 1 (ignored)
AS .tmp_kallsyms1.o
LD .tmp_vmlinux2drivers/built-in.o: In function `compal_rfkill_poll':
compal-laptop.c:(.text+0x6317cf): undefined reference torfkill_set_hw_state' drivers/built-in.o: In functioncompal_init':
compal-laptop.c:(.init.text+0x3967d): undefined reference torfkill_alloc' compal-laptop.c:(.init.text+0x3968d): undefined reference torfkill_register' compal-laptop.c:(.init.text+0x396b2): undefined reference torfkill_alloc' compal-laptop.c:(.init.text+0x396c7): undefined reference torfkill_register' compal-laptop.c:(.init.text+0x396d7): undefined reference torfkill_destroy' compal-laptop.c:(.init.text+0x396e1): undefined reference torfkill_unregister' compal-laptop.c:(.init.text+0x396eb): undefined reference torfkill_destroy' drivers/built-in.o: In functioncompal_cleanup':
compal-laptop.c:(.exit.text+0x6b4b): undefined reference torfkill_unregister' compal-laptop.c:(.exit.text+0x6b55): undefined reference torfkill_destroy' compal-laptop.c:(.exit.text+0x6b5f): undefined reference torfkill_unregister' compal-laptop.c:(.exit.text+0x6b69): undefined reference torfkill_destroy'
make: [.tmp_vmlinux2] Error 1 (ignored)
KSYM.tmp_kallsyms2.S
nm: '.tmp_vmlinux2': No such file
No valid symbol.
make: [.tmp_kallsyms2.S] Error 1 (ignored)
AS .tmp_kallsyms2.o
LD vmlinuxdrivers/built-in.o: In function `compal_rfkill_poll':
compal-laptop.c:(.text+0x6317cf): undefined reference torfkill_set_hw_state' drivers/built-in.o: In functioncompal_init':
compal-laptop.c:(.init.text+0x3967d): undefined reference torfkill_alloc' compal-laptop.c:(.init.text+0x3968d): undefined reference torfkill_register' compal-laptop.c:(.init.text+0x396b2): undefined reference torfkill_alloc' compal-laptop.c:(.init.text+0x396c7): undefined reference torfkill_register'
Quoted 8 lines
compal-laptop.c:(.init.text+0x396d7): undefined reference to
rfkill_destroy' compal-laptop.c:(.init.text+0x396e1): undefined reference torfkill_unregister' compal-laptop.c:(.init.text+0x396eb): undefined reference torfkill_destroy' drivers/built-in.o: In functioncompal_cleanup':
compal-laptop.c:(.exit.text+0x6b4b): undefined reference torfkill_unregister' compal-laptop.c:(.exit.text+0x6b55): undefined reference torfkill_destroy' compal-laptop.c:(.exit.text+0x6b5f): undefined reference torfkill_unregister' compal-laptop.c:(.exit.text+0x6b69): undefined reference torfkill_destroy'
Ingo posted a patch for this. See http://lkml.org/lkml/2010/3/2/153
Signature · 1 line
~Randy