Страница 1 из 1
Ошибка компиляции ядра
Добавлено: 2010-05-18 16:24:42
blast
При компиляции ядра вылетает следующая ошибка
Код: Выделить всё
make: don't know how to make /usr/src/sys/dev/eisa/eisa_if.m Stop
*** Error code 2
Stop in /usr/src.
***Error code 1
Все устройства EISA отключены
подскажите куда копать?
Re: Ошибка компиляции ядра
Добавлено: 2010-05-18 16:54:37
f_andrey
Блин ну сколько можно, алгоритм
1. обновляете сорцы
2. убиваем make.conf src.conf если есть
3. собираем GENERIC
Если не проходит то приводим кусок лога строк 20.
При не выполнении данных условий вы ССЗБ

Re: Ошибка компиляции ядра
Добавлено: 2010-05-21 12:46:10
blast
Код: Выделить всё
FreeBSD ns.serv.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri MAY 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Сделал по всем вышеозначенным пунктам, однако постоянно вылетает ошибка при компиляции
Код: Выделить всё
if_rum.o(.text+0x2e52): In function `rum_amrr_update':
/usr/src/sys/dev/usb/if_rum.c:2423: undefined reference to
`ieee80211_amrr_choose'
if_rum.o(.text+0x30c4): In function `rum_task':
/usr/src/sys/dev/usb/if_rum.c:2284: undefined reference to
`ieee80211_beacon_alloc'
if_rum.o(.text+0x319a):/usr/src/sys/dev/usb/if_rum.c:2366: undefined
reference to `ieee80211_amrr_node_init'
if_rum.o(.text+0x3493): In function `rum_ioctl':
/usr/src/sys/dev/usb/if_rum.c:1495: undefined reference to `ieee80211_ioctl'
if_rum.o(.text+0x3603): In function `rum_media_change':
/usr/src/sys/dev/usb/if_rum.c:744: undefined reference to
`ieee80211_media_change'
if_rum.o(.text+0x381c): In function `rum_raw_xmit':
/usr/src/sys/dev/usb/if_rum.c:2318: undefined reference to
`ieee80211_free_node'
if_rum.o(.text+0x3868):/usr/src/sys/dev/usb/if_rum.c:2324: undefined
reference to `ieee80211_free_node'
if_rum.o(.text+0x3a0b):/usr/src/sys/dev/usb/if_rum.c:2354: undefined
reference to `ieee80211_free_node'
if_rum.o(.text+0x1f74): In function `rum_start':
/usr/src/sys/dev/usb/if_rum.c:1398: undefined reference to
`ieee80211_free_node'
*** Error code 1
Stop in /usr/obj/usr/src/sys/ALTERKERN.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Re: Ошибка компиляции ядра
Добавлено: 2010-05-21 12:55:57
Гость
Зачем ядро ковыряли?
Сказали-же ЖЕНЕРИК!!!
Re: Ошибка компиляции ядра
Добавлено: 2010-05-21 13:00:06
hizel
wlan закомментили а rum и ural кто будет?

Re: Ошибка компиляции ядра
Добавлено: 2010-05-21 16:37:06
blast
появилась новая ошибка , причем как в закоментированном варианте так и в GENERIC
Код: Выделить всё
/usr/src/sys/dev/amr/amr.c: In function 'amr_linux_ioctl_int' :
/usr/src/sys/dev/amr/amr.c:638: error: 'struct amr_possthrough' has no member named 'ap_data_transfer'
/usr/src/sys/dev/amr/amr.c:638: error: stray '\177' in program
/usr/src/sys/dev/amr/amr.c:638: error: expected ';' before 'length'
*** Error code 1
Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1
Stop in /usr/src
*** Error code 1
Stop in /usr/src
Re: Ошибка компиляции ядра
Добавлено: 2010-05-21 16:41:48
hizel
задолбало телепатировать
скажем сказю закомментили и сказё рэйд оставили
извольте выложить конфиг
Re: Ошибка компиляции ядра
Добавлено: 2010-05-21 16:47:31
Гость
обновляйте сырцы еще раз
у вас где то кривизна
делайте последовательно что вам показал f_andrey, пока у вас не собиреться женерик )))))
Re: Ошибка компиляции ядра
Добавлено: 2010-05-21 16:59:40
blast
пишу что раскоменчено
Код: Выделить всё
device apic
device cpufreq
device pci
device ata
device atadisk
device atapicd
options ATA_STATIC_ID
device scbus
device da
device sa
scsi RAID весь закоменчен
далее открыто
device atkbdc
device atkbd
device kbdmux
device vga
device splash
device sc
device agp
device pmtimer
device miibus
device fxp
device xl
device loop
device random
device ether
device sl
device ppp
device tun
device pty
device md
device gif
device faith
device firmware
device bpf
device uhci
device ohci
device ehci
device usb
device ugen
device uhid
device ukbd
device umass
Re: Ошибка компиляции ядра
Добавлено: 2010-05-21 17:05:27
Гость
Зачем ядро убил?

Re: Ошибка компиляции ядра
Добавлено: 2010-05-21 17:08:52
blast
Зачем ядро убил?
снова скачал сырцы и собираю GENERIC. О результатах отпишусь.
Re: Ошибка компиляции ядра
Добавлено: 2010-05-25 17:09:41
blast
Generic удачно собрался
Однако при сборке вот этой конфигурации
Код: Выделить всё
#cpu I486_CPU # процессор компьютера
#cpu I586_CPU # процессор компьютера
cpu I686_CPU # процессор компьютера
# про процы подробней можно
# посмотреть LINT
ident kernel1 # идентификатор ядра
#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
# опции отладки ядра (в жизни,
# вероятно не пригодится, но
# если поймаете глюк
# и захотите сообщить об этом
# разработчикам - то пригодится)
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPFIREWALL_FORWARD
options IPDIVERT
options DUMMYNET
options SCHED_ULE
options PREEMPTION
options INET
#options INET6
options SCTP
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options UFS_ACL
options UFS_GJOURNAL
#options MD_ROOT #MD is a potential root device
options NFSCLIENT
options NFSSERVER
options NFS_ROOT #NFS usable as root device, NFS required
options NFS_LOCKD
#options MSDOSFS #MSDOS Filesystem
options CD9660 #ISO 9660 Filesystem
options PROCFS #Process filesystem
options PSEUDOFS
options GEOM_PART_GPT
options GEOM_LABEL
options COMPAT_43TTY #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4
options COMPAT_FREEBSD5
options COMPAT_FREEBSD6
#options SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
options KTRACE
options STACK
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM #Rate limit bad replies
# ограничение неверных ответов
# по ICMP
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options ADAPTIVE_GIANT
options STOP_NMI
options AUDIT
options KDTRACE_HOOKS
# To make an SMP kernel, the next two are needed
# следующие две опции нужны для многопроцессорных систем
#options SMP # Symmetric MultiProcessor Kernel
options APIC_IO # Symmetric (APIC) I/O
device cpufreq
#device eisa # Шина EISA
device pci # поддержка шины PCI
# Floppy drives
# флоппики
device fdc
# ATA and ATAPI devices
# Контролеры IDE хардов
device ata #
device atadisk # ATA disk drives
# собственно поддержка ATA-хардов
#device atapicd # ATAPI CDROM drives
device ataraid
#device atapifd # ATAPI floppy drives
# флопповоды подключаемые к ATA
# контроллеру (первый раз о таких
# узнал именно из конфига ядра)
device atapist # ATAPI tape drives
options ATA_STATIC_ID #Static device numbering
# SCSI Controllers
# SCSI-контроллеры - без комментариев
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device AHC_REG_PRETTY_PRINT
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device AHD_REG_PRETTY_PRINT
#device amd # AMD 53C974 (Tekram DC-390(T))
#device hptiop
#device isp # Qlogic family
#device ispfw
#device mpt # LSI-Logic MPT/Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets)
#device trm
#device adv
#device adw
#device bt
#device aha
#device aic
#device ncv # NCR 53C500
#device nsp # Workbit Ninja SCSI-3
#device stg # TMC 18C30/18C50
# SCSI peripherals
# периферийное сказёвое оборудование (собственно диски, накопители на
# магнитной ленте, CD-ROM`ы)
device scbus # SCSI bus (required)
#device ch
device da # Direct Access (disks)
device sa # Sequential Access (tape etc)
device cd # CD
device pass # Passthrough device (direct SCSI access)
#device ses
# RAID controllers interfaced to the SCSI subsystem
# сказёвые рэйды
#device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID
#device dpt # DPT Smartcache - See LINT for options!
#device iir # Intel Integrated RAID
#device mly # Mylex AcceleRAID/eXtremeRAID
#device ciss # Compaq SmartRAID 5* series
#device twa # 3ware 9000 series PATA/SATA RAID
# RAID controllers
# рэйд-контроллеры
#device amr
#device arcmsr
#device asr
#device ciss
#device dpt
#device hptmv
#device hptrr
#device iir
#device ips
#device mly
#device twa
#device aac
#device aacp
#device ida
#device mfi
#device mlx
#device pst
#device twe
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc
device atkbd
#device psm
device kbdmux
device vga
# splash screen/screen saver
device splash
# syscons is the default console driver, resembling an SCO console
device sc
device agp
#device apm
device pmtimer
# PCCARD (PCMCIA) support
#device cbb
#device pccard
#device cardbus
# Serial (COM) ports
device sio
device uart
# Parallel port
#device ppc
#device ppbus # Parallel port bus (required)
#device lpt # Printer
#device plip # TCP/IP over parallel
#device ppi # Parallel port interface device
#device vpo # Requires scbus and da
# PCI Ethernet NICs.
#device de # DEC/Intel DC21x4x (``Tulip'')
#device em # Intel PRO/1000 adapter Gigabit Ethernet Card
#device igb
#device ixgb
#device le
#device txp # 3Com 3cR990 (``Typhoon'')
#device vx # 3Com 3c590, 3c595 (``Vortex'')
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
#device dc # DEC/Intel 21143 and various workalikes
#device et
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
#device jme
#device lge
#device msk
#device nfe
#device nge
#device nve
#device pcn # AMD Am79C97x PCI 10/100 NICs
device re # RealTek 8129/8139
#device sf # Adaptec AIC-6915 (``Starfire'')
#device sis # Silicon Integrated Systems SiS 900/SiS 7016
#device sk
#device ste # Sundance ST201 (D-Link DFE-550TX)
#device stge
#device ti
#device tl # Texas Instruments ThunderLAN
#device tx # SMC EtherPower II (83c170 ``EPIC'')
#device vr # VIA Rhine, Rhine II
#device vge
#device wb # Winbond W89C840F
#device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
#device bge # Broadcom BCM570x (``Tigon III'')
# ISA Ethernet NICs.
# 'device ed' requires 'device miibus'
#device cs
#device ed
#device ex
#device ep
#device fe
# Xircom Ethernet
#device xe
#device ie
#device sn
#Wireless nic cards
#device wlan
#device wlan_wep
#device wlan_ccmp
#device wlan_tkip
#device wlan_amrr
#device wlan_scan_ap
#device wlan_scan_sta
#device an
#device ath
#device ath_hal
options AH_SUPPORT_AR5461
#device ath_rate_sample
#device awi
#device ral
#device wi
#device wl
# Pseudo devices - the number indicates how many units to allocate.
device loop # Network loopback
device random
device ether # Ethernet support
#device sl # Kernel SLIP
#device ppp # Kernel PPP
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
# псевдо консоли (ssh, telnet)
device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device faith # IPv6-to-IPv4 relaying (translation)
device firmware
# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device bpf #Berkeley packet filter
# USB support
device uhci # UHCI PCI->USB interface
device ohci # OHCI PCI->USB interface
device ehci
device usb # USB Bus (required)
device udbp
#device ugen # Generic
#device uhid # "Human Interface Devices"
#device ukbd # Keyboard
#device ulpt # Printer
device umass # Disks/Mass storage - Requires scbus and da
#device ums # Mouse
#device ural
#device rum
#device uscanner # Scanners
#device urio # Diamond Rio MP3 Player
#USB Serial devices
#device ucom
#device uark
#device ubsa
#device ubser
#device uftdi
#device uipaq
#device uplcom
#device uslcom
#device uvisor
#device uvscom
# USB Ethernet, requires mii
#device aue # ADMtek USB ethernet
#device axe # ASIX Electronics USB ethernet
#device cdce
#device cue # CATC USB ethernet
#device kue # Kawasaki LSI USB ethernet
# FireWire support
#device firewire # FireWire bus code
#device sbp # SCSI over FireWire (Requires scbus and da)
#device fwe # Ethernet over FireWire (non-standard!)
#device fwip
#device dcons
#device dcons_crom
постоянно выпадает следующая ошибка
Код: Выделить всё
/usr/src/sys/kern/sysv.msg.c:1532: warning: passing argument 2 of 'kern_msgctl' makes integer from pointer without a cast
/usr/src/sys/kern/sysv.msg.c:1532: warning: passing argument 3 of 'kern_msgctl' makes integer from pointer without a cast
/usr/src/sys/kern/sysv.msg.c:1535: error: dereferencing pointer to incomplete type
/usr/src/sys/kern/sysv.msg.c:1535: error: request for memeber 'cmd' in something not a structure or union
/usr/src/sys/kern/sysv.msg.c:1535: warning: comparison between pointer and integer
/usr/src/sys/kern/sysv.msg.c:1548: error: dereferencing pointer to incomplete type
/usr/src/sys/kern/sysv.msg.c:1548: error: request for memeber 'buf' in something not a structure or union
*** Error code 1
Stop in /usr/obj/usr/src/sys/kernel1
*** Error code 1
Stop in /usr/src
*** Error code 1
Stop in /usr/src
Re: Ошибка компиляции ядра
Добавлено: 2010-05-25 17:36:18
hizel
Re: Ошибка компиляции ядра
Добавлено: 2010-05-25 17:56:36
blast
зачем снесли options SYSV*
дык, я ее и не закрывал вовсе
Код: Выделить всё
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
Re: Ошибка компиляции ядра
Добавлено: 2010-05-26 15:22:16
FreeBSP
SCTP зависит от IPv6