buildkernel fails with 5.3

Hamad M. hamad at kuwaitnet.net
Sun Jan 16 02:52:38 PST 2005


Hello,

    I have been trying to build a custom kernel, but I kept getting this 
error:

===> bktr/bktr
cc -O -pipe  -D_KERNEL -DKLD_MODULE -nostdinc -I-   -include 
/usr/obj/usr/src/sys/shabab/opt_global.h -I. -I@ -I@/contrib/altq 
-I@/../include -finline-limit=8000 -fno-common  
-I/usr/obj/usr/src/sys/shabab -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c 
/usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_core.c
/usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_core.c: In 
function `vbi_read':
/usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_core.c:1261: 
error: `FNDELAY' undeclared (first use in this function)
/usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_core.c:1261: 
error: (Each undeclared identifier is reported only once
/usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_core.c:1261: 
error: for each function it appears in.)
*** Error code 1

Stop in /usr/src/sys/modules/bktr/bktr.
*** Error code 1

Any clue on how to get rid of this?

--
Regards,

Hamad


-------------- next part --------------
machine         i386
cpu             I686_CPU
ident           shabab
options         SCHED_4BSD              # 4BSD scheduler
options         INET                    # InterNETworking
options         INET6                   # IPv6 communications protocols
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         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_GPT                # GUID Partition Tables.
options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         SCSI_DELAY=15000        # 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         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~128k to driver.
options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~215k to driver.
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.
options         IPFIREWALL                      # finger the net
options         IPFIREWALL_VERBOSE              # log the net
options         IPFIREWALL_DEFAULT_TO_ACCEPT    # just what it says
options         QUOTA                   # quota
options         SMP                     # SMP
device          apic            # I/O APIC
device          isa
device          pci
device          fdc
device          ata
device          atadisk         # ATA disk drives
options         ATA_STATIC_ID   # Static device numbering
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          vga             # VGA video card driver
device          splash          # Splash screen and screen saver support
device          sc
device          agp             # support several AGP chipsets
device          npx
device          pmtimer
device          sio             # 8250, 16[45]50 based serial ports
device          ppc
device          ppbus           # Parallel port bus (required)
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device
device          em              # Intel PRO/1000 adapter Gigabit Ethernet Card
device          loop            # Network loopback
device          mem             # Memory and kernel memory devices
device          io              # I/O device
device          random          # Entropy device
device          ether           # Ethernet support
device          pty             # Pseudo-ttys (telnet etc)
device          bpf             # Berkeley packet filter
device          uhci            # UHCI PCI->USB interface
device          usb             # USB Bus (required)


More information about the freebsd-questions mailing list