Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 1997 23:28:35 -0400
From:      Remy Villeneuve <remyv@globetrotter.qc.ca>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Problems while compiling my custom kernel with SB AWE-32 support...
Message-ID:  <33C84B63.7545629D@quebectel.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi, First, let me tell you that I've been using Windows based systems
for more than 6 years, and that I'm now in LOVE with Unix systems...

I'm writing to have some help with a problem I had when I tried to
compile my custom kernel... All goes smoothly, and slowly :-), up to the
*make* step, just before the *make install*.

here's what I got each time I try to make the files...
# make
loading kernel
ioconf.o: Undefined symbol _sbdriver referenced from data segment
ioconf.o: Undefined symbol _sbmididriver referenced from data segment
ioconf.o: Undefined symbol _awedriver referenced from data segment
ioconf.o: Undefined symbol _opldriver referenced from data segment
*** Error code 1

Stop.

I'd like to know what can I do to resolve this... Being a .C soon-to-be
programmer, I've got certain notions about objects and symbols, but I
really can't figure out what's the problem.

Thanks in advance for any tips you can give me,
Sincerly,
Remy Villeneuve

P.S. My original custo kernel is included, as VIP.

[-- Attachment #2 --]
#
# VIP - Kernel pour mon P-133 avec ses peripheriques
#
# 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.8 1997/04/18 14:06:20 nate Exp $

machine		"i386"
cpu		"I586_CPU"
ident		VIP
maxusers	10

# options generales
options         "COMPAT_43"             #Compatibilite avec 4.3BSD
options         BOUNCE_BUFFERS          #Support pour les buffers DMA > 16 megs
options         UCONSOLE                #Permet aux usagers de grabber la cons.
options         SYSVSHM                 #Memoire partagee System V
options         SYSVSEM                 #Support pour semaphores de System V
options         SYSVMSG                 #Support pour messages de System V
# options de systemes de fichiers
options         FFS                     #Fast Filesystem de Berkeley
options         MSDOSFS                 #Systeme de fichiers MS-DOS
options         "CD9660"                #Systeme de fichiers ISO 9660
options         PROCFS                  #Systeme de fichiers de processus
options         NFS                     #Systeme de fichiers reseau

# options diverses
options		INET			#InterNETworking
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options         USER_LDT                #WINE Emulator

config		kernel	root on wd0

# composantes et controlleurs de base
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
# disk		fd1	at fdc0 drive 1
# tape		ft0	at fdc0 drive 2

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
disk		wd3	at wdc1 drive 1

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0	#IDE CD-ROM

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

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

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?	disable	# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS

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

# 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	log
pseudo-device	sl	1
pseudo-device	vn	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

# Carte de son
device sb0      at isa? drq5
device sbmidi0  at isa? port 0x330
device awe0     at isa? port 0x620
device opl0     at isa? port 0x388
device joy0     at isa? port "IO_GAME"
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33C84B63.7545629D>