Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 1997 10:51:03 +0100
From:      "Jose M. Alcaide" <jose@we.lc.ehu.es>
To:        freebsd-questions@FreeBSD.ORG
Subject:   I cannot rebuild kernel after updating sources to 2.2.5
Message-ID:  <34570707.E706738C@we.lc.ehu.es>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------13DB041EA25C6E895F642599
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

I have just updated the FreeBSD sources from 2.2.2_RELEASE to 2.2.5_RELEASE.
I made the world, merged/copied carefully the /etc directory, etc. Then,
I tried to build the new 2.2.5 kernel, using the same custom configuration file
(which I send attached to this message), The config command run fine. Then,
I typed the "make depend" command, which crashed shortly with the
following messages:

--- blah, blah... ----
lex -t  ../../dev/aic7xxx/aicasm_scan.l > aicasm_scan.c
cc -O -m486 -pipe -I.   -c aicasm_scan.c
../../dev/aic7xxx/aicasm_scan.l: In function `yylex':
../../dev/aic7xxx/aicasm_scan.l:68: `T_DOWNLOAD' undeclared (first use this function)
../../dev/aic7xxx/aicasm_scan.l:68: (Each undeclared identifier is reported only once
../../dev/aic7xxx/aicasm_scan.l:68: for each function it appears in.)
*** Error code 1
Stop.

I thought that there was something wrong in my config file, so that I tried
a kernel rebuild using GENERIC... and it also crashed at the same point!!!
My next step was checking that CVsup updated properly the src-sys package,
so I run CVsup again: it didn't apply any changes to the sources.

I would be very grateful if you could help me.

Regards,
-- JM
-----------------------------------------------------------------------
Jose M. Alcaide                         | E-mail: <jose@we.lc.ehu.es>
Universidad del Pais Vasco              | http://www.we.lc.ehu.es/~jose
Dpto. de Electricidad y Electronica     |
Facultad de Ciencias - Campus de Lejona | Tel.:  +34-4-4647700 x2624
48940 Lejona (Vizcaya) - SPAIN          | Fax:   +34-4-4858139
-----------------------------------------------------------------------
               "Go ahead... make my day." - H. Callahan
--------------13DB041EA25C6E895F642599
Content-Type: text/plain; charset=us-ascii; name="TIBURON"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="TIBURON"

#
# 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.77.2.4 1997/02/22 20:31:24 joerg Exp $

machine		"i386"
cpu		"I686_CPU"
ident		TIBURON
maxusers	10

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		NFS_NOSERVER		#Disable the NFS-server code.
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options         MFS                     #Memory File System
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=5		#Be optimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options		SYSVSHM			#System V shared memory

# Ojito con estas opciones del controlador SCSI:
options		AHC_TAGENABLE
options		AHC_ALLOW_MEMIO
options		AHC_SCBPAGING_ENABLE

config		kernel	root on sd0

controller	isa0
controller	eisa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

# A single entry for any of these controllers (ncr, ahb, ahc, amd) is
# sufficient for any number of installed devices.
controller	ahc0
controller	scbus0
device		sd0
device		cd0	#Only need one of these, the code dynamically grows

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

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		lpt0	at isa? port? tty irq 7 vector lptintr

device		psm0	at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr

# 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.
device vx0

pseudo-device	loop
pseudo-device	ether
pseudo-device	bpfilter	4	#Berkeley packet filter
pseudo-device	log
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

# Controls all sound devices
#controller      snd0
#device sb0      at isa? port 0x220 irq 5 drq 1 vector sbintr
#options		SBC_IRQ=5
#device opl0     at isa? port 0x388

--------------13DB041EA25C6E895F642599--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34570707.E706738C>