не компилится ядро на 7ке с ipfw

Проблемы установки, настройки и работы Правильной Операционной Системы

Модератор: terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
smash_necros
мл. сержант
Сообщения: 138
Зарегистрирован: 2007-06-20 8:39:38
Контактная информация:

не компилится ядро на 7ке с ipfw

Непрочитанное сообщение smash_necros » 2008-05-22 13:04:14

сабж, не пойму почему не компилится

в конфиг довил токо фаер,нат и дамми нет
вотс собственно конфиг

Код: Выделить всё

cpu             I686_CPU
ident           smp-kernel

# To statically compile in device wiring instead of /boot/device.hints
#hints          "GENERIC.hints"         # Default places to look for devices.

#makeoptions    DEBUG=-g                # Build kernel with gdb(1) debug symbols

options         SCHED_ULE               # 4BSD scheduler
options         PREEMPTION              # Enable kernel thread preemption
options         INET                    # InterNETworking
#options        INET6                   # IPv6 communications protocols
#options        SCTP                    # Stream Control Transmission Protocol
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates support
options         UFS_ACL                 # Support for access control lists
options         UFS_DIRHASH             # Improve performance on big directories
#options        UFS_GJOURNAL            # Enable gjournal-based UFS journaling
options         MD_ROOT                 # MD is a potential root device
options         NFSCLIENT               # Network Filesystem Client
options         NFSSERVER               # Network Filesystem Server
options         NFS_ROOT                # NFS usable as /, requires NFSCLIENT
options         MSDOSFS                 # MSDOS Filesystem
options         CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_PART_GPT           # GUID Partition Tables.
options         GEOM_LABEL              # Provides labelization
options         COMPAT_43TTY            # BSD 4.3 TTY compat [KEEP THIS!]
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         COMPAT_FREEBSD6         # Compatible with FreeBSD6
options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
options         KTRACE                  # ktrace(1) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.
options         STOP_NMI                # Stop CPUS using NMI instead of IPI
options         AUDIT                   # Security event auditing
options         UDF



# To make an SMP kernel, the next two lines are needed
options         SMP                     # Symmetric MultiProcessor Kernel
device          apic                    # I/O APIC
options         MPTABLE_FORCE_HTT       # Enable HTT CPUs with the MP Table
options         IPI_PREEMPTION







# CPU frequency control
device          cpufreq

# Bus support.
device          eisa
device          pci

# Floppy drives
#device         fdc

# ATA and ATAPI devices
device          ata
device          atadisk         # ATA disk drives
#device         ataraid         # ATA RAID drives
device          atapicd         # ATAPI CDROM drives
#device         atapifd         # ATAPI floppy drives
#device         atapist         # ATAPI tape drives
options         ATA_STATIC_ID   # Static device numbering


# SCSI peripherals
device          scbus           # SCSI bus (required for SCSI)
device          da              # Direct Access (disks)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI access)



# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse

device          kbdmux          # keyboard multiplexer

device          vga             # VGA video card driver

device          splash          # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device          sc

device          agp             # support several AGP chipsets

# Power management support (see NOTES for more options)
#device         apm
# Add suspend/resume support for the i8254.
device          pmtimer


# Parallel port
device          ppc
device          ppbus           # Parallel port bus (required)


# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to sio, uart and/or ppc drivers):
#device         puc


# 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          re              # RealTek 8139C+/8169/8169S/8110S



# Pseudo devices.
device          loop            # Network loopback
device          random          # Entropy device
device          ether           # Ethernet support
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
device          firmware        # firmware assist module

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device          bpf             # Berkeley packet filter

# USB support
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          ehci            # EHCI PCI->USB interface (USB 2.0)
device          usb             # USB Bus (required)
#device         udbp            # USB Double Bulk Pipe devices
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          umass           # Disks/Mass storage - Requires scbus and da

device          sound
device          snd_hda


device          atapicam
option          COMPAT_LINUX
option          LINPROCFS
option          LINSYSFS


options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)

device          acpi
device          coretemp

options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=100
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPFIREWALL_FORWARD
options         IPFIREWALL_NAT
options         DUMMYNET
options         HZ=1000

