kernel compile error

Gert Cuykens gert.cuykens at gmail.com
Fri Nov 26 06:38:50 PST 2004


On Fri, 26 Nov 2004 09:32:08 -0500, Brian Bobowski <bbobowski at cogeco.ca> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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


More information about the freebsd-questions mailing list