Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[kernel] error al compilar (abierto)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
luisfeser
Guru
Guru


Joined: 22 May 2004
Posts: 543
Location: /España/Toledo

PostPosted: Tue Oct 05, 2004 10:30 pm    Post subject: [kernel] error al compilar (abierto) Reply with quote

Buenas,

Estoy intentando compilar el 2.6.9-rc3-mm2 (tambien me falla el mm1) y le he aplicado el parche del vesafb-tng sin problemas.
Total, k configuro como siempre y me salta este error:
Code:
[color=blue]gentoo linux # make all && make modules_install[/color]
  CHK     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/conmakehash
  CC      arch/i386/kernel/asm-offsets.s
  CHK     include/asm-i386/asm_offsets.h
  UPD     include/asm-i386/asm_offsets.h
  CC      init/main.o
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  CC      init/do_mounts.o
  LD      init/mounts.o
  CC      init/initramfs.o
  LD      init/built-in.o
  HOSTCC  usr/gen_init_cpio
  GEN_INITRAMFS_LIST usr/initramfs_list
Using shipped usr/initramfs_list
  CPIO    usr/initramfs_data.cpio
  GZIP    usr/initramfs_data.cpio.gz
  AS      usr/initramfs_data.o
  LD      usr/built-in.o
  CC      arch/i386/kernel/process.o
  CC      arch/i386/kernel/semaphore.o
  CC      arch/i386/kernel/signal.o
  AS      arch/i386/kernel/entry.o
  CC      arch/i386/kernel/traps.o
  CC      arch/i386/kernel/irq.o
arch/i386/kernel/irq.c:203: error: redefinición de 'is_irq_stack_ptr'
include/asm/hardirq.h:25: error: la definición previa de 'is_irq_stack_ptr' estaba aquí
arch/i386/kernel/irq.c: In function `is_irq_stack_ptr':
arch/i386/kernel/irq.c:207: error: `hardirq_stack' no se declaró aquí (primer uso en esta función)
arch/i386/kernel/irq.c:207: error: (Cada identificador no declarado solamente se reporta una vez
arch/i386/kernel/irq.c:207: error: para cada funcion en la que aparece.)
arch/i386/kernel/irq.c:210: error: `softirq_stack' no se declaró aquí (primer uso en esta función)
make[1]: *** [arch/i386/kernel/irq.o] Error 1
make: *** [arch/i386/kernel] Error 2


Y no tengo ni idea de que puede ser. He probado a compilar sin el parche vesa-tng y me da el mismo error, asi k el parche no es.

No se si hay alguna opcion k me haya dejado, aunk he usado el .config de los kernels k he usado anteriormente :?

Y es que buscando con el menuconfig algo sobre irq, pues no veo nada.

Se os ocurre algo??

Graicas.
_________________
AMD Athlon XP-M 2500+ @2200MhHz|1GB DDR @400MHz Dual-Chanel|NVIDIA GeForce4 MX 420|SB Live 5.1|ADSL 512/128 Arsys
gentoo ~x86
Back to top
View user's profile Send private message
RadikalQ3
Apprentice
Apprentice


Joined: 26 Oct 2003
Posts: 172
Location: Planeta Tierra

PostPosted: Wed Oct 06, 2004 9:02 am    Post subject: Reply with quote

Pues... que copies el .config en el /usr/src/linux y hagas un make oldconfig para que te 'interrogue' en todas aquellas nuevas opciones que tenga esa versión de kernel que vas a compilar.
_________________
Radikal Trucomania
Back to top
View user's profile Send private message
esprout
n00b
n00b


Joined: 09 Jan 2003
Posts: 22

PostPosted: Wed Oct 06, 2004 2:38 pm    Post subject: Reply with quote

Sorry for the english reply.

I'm running into the same issue with 2.6.9-rc3-mm2 sources. It appears that it occurs if you have "Use 4Kb for kernel stacks instead of 8Kb" turned off (CONFIG_4KSTACKS is not set).

Unfortunately, you need to use 8Kb in order to use reiser4, which is the whole reason I am using mm-sources. Oh well.

I've posted this problem to the main kernel forum too:

https://forums.gentoo.org/viewtopic.php?p=1618411
Back to top
View user's profile Send private message
luisfeser
Guru
Guru


Joined: 22 May 2004
Posts: 543
Location: /España/Toledo

PostPosted: Wed Oct 06, 2004 3:01 pm    Post subject: Reply with quote

Ya lo he solucionado :)

No se porque fallaba, pero como lo que yo quería era solo reiser4 más vesfb-tng he buscado a ver si habia algun parche con reiser4 para el 2.6.9-rc3 y lo he encontrado:
https://forums.gentoo.org/viewtopic.php?t=231006 (hay podreis encontrar el parche)

he aplicado los 2 parches sin problemas y arreando k es gerundio ;)

esprout, if you only want the reiser4 patch for 2.6.9-rc3 (without mm) see the link up.
_________________
AMD Athlon XP-M 2500+ @2200MhHz|1GB DDR @400MHz Dual-Chanel|NVIDIA GeForce4 MX 420|SB Live 5.1|ADSL 512/128 Arsys
gentoo ~x86
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum