Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1141 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  P'tit pb de compilation noyeau

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

P'tit pb de compilation noyeau

n°368363
maxix
Posté le 01-12-2003 à 21:39:53  profilanswer
 

Qu'est ce qui pose pb? Debian sarge, a jour... J'ai pu compiler un noyeau avec ces sources, puis après quelques modifs dans la config je peut plus... Vous arrivez a voir quelle option pose pb avec ce log, vous?
 

Citation :


In file included from /usr/src/linux/include/net/checksum.h:33,
                 from /usr/src/linux/include/linux/raid/md.h:34,
                 from init/main.c:24:
/usr/src/linux/include/asm/checksum.h:72:30: missing terminating " character
In file included from /usr/src/linux/include/net/checksum.h:33,
                 from /usr/src/linux/include/linux/raid/md.h:34,
                 from init/main.c:24:
/usr/src/linux/include/asm/checksum.h: In function `ip_fast_csum':
/usr/src/linux/include/asm/checksum.h:73: error: parse error before "movl"
/usr/src/linux/include/asm/checksum.h:75:17: invalid suffix "f" on integer constant
/usr/src/linux/include/asm/checksum.h:82:17: invalid suffix "b" on integer constant
/usr/src/linux/include/asm/checksum.h:90:13: missing terminating " character
/usr/src/linux/include/asm/checksum.h:105:17: missing terminating " character
/usr/src/linux/include/asm/checksum.h: In function `csum_fold':
/usr/src/linux/include/asm/checksum.h:106: error: parse error before "addl"
/usr/src/linux/include/asm/checksum.h:108:17: missing terminating " character
/usr/src/linux/include/asm/checksum.h:121:13: missing terminating " character
/usr/src/linux/include/asm/checksum.h: In function `csum_tcpudp_nofold':
/usr/src/linux/include/asm/checksum.h:122: error: parse error before "addl"
/usr/src/linux/include/asm/checksum.h:126:9: missing terminating " character
/usr/src/linux/include/asm/checksum.h:128: error: `__x' undeclared (first use in this function)
/usr/src/linux/include/asm/checksum.h:128: error: (Each undeclared identifier is reported only once
/usr/src/linux/include/asm/checksum.h:128: error: for each function it appears in.)
/usr/src/linux/include/asm/checksum.h: At top level:
/usr/src/linux/include/asm/checksum.h:128: error: parse error before ')' token
/usr/src/linux/include/asm/checksum.h:161:17: missing terminating " character
/usr/src/linux/include/asm/checksum.h: In function `csum_ipv6_magic':
/usr/src/linux/include/asm/checksum.h:162: error: parse error before "addl"
/usr/src/linux/include/asm/checksum.h:173:17: missing terminating " character
/usr/src/linux/include/asm/checksum.h:176: error: `__x' undeclared (first use in this function)
/usr/src/linux/include/asm/checksum.h:176: warning: no return statement in function returning non-void
/usr/src/linux/include/asm/checksum.h: At top level:
/usr/src/linux/include/asm/checksum.h:176: error: parse error before ')' token
/usr/src/linux/include/asm/checksum.h:176: error: parse error before "__u32"
make: *** [init/main.o] Error 1

mood
Publicité
Posté le 01-12-2003 à 21:39:53  profilanswer
 

n°368540
glacote
Posté le 02-12-2003 à 08:52:38  profilanswer
 

1) Essaie depuis /usr/src/linux-x.x.x/
   cp .config dot-config && make mrproper && cp dot-config .config
   make menuconfig && make dep && make bzImage modules && ...
2) gcc --version

n°368812
maxix
Posté le 02-12-2003 à 19:26:49  profilanswer
 

glacote a écrit :

1) Essaie depuis /usr/src/linux-x.x.x/
   cp .config dot-config && make mrproper && cp dot-config .config
   make menuconfig && make dep && make bzImage modules && ...
2) gcc --version


1)

