From owner-freebsd-questions@FreeBSD.ORG Sun Jan 16 10:52:38 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B4AA16A4CE for ; Sun, 16 Jan 2005 10:52:38 +0000 (GMT) Received: from orbit.kuwaitnet.net (orbit.kuwaitnet.net [216.40.249.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBB5C43D31 for ; Sun, 16 Jan 2005 10:52:37 +0000 (GMT) (envelope-from hamad@kuwaitnet.net) Received: from [62.150.223.52] (helo=[127.0.0.1]) by orbit.kuwaitnet.net with esmtp (Exim 4.43) id 1Cq81H-0007sw-Co for freebsd-questions@freebsd.org; Sun, 16 Jan 2005 13:52:32 +0300 Message-ID: <41EA4772.7020104@kuwaitnet.net> Date: Sun, 16 Jan 2005 13:52:34 +0300 From: "Hamad M." User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary="------------080505020302060907040907" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orbit.kuwaitnet.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kuwaitnet.net X-Source: X-Source-Args: X-Source-Dir: Subject: buildkernel fails with 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2005 10:52:38 -0000 This is a multi-part message in MIME format. --------------080505020302060907040907 Content-Type: text/plain; charset=ISO-8859-6; format=flowed Content-Transfer-Encoding: 7bit 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 --------------080505020302060907040907 Content-Type: text/plain; name="kernelconfig" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="kernelconfig" 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) --------------080505020302060907040907--