Erreur lors de la compilation du noyau

Erreur lors de la compilation du noyau - Installation - Linux et OS Alternatifs

Marsh Posté le 08-10-2007 à 00:13:36    

Bonjour,
 
Cette soirée j'ai décidé malgré mes faibles connaissances à compiler et installer un nouveau noyau pour mon portable. Je travaille sous Uuntu et c'est la première fois que je faisais cette opération et je me suis entouré de tout les tutoriaux possibles. Après beaucoup de temps passé à bidouiller mon terminal, j'avais enfin mon kernel 2.6.22.9 prêt. Beaucoup d'heure plus tard et d'humeur combattive après une configuration laborieuse (make menuconfig), j'étais enfin prêt à compiler le noyau...Et la c'est le drame...En moins de 30 secondes, j'ai l'équivalent de 38 pages word d'erreur, et je sature @_@. Voici ce que m'affiche mon terminal après avoir lancé la commande make bzImage (comme c'est très long, j'ai supprimé le milieu...Si vous avez besoin de précisions "coupés au montage" je les fournirai).
 
D'avance merci à ceux qui tenteront de m'aider, ca me dépasse tout ca ^^'
 

Code :
  1. CHK     include/linux/version.h
  2.   CHK     include/linux/utsrelease.h
  3.   CC      arch/i386/kernel/asm-offsets.s
  4. In file included from include/asm/processor.h:11,
  5.                  from include/asm/atomic.h:5,
  6.                  from include/linux/crypto.h:20,
  7.                  from arch/i386/kernel/asm-offsets.c:7:
  8. include/asm/math_emu.h:6: attention : «struct _fpstate" declared inside parameter list
  9. include/asm/math_emu.h:6: attention : visible uniquement depuis cette définition ou déclaration, ce qui n'est probablement pas ce que vous désirez
  10. include/asm/math_emu.h:7: attention : «struct _fpstate" declared inside parameter list
  11. In file included from include/asm/alternative.h:6,
  12.                  from include/asm/bitops.h:9,
  13.                  from include/linux/bitops.h:9,
  14.                  from include/asm/cpufeature.h:11,
  15.                  from include/asm/processor.h:16,
  16.                  from include/asm/atomic.h:5,
  17.                  from include/linux/crypto.h:20,
  18.                  from arch/i386/kernel/asm-offsets.c:7:
  19. include/linux/types.h:10: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «__kernel_dev_t"
  20. include/linux/types.h:13: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «dev_t"
  21. include/linux/types.h:14: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «ino_t"
  22. include/linux/types.h:15: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «mode_t"
  23. include/linux/types.h:16: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «nlink_t"
  24. include/linux/types.h:17: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «off_t"
  25. include/linux/types.h:18: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «pid_t"
  26. include/linux/types.h:19: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «daddr_t"
  27. include/linux/types.h:21: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «suseconds_t"
  28. include/linux/types.h:22: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «timer_t"
  29. include/linux/types.h:23: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «clockid_t"
  30. include/linux/types.h:26: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «uid_t"
  31. include/linux/types.h:27: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «gid_t"
  32. include/linux/types.h:30: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «loff_t"
  33. include/linux/types.h:39: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «size_t"
  34. include/linux/types.h:44: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «ssize_t"
  35. include/linux/types.h:49: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «ptrdiff_t"
  36. include/linux/types.h:54: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «time_t"
  37. include/linux/types.h:59: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «clock_t"
  38. include/linux/types.h:64: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «caddr_t"
  39. include/linux/types.h:82: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «u_int8_t"
  40. include/linux/types.h:83: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «int8_t"
  41. include/linux/types.h:84: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «u_int16_t"
  42. include/linux/types.h:85: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «int16_t"
  43. include/linux/types.h:86: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «u_int32_t"
  44. include/linux/types.h:87: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «int32_t"
  45. include/linux/types.h:91: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «uint8_t"
  46. include/linux/types.h:92: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «uint16_t"
  47. include/linux/types.h:93: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «uint32_t"
  48. include/linux/types.h:96: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «uint64_t"
  49. include/linux/types.h:97: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «u_int64_t"
  50. include/linux/types.h:98: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «int64_t"
  51. include/linux/types.h:153: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «__le16"
  52. include/linux/types.h:154: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «__be16"
  53. include/linux/types.h:155: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «__le32"
  54. include/linux/types.h:156: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «__be32"
  55. include/linux/types.h:158: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «__le64"
  56. include/linux/types.h:159: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «__be64"
  57. include/linux/types.h:161: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «__sum16"
  58. include/linux/types.h:162: erreur: expected «=", «,", «;", «asm" or «__attribute__" before «__wsum"
  59. include/linux/types.h:166: erreur: expected specifier-qualifier-list before «__kernel_daddr_t"
  60. In file included from include/asm/bitops.h:9,
  61.                  from include/linux/bitops.h:9,
  62.                  from include/asm/cpufeature.h:11,
  63.                  from include/asm/processor.h:16,
  64.                  from include/asm/atomic.h:5,
  65.                  from include/linux/crypto.h:20,
  66.                  from arch/i386/kernel/asm-offsets.c:7:
  67. include/asm/alternative.h:9: erreur: expected specifier-qualifier-list before «u8"
  68. Dans le fichier inclus à partir de include/asm/bitops.h:366,
  69. [...]
  70. In file included from arch/i386/kernel/asm-offsets.c:11:
  71. include/linux/suspend.h: In function «hibernate":
  72. include/linux/suspend.h:79: erreur: «ENOSYS" undeclared (first use in this function)
  73. In file included from arch/i386/kernel/asm-offsets.c:13:
  74. arch/i386/kernel/sigframe.h: Hors de toute fonction :
  75. arch/i386/kernel/sigframe.h:5: erreur: field «sc" has incomplete type
  76. arch/i386/kernel/sigframe.h:6: erreur: field «fpstate" has incomplete type
  77. arch/i386/kernel/sigframe.h:7: erreur: «_NSIG_WORDS" undeclared here (not in a function)
  78. arch/i386/kernel/sigframe.h:17: erreur: field «info" has incomplete type
  79. arch/i386/kernel/sigframe.h:18: erreur: field «uc" has incomplete type
  80. arch/i386/kernel/sigframe.h:19: erreur: field «fpstate" has incomplete type
  81. arch/i386/kernel/asm-offsets.c: In function «foo":
  82. arch/i386/kernel/asm-offsets.c:33: erreur: expected expression before «struct"
  83. arch/i386/kernel/asm-offsets.c:34: erreur: expected expression before «struct"
  84. arch/i386/kernel/asm-offsets.c:35: erreur: expected expression before «struct"
  85. arch/i386/kernel/asm-offsets.c:36: erreur: expected expression before «struct"
  86. arch/i386/kernel/asm-offsets.c:37: erreur: expected expression before «struct"
  87. arch/i386/kernel/asm-offsets.c:38: erreur: expected expression before «struct"
  88. arch/i386/kernel/asm-offsets.c:39: erreur: expected expression before «struct"
  89. arch/i386/kernel/asm-offsets.c:40: erreur: expected expression before «struct"
  90. arch/i386/kernel/asm-offsets.c:41: erreur: expected expression before «struct"
  91. arch/i386/kernel/asm-offsets.c:44: erreur: expected expression before «struct"
  92. arch/i386/kernel/asm-offsets.c:45: erreur: expected expression before «struct"
  93. arch/i386/kernel/asm-offsets.c:46: erreur: expected expression before «struct"
  94. arch/i386/kernel/asm-offsets.c:47: erreur: expected expression before «struct"
  95. arch/i386/kernel/asm-offsets.c:48: erreur: expected expression before «struct"
  96. arch/i386/kernel/asm-offsets.c:49: erreur: expected expression before «struct"
  97. arch/i386/kernel/asm-offsets.c:50: erreur: expected expression before «struct"
  98. arch/i386/kernel/asm-offsets.c:51: erreur: expected expression before «struct"
  99. arch/i386/kernel/asm-offsets.c:54: erreur: expected expression before «struct"
  100. arch/i386/kernel/asm-offsets.c:55: erreur: expected expression before «struct"
  101. arch/i386/kernel/asm-offsets.c:56: erreur: expected expression before «struct"
  102. arch/i386/kernel/asm-offsets.c:57: erreur: expected expression before «struct"
  103. arch/i386/kernel/asm-offsets.c:58: erreur: expected expression before «struct"
  104. arch/i386/kernel/asm-offsets.c:59: erreur: expected expression before «struct"
  105. arch/i386/kernel/asm-offsets.c:60: erreur: expected expression before «struct"
  106. arch/i386/kernel/asm-offsets.c:61: erreur: expected expression before «struct"
  107. arch/i386/kernel/asm-offsets.c:64: erreur: expected expression before «struct"
  108. arch/i386/kernel/asm-offsets.c:65: erreur: expected expression before «struct"
  109. arch/i386/kernel/asm-offsets.c:66: erreur: expected expression before «struct"
  110. arch/i386/kernel/asm-offsets.c:69: erreur: expected expression before «struct"
  111. arch/i386/kernel/asm-offsets.c:70: erreur: expected expression before «struct"
  112. arch/i386/kernel/asm-offsets.c:71: erreur: expected expression before «struct"
  113. arch/i386/kernel/asm-offsets.c:72: erreur: expected expression before «struct"
  114. arch/i386/kernel/asm-offsets.c:73: erreur: expected expression before «struct"
  115. arch/i386/kernel/asm-offsets.c:74: erreur: expected expression before «struct"
  116. arch/i386/kernel/asm-offsets.c:75: erreur: expected expression before «struct"
  117. arch/i386/kernel/asm-offsets.c:76: erreur: expected expression before «struct"
  118. arch/i386/kernel/asm-offsets.c:77: erreur: expected expression before «struct"
  119. arch/i386/kernel/asm-offsets.c:78: erreur: expected expression before «struct"
  120. arch/i386/kernel/asm-offsets.c:79: erreur: expected expression before «struct"
  121. arch/i386/kernel/asm-offsets.c:80: erreur: expected expression before «struct"
  122. arch/i386/kernel/asm-offsets.c:81: erreur: expected expression before «struct"
  123. arch/i386/kernel/asm-offsets.c:82: erreur: expected expression before «struct"
  124. arch/i386/kernel/asm-offsets.c:83: erreur: expected expression before «struct"
  125. arch/i386/kernel/asm-offsets.c:84: erreur: expected expression before «struct"
  126. arch/i386/kernel/asm-offsets.c:87: erreur: expected expression before «struct"
  127. arch/i386/kernel/asm-offsets.c:88: erreur: expected expression before «struct"
  128. arch/i386/kernel/asm-offsets.c:91: erreur: expected expression before «struct"
  129. arch/i386/kernel/asm-offsets.c:92: erreur: expected expression before «struct"
  130. arch/i386/kernel/asm-offsets.c:93: erreur: expected expression before «struct"
  131. arch/i386/kernel/asm-offsets.c:96: erreur: expected expression before «struct"
  132. arch/i386/kernel/asm-offsets.c:100: erreur: «PAGE_SHIFT" undeclared (first use in this function)
  133. arch/i386/kernel/asm-offsets.c:102: erreur: «PTRS_PER_PMD" undeclared (first use in this function)
  134. arch/i386/kernel/asm-offsets.c:105: erreur: «VDSO_PRELINK" undeclared (first use in this function)
  135. arch/i386/kernel/asm-offsets.c:107: erreur: expected expression before «struct"
  136. make[1]: *** [arch/i386/kernel/asm-offsets.s] Erreur 1
  137. make: *** [prepare0] Erreur 2

Reply

Marsh Posté le 08-10-2007 à 00:13:36   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed