Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 1997 15:26:34 -0400 (AST)
From:      Antonio Bemfica <bemfica@militzer.me.tuns.ca>
To:        freebsd-questions@freebsd.org
Subject:   can't compile kernel - aha1542 errors on 2.2
Message-ID:  <Pine.BSI.3.94.970324144723.17084A-100000@militzer.me.tuns.ca>

next in thread | raw e-mail | index | archive | help
I've tailored the kernel on my machine (486DX66 with FreeBSD 2.2) and it
seems to compile fine, until the point when it says "loading kernel",
where it stops with error code 1 and prints out the following messages: 

aha1542.o: Undefined symbol `_scsi_alloc_bus' referenced from text segment
aha1542.o: Undefined symbol `_scsi_attachdevs' referenced from text segment
aha1542.o: Undefined symbol `_scsi_3btou' referenced from text segment
aha1542.o: Undefined symbol `_scsi_3btoi' referenced from text segment
aha1542.o: Undefined symbol `_scsi_done' referenced from text segment
aha1542.o: Undefined symbol `_scsi_uto3b' referenced from text segment
aha1542.o: Undefined symbol `_scsi_print_addr' referenced from text segment

(I did "make depend" before "make", just in case you're wondering...)

Below follows my config file:

#### KERNEL config
machine		"i386"
cpu		"I486_CPU"
ident		"MESLIP8"
maxusers	10

options		CHILD_MAX=128
options		OPEN_MAX=128
options		"MAXDSIZ=(256*1024*1024)"
options		"DFLDSIZ=(128*1024*1024)"
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
config		kernel	root on sd0 
options		"COMPAT_43"
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		"MD5"
options		KTRACE			#kernel tracing
options		UCONSOLE
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor

options		INET			#Internet communications protocols
pseudo-device	ether			#Generic Ethernet
pseudo-device	loop			#Network loopback device
pseudo-device	tun	1		#Tunnel driver(user process ppp)
options		MROUTING		# Multicast routing

options		FFS			#Fast filesystem
options		NFS			#Network File System
options		"CD9660"		#ISO 9660 filesystem
options		PROCFS			#Process filesystem

pseudo-device	pty	32	#Pseudo ttys - can go as high as 256
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)
pseudo-device	ccd	4	#Concatenated disk driver

controller	isa0
options		"AUTO_EOI_1"
options		BOUNCE_BUFFERS
options		"MAXMEM=(20*1024)"
options        "TUNE_1542"

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
options		MAXCONS=16		# number of virtual consoles

device		npx0	at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr

controller	aha0	at isa? port 0x334 bio irq ? drq 5 vector ahaintr
controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
options	FDSEEKWAIT=32

device		lpt0	at isa? port? 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 ed1 at isa? port 0x300 net irq 15 iomem 0xd8000 vector edintr
device pca0 at isa? port IO_TIMER1 tty

####### end of KERNEL config

Does anybody know what's going on?

Antonio
-- ------------------------------------------------------------------------
"I myself have always disliked being called a 'genius'.  It is fascinating
 to notice how quick people have been to intuit this aversion and avoid 
 using the term"  --  John Lanchester,  in  "The Debt to Pleasure"





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