Advertisement
Guest User

Kernel Compilation

a guest
Dec 4th, 2011
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.12 KB | None | 0 0
  1. clfs@lappy:/mnt/clfs/sources/linux-2.6.38.8$ make CONFIG_DEBUG_SECTION_MISMATCH=y ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- zImage modules
  2. scripts/kconfig/conf --silentoldconfig Kconfig
  3.   CHK     include/linux/version.h
  4.   CHK     include/generated/utsrelease.h
  5. make[1]: `include/generated/mach-types.h' is up to date.
  6.  CALL    scripts/checksyscalls.sh
  7.  CHK     include/generated/compile.h
  8.  GZIP    kernel/config_data.gz
  9.  IKCFG   kernel/config_data.h
  10.  CC      kernel/configs.o
  11.  LD      kernel/built-in.o
  12.  LD      drivers/char/built-in.o
  13.  LD      drivers/built-in.o
  14. WARNING: drivers/built-in.o(.text+0x4d05d4): Section mismatch in reference from the function add_mcs() to the function .init.text:platform_device_register_resndata()
  15. The function add_mcs() references
  16. the function __init platform_device_register_resndata().
  17. This is often because add_mcs lacks a __init
  18. annotation or the annotation of platform_device_register_resndata is wrong.
  19.  
  20. WARNING: drivers/built-in.o(.devinit.text+0xf6f4): Section mismatch in reference from the function sst25l_match_device() to the (unknown reference) .init.data:(unknown)
  21. The function __devinit sst25l_match_device() references
  22. a (unknown reference) __initdata (unknown).
  23. If (unknown) is only used by sst25l_match_device then
  24. annotate (unknown) with a matching annotation.
  25.  
  26. WARNING: drivers/built-in.o(.devinit.text+0x41b20): Section mismatch in reference from the function niu_new_parent.isra.122() to the function .init.text:platform_device_register_resndata()
  27. The function __devinit niu_new_parent.isra.122() references
  28. a function __init platform_device_register_resndata().
  29. If platform_device_register_resndata is only used by niu_new_parent.isra.122 then
  30. annotate platform_device_register_resndata with a matching annotation.
  31.  
  32. WARNING: drivers/built-in.o(.data+0xe5cc): Section mismatch in reference from the variable ioc4_load_modules_work to the function .devinit.text:ioc4_load_modules()
  33. The variable ioc4_load_modules_work references
  34. the function __devinit ioc4_load_modules()
  35. If the reference is valid then annotate the
  36. variable with __init* or __refdata (see linux/init.h) or name the variable:
  37. *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
  38.  
  39.  LD      vmlinux.o
  40.  MODPOST vmlinux.o
  41. WARNING: vmlinux.o(.text+0xa0edbc): Section mismatch in reference from the function add_mcs() to the function .init.text:platform_device_register_resndata()
  42. The function add_mcs() references
  43. the function __init platform_device_register_resndata().
  44. This is often because add_mcs lacks a __init
  45. annotation or the annotation of platform_device_register_resndata is wrong.
  46.  
  47. WARNING: vmlinux.o(.devinit.text+0xfadc): Section mismatch in reference from the function sst25l_match_device() to the (unknown reference) .init.data:(unknown)
  48. The function __devinit sst25l_match_device() references
  49. a (unknown reference) __initdata (unknown).
  50. If (unknown) is only used by sst25l_match_device then
  51. annotate (unknown) with a matching annotation.
  52.  
  53. WARNING: vmlinux.o(.devinit.text+0x41f08): Section mismatch in reference from the function niu_new_parent.isra.122() to the function .init.text:platform_device_register_resndata()
  54. The function __devinit niu_new_parent.isra.122() references
  55. a function __init platform_device_register_resndata().
  56. If platform_device_register_resndata is only used by niu_new_parent.isra.122 then
  57. annotate platform_device_register_resndata with a matching annotation.
  58.  
  59. WARNING: vmlinux.o(.data+0x340bc): Section mismatch in reference from the variable ioc4_load_modules_work to the function .devinit.text:ioc4_load_modules()
  60. The variable ioc4_load_modules_work references
  61. the function __devinit ioc4_load_modules()
  62. If the reference is valid then annotate the
  63. variable with __init* or __refdata (see linux/init.h) or name the variable:
  64. *driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,
  65.  
  66.  GEN     .version
  67.  CHK     include/generated/compile.h
  68.  UPD     include/generated/compile.h
  69.  CC      init/version.o
  70.  LD      init/built-in.o
  71.  LD      .tmp_vmlinux1
  72. drivers/built-in.o: In function `gem_rxmac_reset':
  73. clkdev.c:(.text+0x212238): undefined reference to `__bad_udelay'
  74. drivers/built-in.o: In function `divide.part.4':
  75. clkdev.c:(.text.unlikely+0x7214): undefined reference to `__udivdi3'
  76. clkdev.c:(.text.unlikely+0x7244): undefined reference to `__umoddi3'
  77. clkdev.c:(.text.unlikely+0x7294): undefined reference to `__udivdi3'
  78. clkdev.c:(.text.unlikely+0x73a0): undefined reference to `__umoddi3'
  79. clkdev.c:(.text.unlikely+0x73bc): undefined reference to `__udivdi3'
  80. clkdev.c:(.text.unlikely+0x73d8): undefined reference to `__udivdi3'
  81. clkdev.c:(.text.unlikely+0x7410): undefined reference to `__udivdi3'
  82. clkdev.c:(.text.unlikely+0x742c): undefined reference to `__udivdi3'
  83. clkdev.c:(.text.unlikely+0x744c): undefined reference to `__udivdi3'
  84. drivers/built-in.o:clkdev.c:(.text.unlikely+0x74ac): more undefined references to `__udivdi3' follow
  85. drivers/built-in.o: In function `he_start':
  86. clkdev.c:(.devinit.text+0x4ae8c): undefined reference to `__bad_udelay'
  87. make: *** [.tmp_vmlinux1] Error 1
  88. clfs@lappy:/mnt/clfs/sources/linux-2.6.38.8$
  89.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement