Skip site navigation (1)Skip section navigation (2)
From:      "Hunter" <hunter2k@hotbox.ru>
To:        <freebsd-questions@FreeBSD.org>
Subject:   HELP!!!
Message-ID:  <000c01c12bdf$73deb0c0$3703a8c0@artem>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C12C00.FAD96D60
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0009_01C12C00.FAD96D60"


------=_NextPart_001_0009_01C12C00.FAD96D60
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

Hi!
I like FreeBSD very much, but there are some problems.
I have tried to make my own kernel using HandBook and GENERIC.
All was well till link process started. And this error message appeared:
----------------------------
linking kernel
kbd.o: In function `kbd_register':
kbd.o(.text+0x2f6): undefined reference to `kbddriver_set'
kbd.o(.text+0x2fd): undefined reference to `kbddriver_set'
kbd.o: In function `kbd_get_switch':
kbd.o(.text+0x404): undefined reference to `kbddriver_set'
kbd.o(.text+0x409): undefined reference to `kbddriver_set'
kbd.o: In function `kbd_configure':
kbd.o(.text+0x683): undefined reference to `kbddriver_set'
kbd.o(.text+0x688): more undefined references to `kbddriver_set' follow
isa_compat.o(.data+0x4): undefined reference to `sbxvidriver'
isa_compat.o(.data+0xc): undefined reference to `awedriver'
*** Error code 1
-------------------------------
My kernel is named as "mykernel1". It has been sent with this message.
Please, HELP!!!!!!!!!!!!!!!!

With respect,           Hunter, Russia

------=_NextPart_001_0009_01C12C00.FAD96D60
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dkoi8-r" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Arial Cyr" size=3D2>Hi!</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>I like FreeBSD very much, but =
there are some=20
problems.</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>I have tried to make my own =
kernel using=20
HandBook and GENERIC.</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>All was well till link process =
started. And=20
this error message appeared:</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" =
size=3D2>----------------------------</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>linking kernel<BR>kbd.o: In =
function=20
`kbd_register':<BR>kbd.o(.text+0x2f6): undefined reference to=20
`kbddriver_set'<BR>kbd.o(.text+0x2fd): undefined reference to=20
`kbddriver_set'<BR>kbd.o: In function =
`kbd_get_switch':<BR>kbd.o(.text+0x404):=20
undefined reference to `kbddriver_set'<BR>kbd.o(.text+0x409): undefined=20
reference to `kbddriver_set'<BR>kbd.o: In function=20
`kbd_configure':<BR>kbd.o(.text+0x683): undefined reference to=20
`kbddriver_set'<BR>kbd.o(.text+0x688): more undefined references to=20
`kbddriver_set' follow<BR>isa_compat.o(.data+0x4): undefined reference =
to=20
`sbxvidriver'<BR>isa_compat.o(.data+0xc): undefined reference to=20
`awedriver'<BR>*** Error code 1</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" =
size=3D2>-------------------------------</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>My kernel is named as =
"mykernel1". It has=20
been sent with this message.</FONT></DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>Please, =
HELP!!!!!!!!!!!!!!!!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Arial CYR" size=3D2>With=20
respect,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Hunter,=20
Russia</FONT></DIV></BODY></HTML>

------=_NextPart_001_0009_01C12C00.FAD96D60--

------=_NextPart_000_0008_01C12C00.FAD96D60
Content-Type: application/octet-stream;
	name="mykernel1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="mykernel1"

#=0A=
# GENERIC -- Generic kernel configuration file for FreeBSD/i386=0A=
#=0A=
# For more information on this file, please read the handbook section on=0A=
# Kernel Configuration Files:=0A=
#=0A=
#    http://www.FreeBSD.org/handbook/kernelconfig-config.html=0A=
#=0A=
# The handbook is also available locally in /usr/share/doc/handbook=0A=
# if you've installed the doc distribution, otherwise always see the=0A=
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the=0A=
# latest information.=0A=
#=0A=
# An exhaustive list of options and more detailed explanations of the=0A=
# device lines is also present in the ./LINT configuration file. If you =
are=0A=
# in doubt as to the purpose or necessity of a line, check first in LINT.=0A=
#=0A=
# $FreeBSD: src/sys/i386/conf/mykernel1,v 1.246.2.24 2001/04/05 17:23:10 =
sos Exp $=0A=
=0A=
machine		i386=0A=
cpu		I686_CPU=0A=
ident		mykernel1=0A=
maxusers	32=0A=
=0A=
#makeoptions	DEBUG=3D-g		#Build kernel with gdb(1) debug symbols=0A=
=0A=
#options 	MATH_EMULATE		#Support for x87 emulation=0A=
options 	INET			#InterNETworking=0A=
options 	INET6			#IPv6 communications protocols=0A=
options 	FFS			#Berkeley Fast Filesystem=0A=
options 	FFS_ROOT		#FFS usable as root device [keep this!]=0A=
options 	SOFTUPDATES		#Enable FFS soft updates support=0A=
options 	MFS			#Memory Filesystem=0A=
options 	MD_ROOT			#MD is a potential root device=0A=
#options 	NFS			#Network Filesystem=0A=
#options 	NFS_ROOT		#NFS usable as root device, NFS required=0A=
options 	MSDOSFS			#MSDOS Filesystem=0A=
options 	CD9660			#ISO 9660 Filesystem=0A=
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required=0A=
options 	PROCFS			#Process filesystem=0A=
options 	NTFS			#NT File System=0A=
options 	EXT2FS=0A=
options 	SOFTUPDATES=0A=
=0A=
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]=0A=
#options 	SCSI_DELAY=3D15000	#Delay (in ms) before probing SCSI=0A=
=0A=
options 	UCONSOLE		#Allow users to grab the console=0A=
=0A=
options 	USERCONFIG		#boot -c editor=0A=
options 	VISUAL_USERCONFIG	#visual boot -c editor=0A=
=0A=
#!!!options 	KTRACE			#ktrace(1) support=0A=
=0A=
options 	SYSVSHM			#SYSV-style shared memory=0A=
options 	SYSVMSG			#SYSV-style message queues=0A=
options 	SYSVSEM			#SYSV-style semaphores=0A=
options 	P1003_1B		#Posix P1003_1B real-time extensions=0A=
options 	_KPOSIX_PRIORITY_SCHEDULING=0A=
options		ICMP_BANDLIM		#Rate limit bad replies=0A=
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev=0A=
=0A=
device		isa=0A=
device		eisa=0A=
device		pci=0A=
=0A=
# Floppy drives=0A=
device		fdc0	at isa? port IO_FD1 irq 6 drq 2=0A=
device		fd0	at fdc0 drive 0=0A=
#device		fd1	at fdc0 drive 1=0A=
=0A=
# ATA and ATAPI devices=0A=
#!!!device		ata0	at isa? port IO_WD1 irq 14=0A=
#!!!device		ata1	at isa? port IO_WD2 irq 15=0A=
device		ata=0A=
device		atadisk			# ATA disk drives=0A=
device		atapicd			# ATAPI CDROM drives=0A=
device		atapifd			# ATAPI floppy drives=0A=
options 	ATA_STATIC_ID		#Static device numbering=0A=
#options		ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices=0A=
=0A=
# atkbdc0 controls both the keyboard and the PS/2 mouse=0A=
device		atkbdc0	at isa? port IO_KBD=0A=
#!!!device		atkbd0	at atkbdc? irq 1 flags 0x1=0A=
device		psm0	at atkbdc? irq 12=0A=
=0A=
device		vga0	at isa?=0A=
=0A=
# splash screen/screen saver=0A=
pseudo-device	splash=0A=
=0A=
# syscons is the default console driver, resembling an SCO console=0A=
device		sc0	at isa? flags 0x100=0A=
	=0A=
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver=0A=
#device		vt0	at isa?=0A=
#options 	XSERVER			# support for X server on a vt console=0A=
#options 	FAT_CURSOR		# start with block cursor=0A=
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT =
lines=0A=
#options 	PCVT_SCANSET=3D2		# IBM keyboards are non-std=0A=
=0A=
# Floating point support - do not disable.=0A=
device		npx0	at nexus? port IO_NPX irq 13=0A=
=0A=
# Power management support (see LINT for more options)=0A=
#device		apm0    at nexus? disable flags 0x20 # Advanced Power Management=0A=
=0A=
# Serial (COM) ports=0A=
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4=0A=
device		sio1	at isa? port IO_COM2 irq 3=0A=
#device		sio2	at isa? disable port IO_COM3 irq 5=0A=
#device		sio3	at isa? disable port IO_COM4 irq 9=0A=
=0A=
# Parallel port=0A=
device		ppc0	at isa? irq 7=0A=
device		ppbus		# Parallel port bus (required)=0A=
device		lpt		# Printer=0A=
#device		plip		# TCP/IP over parallel=0A=
#device		ppi		# Parallel port interface device=0A=
#device		vpo		# Requires scbus and da=0A=
=0A=
=0A=
# PCI Ethernet NICs.=0A=
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)=0A=
#device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')=0A=
=0A=
# Pseudo devices - the number indicates how many units to allocate.=0A=
pseudo-device	loop		# Network loopback=0A=
pseudo-device	ether		# Ethernet support=0A=
#pseudo-device	sl	1	# Kernel SLIP=0A=
#pseudo-device	ppp	1	# Kernel PPP=0A=
#pseudo-device	tun		# Packet tunnel.=0A=
pseudo-device	pty		# Pseudo-ttys (telnet etc)=0A=
pseudo-device	md		# Memory "disks"=0A=
pseudo-device	gif	4	# IPv6 and IPv4 tunneling=0A=
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)=0A=
=0A=
# The `bpf' pseudo-device enables the Berkeley Packet Filter.=0A=
# Be aware of the administrative consequences of enabling this!=0A=
pseudo-device	bpf		#Berkeley packet filter=0A=
=0A=
# USB support=0A=
#device		uhci		# UHCI PCI->USB interface=0A=
#device		ohci		# OHCI PCI->USB interface=0A=
#device		usb		# USB Bus (required)=0A=
#device		ugen		# Generic=0A=
#device		ukbd		# Keyboard=0A=
#device		ums		# Mouse=0A=
=0A=
# Audio devices=0A=
device		pcm=0A=
device sbxvi0	at isa? drq 5=0A=
device awe0	at isa? port 0x620=0A=
=0A=
=0A=

------=_NextPart_000_0008_01C12C00.FAD96D60--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000c01c12bdf$73deb0c0$3703a8c0>