Date: Sun, 23 Sep 2001 13:05:19 +0400 From: Shlobin P <pgs@srf.ru> To: FreeBSD general questions mailing list <freebsd-questions@FreeBSD.org> Subject: making depend errors Message-ID: <17545.010923@srf.ru>
next in thread | raw e-mail | index | archive | help
Dear sirs,
I was unable to make depend on FreeBSD4.4RELEASE and FreeBSD4.4STABLE
using the following config file. Using the same file on
FreeBSD4.2RELEASE was OK. The error messages were the following:
In file included from ../../contrib/ipfilter/netinet/fil.c:71:
../../contrib/ipfilter/netinet/ip_compat.h:308: sys/osreldate.h: No such file or directory
In file included from ../../contrib/ipfilter/netinet/ip_auth.c:86:
../../contrib/ipfilter/netinet/ip_compat.h:308: sys/osreldate.h: No such file or directory
In file included from ../../contrib/ipfilter/netinet/ip_fil.c:93:
../../contrib/ipfilter/netinet/ip_compat.h:308: sys/osreldate.h: No such file or directory
In file included from ../../contrib/ipfilter/netinet/ip_frag.c:63:
../../contrib/ipfilter/netinet/ip_compat.h:308: sys/osreldate.h: No such file or directory
In file included from ../../contrib/ipfilter/netinet/ip_log.c:110:
../../contrib/ipfilter/netinet/ip_compat.h:308: sys/osreldate.h: No such file or directory
In file included from ../../contrib/ipfilter/netinet/ip_nat.c:92:
../../contrib/ipfilter/netinet/ip_compat.h:308: sys/osreldate.h: No such file or directory
In file included from ../../contrib/ipfilter/netinet/ip_proxy.c:65:
../../contrib/ipfilter/netinet/ip_compat.h:308: sys/osreldate.h: No such file or directory
In file included from ../../contrib/ipfilter/netinet/ip_state.c:75:
../../contrib/ipfilter/netinet/ip_compat.h:308: sys/osreldate.h: No such file or directory
In file included from ../../contrib/ipfilter/netinet/mlfk_ipl.c:50:
../../contrib/ipfilter/netinet/ip_compat.h:308: sys/osreldate.h: No such file or directory
mkdep: compile failed
The proper config file is:
#
# SRF -- config file for Internet server
#
# $FreeBSD: src/sys/i386/conf/GEO,v 1.0 2001/01/17 12:01:56 dif Exp $
#
machine i386 # the architecture to be configured
ident SRF # This is the ``identification'' of the kernel.
maxusers 256
options MAXDSIZ="(256*1024*1024)" # Is the maximum limit
options DFLDSIZ="(256*1024*1024)" # Is the default value for the limit
options BLKDEV_IOSIZE=8192 # BLKDEV_IOSIZE sets the default
# Options for the VM subsystem
#options PQ_NOOPT # No coloring
#options PQ_LARGECACHE # color for 512k/16k cache
#options PQ_HUGECACHE # color for 1024k/16k cache
#options PQ_MEDIUMCACHE # color for 64k/16k cache
#options PQ_NORMALCACHE # color for 256k/16k cache
#
#options INCLUDE_CONFIG_FILE # Include this file in kernel
#####################################################################
# SMP OPTIONS:
#
# Mandatory:
#options SMP # Symmetric MultiProcessor Kernel
#options APIC_IO # Symmetric (APIC) I/O
# Optional, these are the defaults plus 1:
#options NCPU=2 # number of CPUs
#options NBUS=5 # number of busses
#options NAPIC=1 # number of IO APICs
#options NINTR=24 # number of INTs
#####################################################################
# CPU OPTIONS
#
cpu I586_CPU # aka Pentium(tm)
cpu I686_CPU # aka Pentium Pro(tm)
#
# Options for CPU features.
#
# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
# reorder). This option should not be used if you use memory mapped
# I/O device(s).
#
# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
#
# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
# executed. This should be included for ALL kernels that won't run
# on a Pentium.
#
#options CPU_DISABLE_5X86_LSSER
options CPU_FASTER_5X86_FPU
#options NO_F00F_HACK
#
#options MATH_EMULATE #Support for x87 emulation
# Don't enable both of these in a real config.
#options GPL_MATH_EMULATE #Support for x87 emulation via
#new math emulator
#####################################################################
# COMPATIBILITY OPTIONS
options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!]
options USER_LDT #allow user-level control of i386 ldt (for the WINE)
# These three options provide support for System V Interface
#
# System V shared memory and tunable parameters
options SYSVSHM # include support for shared memory
#options SHMMAXPGS=1025 # max amount of shared memory pages (4k on i386)
#options SHMALL=1025 # max amount of shared memory (bytes)
#options SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
# max shared memory segment size (bytes)
#options SHMMIN=2 # min shared memory segment size (bytes)
#options SHMMNI=33 # max number of shared memory identifiers
#options SHMSEG=9 # max shared memory segments per process
# System V semaphores and tunable parameters
options SYSVSEM # include support for semaphores
#options SEMMAP=31 # amount of entries in semaphore map
#options SEMMNI=11 # number of semaphore identifiers in the system
#options SEMMNS=61 # number of semaphores in the system
#options SEMMNU=31 # number of undo structures in the system
#options SEMMSL=61 # max number of semaphores per id
#options SEMOPM=101 # max number of operations per semop call
#options SEMUME=11 # max number of undo entries per process
# System V message queues and tunable parameters
options SYSVMSG # include support for message queues
#options MSGMNB=2049 # max characters per message
#options MSGMNI=41 # max number of message queue identifiers
#options MSGSEG=2049 # max number of message segments in the system
#options MSGSSZ=16 # size of a message segment MUST be power of 2
#options MSGTQL=41 # max amount of messages in the system
#####################################################################
# DEBUGGING OPTIONS
options KTRACE #kernel tracing
#options PERFMON # for Pentium/Pentium Pro performance counters
options UCONSOLE #Allow users to grab the console
#options USERCONFIG #boot -c editor
#options INTRO_USERCONFIG #imply -c and show intro screen
#options VISUAL_USERCONFIG #visual boot -c editor
options ROOTDEVNAME=\"ufs:da0s2a\"
#####################################################################
# NETWORKING OPTIONS
#
# Protocol families:
# Only the INET (Internet) family is officially supported in FreeBSD.
#
options INET #Internet communications protocols
options INET6 #IPv6 communications protocols
options IPSEC #IP security
options IPSEC_ESP #IP security (crypto; define w/ IPSEC)
#options IPSEC_DEBUG #debug for IP security
#options IPX #IPX/SPX communications protocols
#options IPXIP #IPX in IP encapsulation (not available)
#options IPTUNNEL #IP in IPX encapsulation (not available)
#options NCP #NetWare Core protocol
#options NETATALK #Appletalk communications protocols
# netgraph(4). Enable the base netgraph code with the NETGRAPH option.
# Individual node types can be enabled with the corresponding option
# listed below; however, this is not strictly necessary as netgraph
# will automatically load the corresponding KLD module if the node type
# is not already compiled into the kernel. Each type below has a
# corresponding man page, e.g., ng_async(8).
#options NETGRAPH #netgraph(4) system
#options NETGRAPH_ASYNC
#options NETGRAPH_BPF
#options NETGRAPH_CISCO
#options NETGRAPH_ECHO
#options NETGRAPH_FRAME_RELAY
#options NETGRAPH_HOLE
#options NETGRAPH_IFACE
#options NETGRAPH_KSOCKET
#options NETGRAPH_LMI
#options NETGRAPH_PPP
#options NETGRAPH_PPPOE
#options NETGRAPH_PPTPGRE
#options NETGRAPH_RFC1490
#options NETGRAPH_SOCKET
#options NETGRAPH_TEE
#options NETGRAPH_TTY
#options NETGRAPH_UI
#options NETGRAPH_VJC
#
# Network interfaces:
#
pseudo-device ether #Generic Ethernet
pseudo-device loop #Network loopback device
pseudo-device bpf 16 #Berkeley packet filter
pseudo-device sl 2 #Serial Line IP
pseudo-device ppp 2 #Point-to-point protocol
options PPP_BSDCOMP #PPP BSD-compress support
options PPP_DEFLATE #PPP zlib/deflate/gzip support
options PPP_FILTER #enable bpf filtering (needs bpf)
#pseudo-device ef # Multiple ethernet frames support
#options ETHER_II # enable Ethernet_II frame
#options ETHER_8023 # enable Ethernet_802.3 (Novell) frame
#options ETHER_8022 # enable Ethernet_802.2 frame
#options ETHER_SNAP # enable Ethernet_802.2/SNAP frame
# for IPv6
#pseudo-device gif 4 #IPv6 and IPv4 tunneling
#pseudo-device faith 1 #for IPv6 and IPv4 translation
#pseudo-device stf 1 # 6 to 4 IPv6 over IPv4 encapsulation
#
# Internet family options:
#
#options TCP_COMPAT_42 #emulate 4.2BSD TCP bugs
options MROUTING # Multicast routing
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #print information about dropped packets
options IPFIREWALL_FORWARD #enable transparent proxy support
options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
#options IPV6FIREWALL #firewall for IPv6
#options IPV6FIREWALL_VERBOSE
#options IPV6FIREWALL_VERBOSE_LIMIT=100
#options IPV6FIREWALL_DEFAULT_TO_ACCEPT
options IPDIVERT #divert sockets
options IPFILTER #ipfilter support
options IPFILTER_LOG #ipfilter logging
options IPSTEALTH #support for stealth forwarding
#options TCPDEBUG
# Statically Link in accept filters
options ACCEPT_FILTER_DATA
options ACCEPT_FILTER_HTTP
# The options add sysctl variables for controlling how certain
# TCP packets are handled.
options TCP_DROP_SYNFIN #drop TCP packets with SYN+FIN
#options TCP_RESTRICT_RST #restrict emission of TCP RST
options ICMP_BANDLIM #enables icmp error response bandwidth limiting
options DUMMYNET
options BRIDGE
#####################################################################
# FILESYSTEM OPTIONS
options FFS #Fast filesystem
options FFS_ROOT #FFS usable as root device
options MFS #Memory File System
options MD_ROOT #MD is a potential root device
options NFS #Network File System
options NFS_ROOT #NFS usable as root device
options NFS_NOSERVER #Disable the NFS-server code.
options CD9660 #ISO 9660 filesystem
options CD9660_ROOT #CD-ROM usable as root device
options MSDOSFS #MS DOS File System
#options NTFS #NT File System
#options NWFS #NetWare filesystem
options EXT2FS # filesystem of Linux fame
options PROCFS #Process filesystem
options SOFTUPDATES # Read ../../ufs/ffs/README.softupdates
options NSWAPDEV=20 # Allow this many swap-devices
options QUOTA # Enable disk quotas
#options SUIDDIR # Using SAMBA
# NFS options:
#options NFS_MINATTRTIMO=3 # VREG attrib cache timeout in sec
#options NFS_MAXATTRTIMO=60
#options NFS_MINDIRATTRTIMO=30 # VDIR attrib cache timeout in sec
#options NFS_MAXDIRATTRTIMO=60
#options NFS_GATHERDELAY=10 # Default write gather delay (msec)
#options NFS_UIDHASHSIZ=29 # Tune the size of nfssvc_sock with this
#options NFS_WDELAYHASHSIZ=16 # and with this
#options NFS_MUIDHASHSIZ=63 # Tune the size of nfsmount with this
#options NFS_DEBUG # Enable NFS Debugging
#####################################################################
# POSIX P1003.1B , Real time extensions added in the 1993 Posix
options P1003_1B # P1003_1B: Infrastructure
options _KPOSIX_PRIORITY_SCHEDULING # Built in _POSIX_PRIORITY ...
options _KPOSIX_VERSION=199309L # Version kernel is built
#####################################################################
# MISCELLANEOUS DEVICES AND OPTIONS
# The `pty' device usually turns out to be ``effectively mandatory'',
# as it is required for `telnetd', `rlogind', `screen', `emacs', and
# `xterm', among others.
pseudo-device pty #Pseudo ttys
pseudo-device speaker #Play IBM BASIC-style noises out your speaker
pseudo-device gzip #Exec gzipped a.out's
pseudo-device vn #Vnode driver (turns a file into a device)
pseudo-device snp 3 #Snoop device - to look at pty/vty/etc..
pseudo-device ccd 4 #Concatenated disk driver
# Size of the kernel message buffer. Should be N * pagesize.
options MSGBUF_SIZE=40960
#####################################################################
# HARDWARE DEVICE CONFIGURATION
# ISA and EISA devices:
device isa
options AUTO_EOI_1 # feature for the master 8259A
options AUTO_EOI_2 # feature for the slave 8259A
options MAXMEM="(64*1024)"
options NTIMECOUNTER=20
device atkbdc0 at isa? port IO_KBD # controls the keyboard and the PS/2 mouse
device atkbd0 at atkbdc? irq 1 # The AT keyboard
device psm0 at atkbdc? irq 12 # PS/2 mouse
options PSM_RESETAFTERSUSPEND #reset the device at the resume event
device vga0 at isa? # The video card driver
pseudo-device splash # Splash screen at start up!
# The pcvt console driver (vt220 compatible).
#device vt0 at isa?
options XSERVER # support for running an X server on vt
options FAT_CURSOR # start with block cursor
# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops
options PCVT_SCANSET=2 # IBM keyboards are non-std
# Other PCVT options are documented in pcvt(4).
#options PCVT_24LINESDEF
#options PCVT_CTRL_ALT_DEL
#options PCVT_EMU_MOUSE
options PCVT_FREEBSD=211
#options PCVT_META_ESC
options PCVT_NSCREENS=12
options PCVT_PRETTYSCRNS
options PCVT_SCREENSAVER
options PCVT_USEKBDSEC
#options PCVT_VT220KEYB
# The syscons console driver (sco color console compatible).
device sc0 at isa?
options MAXCONS=12 # number of virtual consoles
#options SC_ALT_MOUSE_IMAGE # simplified mouse cursor in text mode
#options SC_DFLT_FONT # compile font in
#makeoptions SC_DFLT_FONT=cp850
options SC_DISABLE_DDBKEY # disable `debug' key
#options SC_DISABLE_REBOOT # disable reboot key sequence
options SC_HISTORY_SIZE=200 # number of history buffer lines
options SC_MOUSE_CHAR=0x3 # char code for text mode mouse cursor
options SC_PIXEL_MODE # add support for the raster text mode
#options SC_TWOBUTTON_MOUSE # two button mouse
# The following options will let you change the default colors of syscons.
#options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
#options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
#options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
#options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
# You can selectively disable features in syscons.
#options SC_NO_CUTPASTE
#options SC_NO_FONT_LOADING
#options SC_NO_HISTORY
#options SC_NO_SYSMOUSE
# The Numeric Processing eXtension driver.
device npx0 at nexus? port IO_NPX flags 0x0 irq 13
# ATA and ATAPI devices
device ata0 at isa? port IO_WD1 irq 14
device ata1 at isa? port IO_WD2 irq 15
device ata
device atadisk # ATA disk drives
device atapicd # ATAPI CDROM drives
device atapifd # ATAPI floppy drives
options ATA_STATIC_ID # Static device numbering
#options ATA_ENABLE_ATAPI_DMA # Enable DMA on ATAPI devices
options IDE_DELAY=8000 # Get a faster probe
# Floppy drives
device fdc0 at isa? port IO_FD1 irq 6 drq 2
device fd0 at fdc0 drive 0
# Serial (COM) ports
device sio0 at isa? port IO_COM1 flags 0x10 irq 4
device sio1 at isa? port IO_COM2 irq 3
options CONSPEED=9600 #default speed for serial console
# Parallel-Port Bus
device ppc0 at isa? irq 7 # ISA-bus parallel port interfaces
options PPC_PROBE_CHIPSET # Enable chipset specific detection
options DEBUG_1284 # IEEE1284 signaling protocol debug
options PERIPH_1284 # Makes your computer act as a IEEE1284
# compliant peripheral
options DONTPROBE_1284 # Avoid boot detection of PnP parallel devices
#options PPC_DEBUG # Parallel chipset level debug
device ppbus # Parallel port bus (required)
#device vpo # Iomega Zip Drive (requires scbus and da)
#options VP0_DEBUG # ZIP/ZIP+ debug
device lpt # Printer
#options LPT_DEBUG # Printer driver debug
#device plip # TCP/IP over parallel
#options PLIP_DEBUG # Parallel network IP interface debug
#device ppi # Parallel port interface device
#device pps # Pulse per second Timing Interface
#device pcfclock
#options PCFCLOCK_VERBOSE # Verbose pcfclock driver
#options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10)
# Network interfaces:
#device ed0 at isa? port 0x280 irq 5 iomem 0xd8000
# PCI devices & PCI options:
#
device pci
#options PCI_QUIET #quiets PCI code on chipset settings
# PCI SCSI host controllers
#device ahc # AHA2940 and onboard AIC7xxx devices
#device mlx # Mylex DAC960 (RAID)
# PCI Ethernet
device miibus
#device de # DEC/Intel DC21x4x (``Tulip'')
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
#
# System Management Bus support provided by the 'smbus' device.
#
#
#device smbus # Bus support, required for smb below.
#device intpm # SMB interface
#device smb # SMB standard io device
#####################################################################
# SCSI DEVICES
# SCSI DEVICE CONFIGURATION
#device ahc0 # AHA2940 and onboard AIC7xxx devices
#device scbus0 at ahc0 bus 0 # AIC-7896 bus 0 U2W SCSI
#device scbus1 at ahc0 bus 1 # AIC-7896 bus 1 UW SCSI
#device da #SCSI direct access devices (aka disks)
#device cd #SCSI CD-ROMs
#device ch #SCSI media changers
#device sa #SCSI tapes
#device pass #CAM passthrough driver
#device pt #SCSI processor type
# SCSI options:
#options SCSI_NO_SENSE_STRINGS
#options SCSI_NO_OP_STRINGS
#options SCSI_DELAY=15000 # Be pessimistic about Joe SCSI device
# CAM options:
#
# debugging options:
#options CAMDEBUG
#options CAM_DEBUG_BUS=-1
#options CAM_DEBUG_TARGET=-1
#options CAM_DEBUG_LUN=-1
#options CAM_DEBUG_FLAGS="CAM_DEBUG_INFO|CAM_DEBUG_TRACE|CAM_DEBUG_CDB"
#options CAM_MAX_HIGHPOWER=4
# Options for the CAM CDROM driver:
#options CHANGER_MIN_BUSY_SECONDS=2
#options CHANGER_MAX_BUSY_SECONDS=10
# Options for the CAM sequential access driver:
#options SA_SPACE_TIMEOUT="(60)"
#options SA_REWIND_TIMEOUT="(2*60)"
#options SA_ERASE_TIMEOUT="(4*60)"
#options SA_1FM_AT_EOD
# Optional timeout for the CAM processor target (pt) device
# This is specified in seconds. The default is 60 seconds.
#options SCSI_PT_DEFAULT_TIMEOUT="60"
# Optional enable of doing SES passthrough on other devices (e.g., disks)
#
# Normally disabled because a lot of newer SCSI disks report themselves
# as having SES capabilities, but this can then clot up attempts to build
# build a topology with the SES device that's on the box these drives
# are in....
#options SES_ENABLE_PASSTHROUGH
#####################################################################
# Kernel BOOTP support
#options BOOTP # Use BOOTP to obtain IP address/hostname
#options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
#options BOOTP_NFSV3 # Use NFS v3 to NFS mount root
#options BOOTP_COMPAT # Workaround for broken bootp daemons.
#options BOOTP_WIRED_TO=fxp0 # Use interface fxp0 for BOOTP
#
#options HW_WDOG # Add tie-ins for a hardware watchdog
#options PMAP_SHPGPERPROC=201 # Set the number of PV entries per process
#options NO_SWAPPING # Disable swapping
#options NSFBUFS=32768 # Set the number of virtual buffers for
# sendfile(2) (16*MAXUSERS+512)
#options DEBUG_LOCKS # Enable extra debugging code for locks
# USB support
#device uhci # UHCI PCI->USB interface
#device ohci # OHCI PCI->USB interface
#device usb # General USB code (required)
#device ugen # Generic USB device driver
#device ukbd # Keyboard
#device ulpt # Printer
#device umass # USB Zip 100 Drive (requires scbus and da)
#device ums # USB mouse
#device aue # ADMtek USB ethernet (D-Link DSB-650TX)
# debugging options for the USB subsystem
#
#options UHCI_DEBUG
#options OHCI_DEBUG
#options USB_DEBUG
#options UGEN_DEBUG
#options UHID_DEBUG
#options UHUB_DEBUG
#options UKBD_DEBUG
#options UKBD_DFLT_KEYMAP # specify the built-in keymap
#makeoptions UKBD_DFLT_KEYMAP=it.iso
#options ULPT_DEBUG
#options UMASS_DEBUG
#options UMS_DEBUG
# An embedded system might want to run something other than init.
options INIT_PATH="/sbin/init:/stand/sysinstall"
--
Best regards,
Shlobin Pavel mailto:pgs@srf.ru
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17545.010923>
