LINUX.ORG.RU

dazuko не собирается на 2.6.8


0

0

dazuko-2.2.2# ./configure
checking host system type... Linux
checking for make utility... ok (make)
checking for C compiler... ok (cc)
kernel source in /lib/modules/2.6.8/build... yes
acquiring Linux kernel code configuration... error
error: unable to compile linux_conf utility
please see `linux_conf_make.out' for details

# cat linux_conf_make.out
In file included from /lib/modules/2.6.8/build/include/asm/smp.h:18,
from /lib/modules/2.6.8/build/include/linux/smp.h:17,
from /lib/modules/2.6.8/build/include/linux/sched.h:23,
from /lib/modules/2.6.8/build/include/linux/module.h:10,
from /lib/modules/2.6.8/build/include/linux/vermagic.h:2,
from linux_conf.c:8:
/lib/modules/2.6.8/build/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /lib/modules/2.6.8/build/include/asm/smp.h:18,
from /lib/modules/2.6.8/build/include/linux/smp.h:17,
from /lib/modules/2.6.8/build/include/linux/sched.h:23,
from /lib/modules/2.6.8/build/include/linux/module.h:10,
from /lib/modules/2.6.8/build/include/linux/vermagic.h:2,
from linux_conf.c:8:
/lib/modules/2.6.8/build/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.8/build/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.8/build/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.8/build/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.8/build/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.8/build/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/lib/modules/2.6.8/build/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/lib/modules/2.6.8/build/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.8/build/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.8/build/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/lib/modules/2.6.8/build/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
In file included from /lib/modules/2.6.8/build/include/asm/smp.h:20,
from /lib/modules/2.6.8/build/include/linux/smp.h:17,
from /lib/modules/2.6.8/build/include/linux/sched.h:23,
from /lib/modules/2.6.8/build/include/linux/module.h:10,
from /lib/modules/2.6.8/build/include/linux/vermagic.h:2,
from linux_conf.c:8:
/lib/modules/2.6.8/build/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.8/build/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
/lib/modules/2.6.8/build/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /lib/modules/2.6.8/build/include/linux/smp.h:17,
from /lib/modules/2.6.8/build/include/linux/sched.h:23,
from /lib/modules/2.6.8/build/include/linux/module.h:10,
from /lib/modules/2.6.8/build/include/linux/vermagic.h:2,
from linux_conf.c:8:
/lib/modules/2.6.8/build/include/asm/smp.h:71:26: mach_apicdef.h: No such file or directory
In file included from /lib/modules/2.6.8/build/include/linux/smp.h:17,
from /lib/modules/2.6.8/build/include/linux/sched.h:23,
from /lib/modules/2.6.8/build/include/linux/module.h:10,
from /lib/modules/2.6.8/build/include/linux/vermagic.h:2,
from linux_conf.c:8:
/lib/modules/2.6.8/build/include/asm/smp.h: In function `hard_smp_processor_id':
/lib/modules/2.6.8/build/include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID'


я хз куда копать...


Ответ на: комментарий от sanwashere

/lib/modules/2.6.8/build/include/asm/mach-bigsmp:
итого 16
-rw-r--r-- 1 root root 227 2004-08-14 15:38 mach_apicdef.h
-rw-r--r-- 1 root root 3862 2004-08-14 15:38 mach_apic.h
-rw-r--r-- 1 root root 524 2004-08-14 15:36 mach_ipi.h
-rw-r--r-- 1 root root 145 2004-08-14 15:38 mach_mpspec.h

/lib/modules/2.6.8/build/include/asm/mach-default:
итого 84
-rw-r--r-- 1 root root 1714 2004-08-14 15:36 apm.h
-rw-r--r-- 1 root root 343 2004-08-14 15:38 bios_ebda.h
-rw-r--r-- 1 root root 2194 2004-08-14 15:37 do_timer.h
-rw-r--r-- 1 root root 1181 2004-08-14 15:36 entry_arch.h
-rw-r--r-- 1 root root 746 2004-08-14 15:38 io_ports.h
-rw-r--r-- 1 root root 2558 2004-08-14 15:36 irq_vectors.h
-rw-r--r-- 1 root root 433 2004-08-14 15:36 irq_vectors_limits.h
-rw-r--r-- 1 root root 225 2004-08-14 15:37 mach_apicdef.h
-rw-r--r-- 1 root root 2884 2004-08-14 15:38 mach_apic.h
-rw-r--r-- 1 root root 721 2004-08-14 15:37 mach_ipi.h
-rw-r--r-- 1 root root 622 2004-08-14 15:37 mach_mpparse.h
-rw-r--r-- 1 root root 145 2004-08-14 15:38 mach_mpspec.h
-rw-r--r-- 1 root root 537 2004-08-14 15:36 mach_reboot.h
-rw-r--r-- 1 root root 4088 2004-08-14 15:36 mach_time.h
-rw-r--r-- 1 root root 1448 2004-08-14 15:38 mach_timer.h
-rw-r--r-- 1 root root 558 2004-08-14 15:36 mach_traps.h
-rw-r--r-- 1 root root 918 2004-08-14 15:38 mach_wakecpu.h
-rw-r--r-- 1 root root 615 2004-08-14 15:37 pci-functions.h
-rw-r--r-- 1 root root 936 2004-08-14 15:37 setup_arch_post.h
-rw-r--r-- 1 root root 97 2004-08-14 15:36 setup_arch_pre.h
-rw-r--r-- 1 root root 1013 2004-08-14 15:36 smpboot_hooks.h

