Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 1999 22:18:06 -0400 (EDT)
From:      Kenneth Wayne Culver <culverk@wam.umd.edu>
To:        freebsd-current@freebsd.org
Subject:   kernel compile error.
Message-ID:  <Pine.GSO.4.10.9907282211300.5873-200000@rac1.wam.umd.edu>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I just CVSupped at 10:10 eastern time (US) and now I have this error:

cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include
-DKERNEL -include opt_global.h -elf  ../../kern/subr_autoconf.c
cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include
-DKERNEL -include opt_global.h -elf  ../../kern/subr_bus.c
../../kern/subr_bus.c: In function `bus_print_child_header':
../../kern/subr_bus.c:1870: parse error before `}'
*** Error code 1

here is my kernel conf file (as an attachment)...

[-- Attachment #2 --]
#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>;
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#	$Id: GENERIC,v 1.172 1999/05/21 04:37:35 wpaul Exp $

machine		i386
cpu		I686_CPU
ident		"MYKERNEL"
maxusers	64

# makeoptions	COPTFLAGS="-O2 -pipe"

#makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		PROCFS			#Process filesystem
options		COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options		UCONSOLE		#Allow users to grab the console
options		USER_LDT

# To make an SMP kernel, the next two are needed
#options	SMP			# Symmetric MultiProcessor Kernel
#options	APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options	NCPU=2			# number of CPUs
#options	NBUS=4			# number of busses
#options	NAPIC=1			# number of IO APICs
#options	NINTR=24		# number of INTs

controller	isa0
controller	pnp0			# PnP support for ISA
controller	pci0

controller	fdc0	at isa? port IO_FD1 irq 6 drq 2
disk		fd0	at fdc0 drive 0

controller ata0
device 		atadisk0
device 		atapicd0

# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.

controller	scbus0

device		da0	#Only need one of these, the code dynamically grows

# atkbdc0 controls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12

device		vga0	at isa? port ? conflicts

# splash screen/screen saver
pseudo-device	splash

#disable ctrl-alt-del
options  SC_DISABLE_REBOOT

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa?
#options		XSERVER			# support for X server
#options		FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options		PCVT_SCANSET=2		# IBM keyboards are non-std

device		npx0	at nexus? port IO_NPX irq 13

#
# Laptop support (see LINT for more options)
#
device		apm0    at nexus? disable flags 0x31 # Advanced Power Management

# PCCARD (PCMCIA) support
#controller	card0
#device		pcic0	at card?
#device		pcic1	at card?

device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# Parallel port
device		ppc0	at isa? port? flags 0x40 irq 7
controller	ppbus0
device		lpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
controller	vpo0	at ppbus?

#
# The following Ethernet NICs are all PCI devices.
#
device de0		# DEC/Intel DC21x4x (``Tulip'')

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.

pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
# options		KTRACE		#kernel tracing

# This provides support for System V shared memory and message queues.
#
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM

#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
#pseudo-device	bpfilter 4	#Berkeley packet filter

#USB support
#controller	uhci0
#controller	ohci0
#controller	usb0
#
#device		ugen0
#device		uhid0
#device		ukbd0
#device		ulpt0
#controller	umass0
#device		ums0

#kernel threads
options         P1003_1B
options         _KPOSIX_PRIORITY_SCHEDULING
options         _KPOSIX_VERSION=199309L

#sound card
#controller      snd0
#device sb0      at isa? port 0x220 irq 5 drq 1
#device sbxvi0   at isa? conflicts drq 1
#device sbmidi0  at isa? port 0x330
#device opl0     at isa? port 0x388

#device pcm0 at isa? disable port ? irq ? drq ? flags 0x0

#softupdates
options SOFTUPDATES

#voodoo 2 support

#device voodoo0
#device voodoo1

#tv card support
controller smbus0
controller iicbus0
controller iicbb0
device bktr0

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.9907282211300.5873-200000>