Compiling freebsd7 kernel
Thiago Pollachini
grayfoxbsd at gmail.com
Sun Oct 28 12:55:15 PDT 2007
Hi folks!
This is my feedback about the new freebsd7...
------------------- cut here ----------------------
freebsd7# cat /usr/src/sys/i386/conf/GrayFox
cpu I686_CPU
ident GrayFox
options SCHED_ULE # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options INET6 # InterNETworking6
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 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 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
# CPU frequency control
device cpufreq
# Bus support.
device eisa
device pci
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
options ATA_STATIC_ID # Static device numbering
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device kbdmux # keyboard multiplexer
device vga # VGA video card driver
# 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
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device cbb # cardbus (yenta) bridge
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# 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 miibus # MII bus support
device dc # DEC/Intel 21143 and various workalikes
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
device rl # RealTek 8129/8139
device sis # Silicon Integrated Systems SiS 900/SiS
7016
device vr # VIA Rhine, Rhine II
device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'')
# Wireless NIC cards
device wlan # 802.11 support
device wlan_wep # 802.11 WEP support
device wlan_ccmp # 802.11 CCMP support
device wlan_tkip # 802.11 TKIP support
device wlan_amrr # AMRR transmit rate control algorithm
device wlan_scan_ap # 802.11 AP mode scanning
device wlan_scan_sta # 802.11 STA mode scanning
device an # Aironet 4500/4800 802.11 wireless NICs.
device ath # Atheros pci/cardbus NIC's
device ath_hal # Atheros HAL (Hardware Access Layer)
device ath_rate_sample # SampleRate tx rate control for ath
device ral # Ralink Technology RT2500 wireless NICs.
device wi # WaveLAN/Intersil/Symbol 802.11 wireless
NICs.
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device pty # Pseudo-ttys (telnet etc)
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
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #enable logging to syslogd(8)
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options IPFIREWALL_FORWARD #packet destination changes
options IPFIREWALL_NAT #ipfw kernel nat support
##options IPDIVERT #divert sockets
options IPSTEALTH #support for stealth forwarding
options DUMMYNET
options HZ=1000
#device pf #PF OpenBSD packet-filter firewall
#device pflog #logging support interface for PF
#device pfsync
#options ALTQ
#options ALTQ_CBQ # Class Bases Queueing
#options ALTQ_RED # Random Early Detection
#options ALTQ_RIO # RED In/Out
#options ALTQ_HFSC # Hierarchical Packet Scheduler
#options ALTQ_CDNR # Traffic conditioner
##options ALTQ_PRIQ # Priority Queueing
freebsd7#
-------------------------------cut here---------------------------
After make depend and on the final of make when is linking the kernel with
pf, altq and ipdivert enabled these errors appears.
Note: I've disabled them (pf,altq and ipdivert) and even.... you see....
--------------------------cut-----------
linking kernel
ip_fw2.o(.text+0x317): In function `del_redir_spool_cfg':
: undefined reference to `LibAliasRedirectDelete'
ip_fw2.o(.text+0x1b83): In function `ipfw_destroy':
: undefined reference to `LibAliasUninit'
ip_fw2.o(.text+0x23b3): In function `ipfw_ctl':
: undefined reference to `LibAliasSetMode'
ip_fw2.o(.text+0x23cb): In function `ipfw_ctl':
: undefined reference to `LibAliasSetAddress'
ip_fw2.o(.text+0x2578): In function `ipfw_ctl':
: undefined reference to `LibAliasAddServer'
ip_fw2.o(.text+0x281a): In function `ipfw_ctl':
: undefined reference to `LibAliasUninit'
ip_fw2.o(.text+0x2ec6): In function `ipfw_ctl':
: undefined reference to `LibAliasRedirectPort'
ip_fw2.o(.text+0x2f4a): In function `ipfw_ctl':
: undefined reference to `LibAliasRedirectAddr'
ip_fw2.o(.text+0x2f8e): In function `ipfw_ctl':
: undefined reference to `LibAliasRedirectProto'
ip_fw2.o(.text+0x3db2): In function `ipfw_ctl':
: undefined reference to `LibAliasInit'
ip_fw2.o(.text+0x3f44): In function `ifaddr_change':
: undefined reference to `LibAliasSetAddress'
ip_fw2.o(.text+0x4879): In function `ipfw_chk':
: undefined reference to `m_megapullup'
ip_fw2.o(.text+0x48d2): In function `ipfw_chk':
: undefined reference to `LibAliasOut'
ip_fw2.o(.text+0x6c07): In function `ipfw_chk':
: undefined reference to `LibAliasIn'
*** Error code 1
------------------------cut---------------------
That's all....
Regards!
Thiago Pollachini
More information about the freebsd-stable
mailing list