/lib/modules/2.6.8/build/include/asm/mach-es7000:
итого 28
-rw-r--r-- 1 root root 227 2004-08-14 15:36 mach_apicdef.h
-rw-r--r-- 1 root root 4913 2004-08-14 15:36 mach_apic.h
-rw-r--r-- 1 root root 523 2004-08-14 15:36 mach_ipi.h
-rw-r--r-- 1 root root 1106 2004-08-14 15:36 mach_mpparse.h
-rw-r--r-- 1 root root 145 2004-08-14 15:36 mach_mpspec.h
-rw-r--r-- 1 root root 1313 2004-08-14 15:36 mach_wakecpu.h

/lib/modules/2.6.8/build/include/asm/mach-generic:
итого 24
-rw-r--r-- 1 root root 403 2004-08-14 15:36 irq_vectors_limits.h
-rw-r--r-- 1 root root 220 2004-08-14 15:37 mach_apicdef.h
-rw-r--r-- 1 root root 1448 2004-08-14 15:36 mach_apic.h
-rw-r--r-- 1 root root 228 2004-08-14 15:37 mach_ipi.h
-rw-r--r-- 1 root root 327 2004-08-14 15:36 mach_mpparse.h
-rw-r--r-- 1 root root 289 2004-08-14 15:37 mach_mpspec.h

/lib/modules/2.6.8/build/include/asm/mach-numaq:
итого 24
-rw-r--r-- 1 root root 238 2004-08-14 15:38 mach_apicdef.h
-rw-r--r-- 1 root root 3676 2004-08-14 15:36 mach_apic.h
-rw-r--r-- 1 root root 526 2004-08-14 15:37 mach_ipi.h
-rw-r--r-- 1 root root 808 2004-08-14 15:36 mach_mpparse.h
-rw-r--r-- 1 root root 145 2004-08-14 15:37 mach_mpspec.h
-rw-r--r-- 1 root root 1184 2004-08-14 15:36 mach_wakecpu.h

/lib/modules/2.6.8/build/include/asm/mach-summit:
итого 32
-rw-r--r-- 1 root root 403 2004-08-14 15:38 irq_vectors_limits.h
-rw-r--r-- 1 root root 227 2004-08-14 15:38 mach_apicdef.h
-rw-r--r-- 1 root root 4644 2004-08-14 15:37 mach_apic.h
-rw-r--r-- 1 root root 524 2004-08-14 15:36 mach_ipi.h
-rw-r--r-- 1 root root 5389 2004-08-14 15:36 mach_mpparse.h
-rw-r--r-- 1 root root 214 2004-08-14 15:36 mach_mpspec.h

/lib/modules/2.6.8/build/include/asm/mach-visws:
итого 44
-rw-r--r-- 1 root root 3574 2004-08-14 15:36 cobalt.h
-rw-r--r-- 1 root root 1166 2004-08-14 15:36 do_timer.h
-rw-r--r-- 1 root root 877 2004-08-14 15:37 entry_arch.h
-rw-r--r-- 1 root root 1523 2004-08-14 15:36 irq_vectors.h
-rw-r--r-- 1 root root 1322 2004-08-14 15:37 lithium.h
-rw-r--r-- 1 root root 254 2004-08-14 15:36 mach_apicdef.h
-rw-r--r-- 1 root root 2156 2004-08-14 15:36 mach_apic.h
-rw-r--r-- 1 root root 2581 2004-08-14 15:36 piix4.h
-rw-r--r-- 1 root root 1216 2004-08-14 15:36 setup_arch_post.h
-rw-r--r-- 1 root root 95 2004-08-14 15:36 setup_arch_pre.h
-rw-r--r-- 1 root root 527 2004-08-14 15:36 smpboot_hooks.h

/lib/modules/2.6.8/build/include/asm/mach-voyager:
итого 20
-rw-r--r-- 1 root root 469 2004-08-14 15:37 do_timer.h
-rw-r--r-- 1 root root 892 2004-08-14 15:38 entry_arch.h
-rw-r--r-- 1 root root 2336 2004-08-14 15:36 irq_vectors.h
-rw-r--r-- 1 root root 1960 2004-08-14 15:36 setup_arch_post.h
-rw-r--r-- 1 root root 285 2004-08-14 15:36 setup_arch_pre.h

SteepZ
() автор топика
Ответ на: комментарий от SteepZ

Хе, 2.2.0 конфигурится на "ура". А 2.2.2 ругается диким матами =)

sanwashere ★★
()
Ответ на: комментарий от SteepZ

--- configure 2006-07-29 13:12:49.000000000 +0400 +++ configure.old 2006-09-09 17:45:46.000000000 +0400 @@ -1523,7 +1523,7 @@ echo "CC ?= ${CC}" > Makefile

TEMPNAME="$LINUX_SRC/include" - echo "CFLAGS = -Wall -D__KERNEL__ -DMODULE -I$TEMPNAME" >> Makefile + echo "CFLAGS = -Wall -D__KERNEL__ -DMODULE -I$TEMPNAME -I$TEMPNAME/asm/mach-generic" >> Makefile

if [ -f "$TEMPNAME/linux/config.h" ] then

sanwashere ★★
()
Ответ на: комментарий от sanwashere

Гадское форматирование. С этим вроде все должно работать.

--- configure   2006-07-29 13:12:49.000000000 +0400
+++ configure.old       2006-09-09 17:45:46.000000000 +0400
@@ -1523,7 +1523,7 @@
                        echo "CC ?= ${CC}" > Makefile

                        TEMPNAME="$LINUX_SRC/include"
-                       echo "CFLAGS = -Wall -D__KERNEL__ -DMODULE -I$TEMPNAME" >> Makefile
+                       echo "CFLAGS = -Wall -D__KERNEL__ -DMODULE -I$TEMPNAME -I$TEMPNAME/asm/mach-generic" >> Makefile

                        if [ -f "$TEMPNAME/linux/config.h" ]
                        then

sanwashere ★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.