вываливается вотс с такой ошибкой когда грю make

Код: Выделить всё

cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror  ../../../vm/uma_core.c
:> hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=make sh ../../../conf/newvers.sh smp-kernel
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I../../.. -I../../../contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror  vers.c
linking kernel
ip_fw2.o(.text+0x317): In function `del_redir_spool_cfg':
: undefined reference to `LibAliasRedirectDelete'
ip_fw2.o(.text+0x1734): In function `ipfw_destroy':
: undefined reference to `LibAliasUninit'
ip_fw2.o(.text+0x1f65): In function `ipfw_ctl':
: undefined reference to `LibAliasSetMode'
ip_fw2.o(.text+0x1f7d): In function `ipfw_ctl':
: undefined reference to `LibAliasSetAddress'
ip_fw2.o(.text+0x212d): In function `ipfw_ctl':
: undefined reference to `LibAliasAddServer'
ip_fw2.o(.text+0x23d1): In function `ipfw_ctl':
: undefined reference to `LibAliasUninit'
ip_fw2.o(.text+0x2a86): In function `ipfw_ctl':
: undefined reference to `LibAliasRedirectPort'
ip_fw2.o(.text+0x2b0a): In function `ipfw_ctl':
: undefined reference to `LibAliasRedirectAddr'
ip_fw2.o(.text+0x2b4e): In function `ipfw_ctl':
: undefined reference to `LibAliasRedirectProto'
ip_fw2.o(.text+0x38c3): In function `ipfw_ctl':
: undefined reference to `LibAliasInit'
ip_fw2.o(.text+0x3b44): In function `ifaddr_change':
: undefined reference to `LibAliasSetAddress'
ip_fw2.o(.text+0x4e1e): In function `ipfw_chk':
: undefined reference to `m_megapullup'
ip_fw2.o(.text+0x4e75): In function `ipfw_chk':
: undefined reference to `LibAliasOut'
ip_fw2.o(.text+0x5c67): In function `ipfw_chk':
: undefined reference to `LibAliasIn'
*** Error code 1

Stop in /usr/src/sys/i386/compile/smp-kernel.

сырцы обновлял, че творить не наю :) первый раз такое
фря семерка на i386

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
hizel
дядя поня
Сообщения: 9032
Зарегистрирован: 2007-06-29 10:05:02
Откуда: Выборг

Re: не компилится ядро на 7ке с ipfw

Непрочитанное сообщение hizel » 2008-05-22 13:13:42

Код: Выделить всё

options         LIBALIAS
добавьте
В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.

smash_necros
мл. сержант
Сообщения: 138
Зарегистрирован: 2007-06-20 8:39:38
Контактная информация:

Re: не компилится ядро на 7ке с ipfw

Непрочитанное сообщение smash_necros » 2008-05-22 13:42:44

ну вроде пошло, а че это за байда?

Аватара пользователя
hizel
дядя поня
Сообщения: 9032
Зарегистрирован: 2007-06-29 10:05:02
Откуда: Выборг

Re: не компилится ядро на 7ке с ipfw

Непрочитанное сообщение hizel » 2008-05-22 14:13:23

В дурацкие игры он не играет. Он просто жуткий, чу-чу, паровозик, и зовут его Блейн. Блейн --- это Боль.

freewood
рядовой
Сообщения: 25
Зарегистрирован: 2011-10-30 21:49:06

Re: не компилится ядро на 7ке с ipfw

Непрочитанное сообщение freewood » 2012-02-18 7:35:37

Прошу прощения за археологию, но смежный вопрос.
На 8.2 собралось без LIBALIAS, на 9.0 без него не хочет, ругается. В чем причина?

Аватара пользователя
ADRE
майор
Сообщения: 2641
Зарегистрирован: 2007-07-26 8:53:49
Контактная информация:

Re: не компилится ядро на 7ке с ipfw

Непрочитанное сообщение ADRE » 2012-02-18 12:20:27

в том что LIBALIAS необходим, читайте про ipfw и что было добавлено
//del