Code :
  1. serveuse:/usr/src/linux# make bzImage
  2. gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon    -c -o init/main.o init/main.c
  3. In file included from /usr/src/linux/include/net/checksum.h:33,
  4.                  from /usr/src/linux/include/linux/raid/md.h:34,
  5.                  from init/main.c:24:
  6. /usr/src/linux/include/asm/checksum.h:72:30: missing terminating " character
  7. In file included from /usr/src/linux/include/net/checksum.h:33,
  8.                  from /usr/src/linux/include/linux/raid/md.h:34,
  9.                  from init/main.c:24:
  10. /usr/src/linux/include/asm/checksum.h: In function `ip_fast_csum':
  11. /usr/src/linux/include/asm/checksum.h:73: error: parse error before "movl"
  12. /usr/src/linux/include/asm/checksum.h:75:17: invalid suffix "f" on integer constant
  13. /usr/src/linux/include/asm/checksum.h:82:17: invalid suffix "b" on integer constant
  14. /usr/src/linux/include/asm/checksum.h:90:13: missing terminating " character
  15. /usr/src/linux/include/asm/checksum.h:105:17: missing terminating " character
  16. /usr/src/linux/include/asm/checksum.h: In function `csum_fold':
  17. /usr/src/linux/include/asm/checksum.h:106: error: parse error before "addl"
  18. /usr/src/linux/include/asm/checksum.h:108:17: missing terminating " character
  19. /usr/src/linux/include/asm/checksum.h:121:13: missing terminating " character
  20. /usr/src/linux/include/asm/checksum.h: In function `csum_tcpudp_nofold':
  21. /usr/src/linux/include/asm/checksum.h:122: error: parse error before "addl"
  22. /usr/src/linux/include/asm/checksum.h:126:9: missing terminating " character
  23. /usr/src/linux/include/asm/checksum.h:128: error: `__x' undeclared (first use in this function)
  24. /usr/src/linux/include/asm/checksum.h:128: error: (Each undeclared identifier is reported only once
  25. /usr/src/linux/include/asm/checksum.h:128: error: for each function it appears in.)
  26. /usr/src/linux/include/asm/checksum.h: At top level:
  27. /usr/src/linux/include/asm/checksum.h:128: error: parse error before ')' token
  28. /usr/src/linux/include/asm/checksum.h:161:17: missing terminating " character
  29. /usr/src/linux/include/asm/checksum.h: In function `csum_ipv6_magic':
  30. /usr/src/linux/include/asm/checksum.h:162: error: parse error before "addl"
  31. /usr/src/linux/include/asm/checksum.h:173:17: missing terminating " character
  32. /usr/src/linux/include/asm/checksum.h:176: error: `__x' undeclared (first use in this function)
  33. /usr/src/linux/include/asm/checksum.h:176: warning: no return statement in function returning non-void
  34. /usr/src/linux/include/asm/checksum.h: At top level:
  35. /usr/src/linux/include/asm/checksum.h:176: error: parse error before ')' token
  36. /usr/src/linux/include/asm/checksum.h:176: error: parse error before "__u32"
  37. make: *** [init/main.o] Error 1


2)

Code :
  1. serveuse:/usr/src/linux# gcc --version
  2. gcc (GCC) 3.3.2 (Debian)


Message édité par maxix le 02-12-2003 à 19:33:24
n°368892
aurelboiss
Posté le 02-12-2003 à 21:51:08  profilanswer
 

Ca m'est deja arrive aussi et moi g vire les sources et le rep /lib/modules/2.4.xx et je le reinstalle ;)
 
@+


Message édité par aurelboiss le 02-12-2003 à 21:54:42
n°368933
maxix
Posté le 02-12-2003 à 23:14:25  profilanswer
 

aurelboiss a écrit :

Ca m'est deja arrive aussi et moi g vire les sources et le rep /lib/modules/2.4.xx et je le reinstalle ;)
 
@+


 
Résultat identique  :cry:

n°369318
maxix
Posté le 03-12-2003 à 18:49:15  profilanswer
 

Up?
 
Non?
 
:cry:


Message édité par maxix le 03-12-2003 à 18:49:22

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  P'tit pb de compilation noyeau

 

Sujets relatifs
Compilation du kernel pour carte mère VIA EPIA-M Mini-ITXpb compilation winex
Problème de compilation de scribusOptimisation de compilation
[HELP]Install Debian debutant tres motivé MAJ -> compilation noyauC et compilation
Problème compilation de MplayerCompilation de Kopete 0.7.2 sous Debian
[Debian & Fluxbox 0.9.6pre1] Problème de compilationnforce2 et debian woody (réseau et compilation)
Plus de sujets relatifs à : P'tit pb de compilation noyeau


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR