Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 1996 12:28:16 +0200
From:      v932492@si.hhs.nl
To:        questions@freebsd.org
Subject:   Kernel compiling
Message-ID:  <199610011028.MAA14906@schagen.si.hhs.nl>

Next in thread | Raw E-Mail | Index | Archive | Help
----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 4

when I try to compile my kernel I get the error message in the file "error.msg". My kernel config fil eis the file "thuis". Can you tell me what I am doing wrong?


Thanks Jeroen.
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: error.msg
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 49

Script started on Tue Oct  1 09:49:18 1996
kemp# make
loading kernel
init_sysent.o: Undefined symbol `_close' referenced from data segment
init_sysent.o: Undefined symbol `_dup' referenced from data segment
init_sysent.o: Undefined symbol `_ofstat' referenced from data segment
init_sysent.o: Undefined symbol `_getdtablesize' referenced from data segment
init_sysent.o: Undefined symbol `_dup2' referenced from data segment
init_sysent.o: Undefined symbol `_fcntl' referenced from data segment
init_sysent.o: Undefined symbol `_flock' referenced from data segment
init_sysent.o: Undefined symbol `_fstat' referenced from data segment
init_sysent.o: Undefined symbol `_fpathconf' referenced from data segment
kern_exec.o: Undefined symbol `_fdcloseexec' referenced from text segment
kern_exit.o: Undefined symbol `_fdfree' referenced from text segment
kern_fork.o: Undefined symbol `_fdcopy' referenced from text segment
kern_sysctl.o: Undefined symbol `_nfiles' referenced from text segment
kern_sysctl.o: Undefined symbol `_filehead' referenced from text segment
kern_sysctl.o: Undefined symbol `_filehead' referenced from text segment
uipc_syscalls.o: Undefined symbol `_falloc' referenced from text segment
uipc_syscalls.o: Undefined symbol `_ffree' referenced from text segment
uipc_syscalls.o: Undefined symbol `_falloc' referenced from text segment
uipc_syscalls.o: Undefined symbol `_falloc' referenced from text segment
uipc_syscalls.o: Undefined symbol `_falloc' referenced from text segment
uipc_syscalls.o: Undefined symbol `_ffree' referenced from text segment
uipc_syscalls.o: Undefined symbol `_ffree' referenced from text segment
uipc_syscalls.o: Undefined symbol `_falloc' referenced from text segment
uipc_syscalls.o: Undefined symbol `_falloc' referenced from text segment
uipc_syscalls.o: Undefined symbol `_ffree' referenced from text segment
uipc_syscalls.o: Undefined symbol `_ffree' referenced from text segment
uipc_usrreq.o: Undefined symbol `_fdavail' referenced from text segment
uipc_usrreq.o: Undefined symbol `_fdalloc' referenced from text segment
uipc_usrreq.o: Undefined symbol `_filehead' referenced from text segment
uipc_usrreq.o: Undefined symbol `_filehead' referenced from text segment
uipc_usrreq.o: Undefined symbol `_nfiles' referenced from text segment
uipc_usrreq.o: Undefined symbol `_filehead' referenced from text segment
uipc_usrreq.o: Undefined symbol `_closef' referenced from text segment
uipc_usrreq.o: Undefined symbol `_closef' referenced from text segment
vfs_syscalls.o: Undefined symbol `_falloc' referenced from text segment
vfs_syscalls.o: Undefined symbol `_ffree' referenced from text segment
vfs_syscalls.o: Undefined symbol `_dupfdopen' referenced from text segment
vfs_syscalls.o: Undefined symbol `_ffree' referenced from text segment
nfs_syscalls.o: Undefined symbol `_closef' referenced from text segment
conf.o: Undefined symbol `_fdopen' referenced from data segment
*** Error code 1

Stop.
kemp# ^Dexit

Script done on Tue Oct  1 09:49:23 1996
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: thuis
X-Sun-Charset: us-ascii
X-Sun-Content-Lines: 83

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.46.2.18 1996/07/16 08:53:04 davidg Exp $
#

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

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console

options		SYSVSHM
options		SYSVSEM
options		SYSVMSG

config		kernel	root on wd0 

controller	isa0
controller	pci0

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

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
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
# 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.1
#options		XSERVER			# include code for XFree86
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options		PCVT_SCANSET=2		# IBM keyboards are non-std

# 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		sio2	at isa? disable port "IO_COM3" tty irq 5 vector siointr
device		sio3	at isa? disable port "IO_COM4" tty irq 9 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.
device vx0
#device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
#device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
# ijppp uses tun instead of ppp device
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199610011028.MAA14906>