Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 1995 23:44:30 -0400 (EDT)
From:      Charlie ROOT <root@debian.cps.cmich.edu>
To:        freebsd-hackers@freebsd.org
Subject:   Help me please.. :)
Message-ID:  <Pine.BSF.3.91.950711233948.2270A-100000@debian.cps.cmich.edu>

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

OK I am trying to compile a kernel but I am getting errors.

I am running June SNAP of 2.0.5...
Machine is a P5-90 ASUS PCI/I-P54TP4 with 32megs of RAM
a 1542 SCSI adaptec and NCR PCI
SMC Ultra card. #9 GXE 64 video card....






Here are the errors I am receiving




debian# make
cc -O2 -I/usr/src/sys/libkern -I/usr/src/sys/libkern/.. -DKERNEL -c 
adddi3.c -o adddi3.o
In file included from quad.h:57,
                 from adddi3.c:40:
/usr/src/sys/libkern/../sys/types.h:72: parse error before `off_t'
/usr/src/sys/libkern/../sys/types.h:72: warning: data definition has no 
type or storage class
/usr/src/sys/libkern/../sys/types.h:73: parse error before `pid_t'
/usr/src/sys/libkern/../sys/types.h:73: warning: data definition has no 
type or storage class
*** Error code 1

Stop.
*** Error code 1

Stop.
debian# 


And here is the config file I am using
machine		"i386"
cpu		"I586_CPU"		# aka Pentium(tm)

# 
# This is the ``identification'' of the kernel.  Usually this should
# be the same as the name of your kernel.
#
ident		DEBIAN	

#
# The `maxusers' parameter controls the static sizing of a number of
# internal system tables by a complicated formula defined in param.c.
#
maxusers	100
options		"CHILD_MAX=128"
options		"OPEN_MAX=128"

# This directive defines a number of things:
#  - The compiled kernel is to be called `kernel'
#  - The root filesystem might be on partition wd0a
#  - Crash dumps will be written to wd0b, if possible.  Specifying the
#    dump device here is not recommended.  Use dumpon(8).
#
config		kernel	root on sd0 dumps on sd0


#####################################################################
# COMPATIBILITY OPTIONS                                             

#
# Implement system calls compatible with 4.3BSD and older versions of
# FreeBSD.
#
options		"COMPAT_43"

#
# Allow ordinary users to take the console - this is useful for X.
options		UCONSOLE

options		INET			#Internet communications protocols

pseudo-device	ether			#Generic Ethernet
pseudo-device	loop			#Network loopback device
pseudo-device	bpfilter	4	#Berkeley packet filter
pseudo-device	disc			#Discard device
pseudo-device	tun	1		#Tunnel driver(user process ppp)

options		"TCP_COMPAT_42"		#emulate 4.2BSD TCP bugs


# One of these is mandatory:
options		FFS			#Fast filesystem
options		NFS			#Network File System

# The rest are optional:
options		NQNFS			#Enable NQNFS lease checking
options		"CD9660"		#ISO 9660 filesystem
options		MSDOSFS			#MS DOS File System
options		PROCFS			#Process filesystem

# Allow this many swap-devices.
options		"NSWAPDEV=6"

# Disk quotas are supported when this option is enabled.  If you
# change the value of this option, you must do a `make clean' in your
# kernel compile directory in order to get a working kernel.
#

controller	scbus0	#base SCSI code
device		sd0	#SCSI disks
device		st0	#SCSI tapes
device		cd0	#SCSI CD-ROMs

pseudo-device	pty	64	#Pseudo ttys - can go as high as 64
pseudo-device	speaker		#Play IBM BASIC-style noises out your speaker
pseudo-device	log		#Kernel syslog interface (/dev/klog)
#pseudo-device	gzip		#Exec gzipped a.out's
pseudo-device	vn		#Vnode driver (turns a file into a device)

controller	isa0
options		"AUTO_EOI_1"
options		"AUTO_EOI_2"
options		BOUNCE_BUFFERS
#options	DUMMY_NOPS
options        "TUNE_1542"

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		"PCVT_FREEBSD=210"	# pcvt running on FreeBSD 2.0.5
#options		XSERVER			# include code for XFree86
#options		FAT_CURSOR		# start with block cursor

# The syscons console driver (sco color console compatible) - default.
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

#
# Options for `sc':
#
# HARDFONTS allows the driver to load an ISO-8859-1 font to replace
# the default font in your display adapter's memory.
#
options		HARDFONTS
#
# MAXCONS is maximum number of virtual consoles, no more than 16
# default value: 12
#
options         "MAXCONS=16"

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Optional ISA and EISA devices:
#

#
# SCSI host adapters: `aha', `ahb', `aic', `bt', `nca'
#
# aha: Adaptec 154x
# ahb: Adaptec 174x
# ahc: Adaptec 274x/284x/294x
# aic: Adaptec 152x and sound cards using the Adaptec AIC-6360 (slow!)
# bt: Most Buslogic controllers
# nca: ProAudioSpectrum cards using the NCR 5380 or Trantor T130
# uha: UltraStore 14F and 34F
# sea: Seagate ST01/02 8 bit controller (slow!)
# wds: Western Digital WD7000 controller (no scatter/gather!).
#
# Note that the order is important in order for Buslogic cards to be
# probed correctly.
#

controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr

#
# ST-506, ESDI, and IDE hard disks: `wdc' and `wd'
#
# NB: ``Enhanced IDE'' is NOT supported at this time.
#
# The flags fields are used to enable the multi-sector I/O and
# the 32BIT I/O modes.  The flags may be used in either the controller
# definition or in the individual disk definitions.  The controller
# definition is supported for the boot configuration stuff.
#
# Each drive has a 16 bit flags value defined:
#	The low 8 bits are the maximum value for the multi-sector I/O,
#	where 0xff defaults to the maximum that the drive can handle.
#	The high bit of the 16 bit flags (0x8000) allows probing for
#	32 bit transfers.
#
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0


#
# Options for `fd':
#
# FDSEEKWAIT selects a non-default head-settle time (i.e., the time to
# wait after a seek is performed).  The default value (1/32 s) is
# usually sufficient.  The units are inverse seconds, so a value of 16
# here means to wait 1/16th of a second; you should choose a power of
# two.
#
options	FDSEEKWAIT="16"

#
# Other standard PC hardware: `lpt', `mse', `psm', `sio', etc.
#
# lpt: printer port
# mse: Logitech and ATI InPort bus mouse ports
# psm: PS/2 mouse port [note: conflicts with sc0/vt0, thus "conflicts" keywd]
# sio: serial ports (see sio(4))

device		lpt0	at isa? port "IO_LPT3" tty irq 7 vector lptintr
device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device ed0 at isa? port 0x300 net irq 10 iomem 0xcc000 vector edintr
controller	pci0
device		ncr0
options		PROBE_VERBOSE






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950711233948.2270A-100000>