P'tit pb de compilation noyeau

P'tit pb de compilation noyeau - Linux et OS Alternatifs

Marsh Posté le 01-12-2003 à 21:39:53    

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

Reply

Marsh Posté le 01-12-2003 à 21:39:53   

Reply

Marsh Posté le 02-12-2003 à 08:52:38    

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

Reply

Marsh Posté le 02-12-2003 à 19:26:49    

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
Reply

Marsh Posté le 02-12-2003 à 21:51:08    

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
Reply

Marsh Posté le 02-12-2003 à 23:14:25    

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:

Reply

Marsh Posté le 03-12-2003 à 18:49:15    

Up?
 
Non?
 
:cry:


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

Sujets relatifs:

Leave a Replay

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