From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 14:38:50 2004 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 910F416A4CE for ; Fri, 26 Nov 2004 14:38:50 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24D5543D31 for ; Fri, 26 Nov 2004 14:38:50 +0000 (GMT) (envelope-from gert.cuykens@gmail.com) Received: by rproxy.gmail.com with SMTP id b11so231433rne for ; Fri, 26 Nov 2004 06:38:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=UM3nDWuu4D5T7dMCMV0eNn4Kuz5YoYEAZp9thkuqlQDWObd9z8kchh75GXleg/GcC/2HiZGwsAm27SAWtZe98mbFTmrjuLam1uCJ//rLTX+ynJiXT+x1gk9TEcVhRfQ//tDEVILAK0hWka7iM4Y7+DsNdZ8+JQ0XmshHiYR8OA4= Received: by 10.38.151.74 with SMTP id y74mr524606rnd; Fri, 26 Nov 2004 06:38:49 -0800 (PST) Received: by 10.38.72.48 with HTTP; Fri, 26 Nov 2004 06:38:49 -0800 (PST) Message-ID: Date: Fri, 26 Nov 2004 15:38:49 +0100 From: Gert Cuykens To: Brian Bobowski In-Reply-To: <41A73E68.9020509@cogeco.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <001101c4d37d$38b3d9a0$1200a8c0@gsicomp.on.ca> <41A6D558.8070007@yahoo.com> <20041126085255.GA87702@xor.obsecurity.org> <41A73E68.9020509@cogeco.ca> cc: Rob cc: Joshua Lokken cc: FreeBSD cc: Kris Kennaway Subject: Re: kernel compile error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gert Cuykens List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 14:38:50 -0000 On Fri, 26 Nov 2004 09:32:08 -0500, Brian Bobowski wrote: > Joshua Lokken wrote: > > >>On Fri, Nov 26, 2004 at 04:03:52PM +0900, Rob wrote: > >> > >> > >>>Matt Emmerton wrote: > >>> > >>> > >>>Having such a mechanism, would prevent lots of beginners in the > >>>kernel compiling stuff, to get frustrated with errors like above. > >>> > >>> > >Also, as you see, it's well-documented in the kernel config file ;) > > > > > While this is true, it's also easy enough for someone to snip the > directions when slicing things out of the config file. Assuming that the > user won't do things the wrong way is a sure way to succumb to Murphy's > Law(the real one). > > The main barrier I can see to this is getting whatever parses the config > file to recognise such dependencies; as it is, it's the compiler that > runs into the problem, not the program that calls the compiler. The > compiler doesn't know where the relevant source is if not told to > include it, after all. > > -BB > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > this is how a teletubie config file look like , teletubies dont like big files the prefer small ones. machine amd64 cpu HAMMER ident GERT options SCHED_4BSD # ????? 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 NTFS # NT File System 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_IA32 # Compatible with i386 binaries 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 NO_MIXED_MODE # SK8N options ATA_STATIC_ID # Static device numbering options UDF # DJO device atpic # 8259A compatability device acpi # Bus support device isa # Bus support device pci # Bus support device fdc # Floppy drives device ata # ATA and ATAPI devices 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 device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device vga # VGA video card driver device splash # Splash screen and screen saver support device sc # syscons is the default console driver, resembling an SCO console device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus device sio # 8250, 16[45]50 based serial ports device ppc # Parallel port device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device device rl # RealTek 8129/8139 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 sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device bpf # Berkeley packet filter device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device uscanner # Scanners device rue # RealTek RTL8150 USB Ethernet device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) device fwip # DJO device sound # DJO device atapicam # DJO device snd_ich # sound sk8n