error while compiling kernel 2.6.36 in slackware 13.1 -current
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
CC kernel/configs.o
LD kernel/built-in.o
LD drivers/ata/built-in.o
LD drivers/built-in.o
LD vmlinux.o
MODPOST vmlinux.o WARNING: modpost: Found 3 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
drivers/built-in.o: In function `init_module':
(.text+0x3d4b42): undefined reference to `lirc_register_driver'
drivers/built-in.o: In function `cleanup_module':
(.text+0x3d4bce): undefined reference to `lirc_unregister_driver'
make: *** [.tmp_vmlinux1] Error 1[/CODE]
Sometimes reading through the output message from make gives clues as to the problem. I suggest you take the advice of the warning above and try again.
Sometimes reading through the output message from make gives clues as to the problem. I suggest you take the advice of the warning above and try again.
ok. after i run this :
make CONFIG_DEBUG_SECTION_MISMATCH=y
the error is :
Code:
WARNING: vmlinux.o(.data+0x4c4a0): Section mismatch in reference from the variable isp1362_driver to the function .init.text:isp1362_probe()
The variable isp1362_driver references
the function __init isp1362_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x529d0): Section mismatch in reference from the variable intel_mid_dma_pci to the function .devinit.text:intel_mid_dma_probe()
The variable intel_mid_dma_pci references
the function __devinit intel_mid_dma_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
WARNING: vmlinux.o(.data+0x529d4): Section mismatch in reference from the variable intel_mid_dma_pci to the function .devexit.text:intel_mid_dma_remove()
The variable intel_mid_dma_pci references
the function __devexit intel_mid_dma_remove()
If the reference is valid then annotate the
variable with __exit* (see linux/init.h) or name the variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
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 `init_module':
(.text+0x3ec2a2): undefined reference to `lirc_register_driver'
drivers/built-in.o: In function `cleanup_module':
(.text+0x3ec32e): undefined reference to `lirc_unregister_driver'
make: *** [.tmp_vmlinux1] Error 1
I tried to compile 2.6.35.13 kernel as given in this tutorial but um getting an error like this
Code:
AS arch/x86/lib/semaphore_32.o
CC arch/x86/lib/string_32.o
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 46 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
arch/x86/built-in.o: In function `sys_call_table':
(.rodata+0x728): undefined reference to `sys_strcpy'
make: *** [.tmp_vmlinux1] Error 1
You are reviving a 2-year dead thread in the Slackware forum for no reason. From your signature it seems you are not even using Slackware. Open your own thread in your own distro's forum instead of violating the dead (I mean, violating LQ etiquette).
You are reviving a 2-year dead thread in the Slackware forum for no reason. From your signature it seems you are not even using Slackware. Open your own thread in your own distro's forum instead of violating the dead (I mean, violating LQ etiquette).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.