Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!news.cs.indiana.edu!sgiblab!tsoft!barfeau From: bbs.barfeau@tsoft.sf-bay.org (David Fox) Subject: problems compiling/linking kernel Message-ID: <2R1gTB1w165w@tsoft.sf-bay.org> Sender: bbs@tsoft.sf-bay.org (BBS User) Organization: The TSoft BBS and Public Access Unix, +1 415 969 8238 Date: Fri, 30 Oct 1992 18:48:48 GMT Lines: 270 Hi *, I am still no closer to building the kernel successfully than I was a week or so ago. I've tried suggestions, and now I am totally confused. I am still getting many unresolved external errors, as the following inclusion from make will show. What I did in this latest try was to get rid of the YOURCONF and GENERICISA subdirectories created from the config process, cp'ed GENERICISA to YOURCONF, added the lines I needed (like lpt), config YOURCONF, cd /sys/compile/YOURCONF, make depend, make. Here's what make finally spat out. Where are these symbols defined? loading 386bsd locore.o: Undefined symbol _bootdev referenced from text segment locore.o: Undefined symbol _init386 referenced from text segment locore.o: Undefined symbol __ucodesel referenced from text segment locore.o: Undefined symbol __udatasel referenced from text segment locore.o: Undefined symbol _CMAP2 referenced from text segment locore.o: Undefined symbol _CMAP2 referenced from text segment locore.o: Undefined symbol _CMAP2 referenced from text segment locore.o: Undefined symbol _trap referenced from text segment locore.o: Undefined symbol _syscall referenced from text segment locore.o: Undefined symbol __udatasel referenced from text segment locore.o: Undefined symbol _wdintr referenced from text segment locore.o: Undefined symbol _fdintr referenced from text segment locore.o: Undefined symbol _asintr referenced from text segment locore.o: Undefined symbol _npxintr referenced from text segment locore.o: Undefined symbol _comintr referenced from text segment locore.o: Undefined symbol _comintr referenced from text segment locore.o: Undefined symbol _weintr referenced from text segment locore.o: Undefined symbol _neintr referenced from text segment locore.o: Undefined symbol _ecintr referenced from text segment locore.o: Undefined symbol _isintr referenced from text segment locore.o: Undefined symbol _wtintr referenced from text segment locore.o: Undefined symbol _trap referenced from text segment locore.o: Undefined symbol _isa_strayintr referenced from text segment locore.o: Undefined symbol _isa_strayintr referenced from text segment locore.o: Undefined symbol _isa_strayintr referenced from text segment locore.o: Undefined symbol _isa_strayintr referenced from text segment locore.o: Undefined symbol _isa_strayintr referenced from text segment locore.o: Undefined symbol _isa_strayintr referenced from text segment locore.o: Undefined symbol _isa_strayintr referenced from text segment locore.o: Undefined symbol _isa_strayintr referenced from text segment locore.o: Undefined symbol _isa_strayintr referenced from text segment locore.o: More undefined symbol _isa_strayintr refs follow init_main.o: Undefined symbol _startrtclock referenced from text segment init_main.o: Undefined symbol _version referenced from text segment init_main.o: Undefined symbol _cpu_startup referenced from text segment init_main.o: Undefined symbol _pmap_pinit referenced from text segment init_main.o: Undefined symbol _enablertclock referenced from text segment init_sysent.o: Undefined symbol _sigreturn referenced from data segment kern_clock.o: Undefined symbol _setsoftclock referenced from text segment kern_execve.o: Undefined symbol _dostacklimits referenced from text segment kern_execve.o: Undefined symbol _copyinstr referenced from text segment kern_execve.o: Undefined symbol _dostacklimits referenced from text segment kern_execve.o: Undefined symbol _setregs referenced from text segment kern_execve.o: Undefined symbol _dostacklimits referenced from text segment kern_exit.o: Undefined symbol _cpu_exit referenced from text segment kern_exit.o: Undefined symbol _cpu_wait referenced from text segment kern__physio.o: Undefined symbol _physstrat referenced from text segment kern_prot.o: Undefined symbol _copyinstr referenced from text segment kern_sig.o: Undefined symbol _sendsig referenced from text segment kern_sig.o: Undefined symbol _sendsig referenced from text segment kern_time.o: Undefined symbol _microtime referenced from text segment kern_xxx.o: Undefined symbol _boot referenced from text segment subr_prf.o: Undefined symbol _boot referenced from text segment subr_prf.o: Undefined symbol _msgbufmapped referenced from text segment subr_prf.o: Undefined symbol _cnputc referenced from data segment vfs_cache.o: Undefined symbol __remque referenced from text segment vfs_cache.o: Undefined symbol __remque referenced from text segment vfs_cache.o: Undefined symbol __insque referenced from text segment vfs_cache.o: Undefined symbol __remque referenced from text segment vfs_lookup.o: Undefined symbol _copystr referenced from text segment vfs_lookup.o: Undefined symbol _copyinstr referenced from text segment vfs_syscalls.o: Undefined symbol _copyinstr referenced from text segment vm_fault.o: Undefined symbol _pmap_clear_modify referenced from text segment vm_fault.o: Undefined symbol _pmap_page_protect referenced from text segment vm_fault.o: Undefined symbol _pmap_page_protect referenced from text segment vm_fault.o: Undefined symbol _pmap_enter referenced from text segment vm_fault.o: Undefined symbol _pmap_pageable referenced from text segment vm_fault.o: Undefined symbol _pmap_extract referenced from text segment vm_fault.o: Undefined symbol _pmap_change_wiring referenced from text segment vm_fault.o: Undefined symbol _pmap_pageable referenced from text segment vm_fault.o: Undefined symbol _pmap_enter referenced from text segment vm_glue.o: Undefined symbol _cpu_fork referenced from text segment vm_init.o: Undefined symbol _virtual_avail referenced from text segment vm_init.o: Undefined symbol _avail_end referenced from text segment vm_init.o: Undefined symbol _avail_start referenced from text segment vm_init.o: Undefined symbol _virtual_avail referenced from text segment vm_init.o: Undefined symbol _virtual_end referenced from text segment vm_init.o: Undefined symbol _virtual_avail referenced from text segment vm_init.o: Undefined symbol _avail_end referenced from text segment vm_init.o: Undefined symbol _avail_start referenced from text segment vm_init.o: Undefined symbol _pmap_init referenced from text segment vm_kern.o: Undefined symbol _pmap_reference referenced from text segment vm_kern.o: Undefined symbol _pmap_enter referenced from text segment vm_kern.o: Undefined symbol _pmap_kernel referenced from text segment vm_map.o: Undefined symbol _pmap_pinit referenced from text segment vm_map.o: Undefined symbol _pmap_release referenced from text segment vm_map.o: Undefined symbol _pmap_destroy referenced from text segment vm_map.o: Undefined symbol _pmap_protect referenced from text segment vm_map.o: Undefined symbol _pmap_protect referenced from text segment vm_map.o: Undefined symbol _kernel_pmap referenced from text segment vm_map.o: Undefined symbol _kernel_pmap referenced from text segment vm_map.o: Undefined symbol _pmap_remove referenced from text segment vm_map.o: Undefined symbol _pmap_remove referenced from text segment vm_map.o: Undefined symbol _pmap_protect referenced from text segment vm_map.o: Undefined symbol _pmap_copy referenced from text segment vm_map.o: Undefined symbol _pmap_remove referenced from text segment vm_map.o: Undefined symbol _pmap_copy referenced from text segment vm_mmap.o: Undefined symbol _pmap_create referenced from text segment vm_object.o: Undefined symbol _pmap_is_modified referenced from text segment vm_object.o: Undefined symbol _pmap_page_protect referenced from text segment vm_object.o: Undefined symbol _pmap_page_protect referenced from text segment vm_object.o: Undefined symbol _pmap_page_protect referenced from text segment vm_object.o: Undefined symbol _pmap_page_protect referenced from text segment vm_page.o: Undefined symbol _pmap_map referenced from text segment vm_page.o: Undefined symbol _pmap_map referenced from text segment vm_page.o: Undefined symbol _pmap_map referenced from text segment vm_page.o: Undefined symbol _pmap_clear_reference referenced from text segment vm_page.o: Undefined symbol _pmap_is_modified referenced from text segment vm_page.o: Undefined symbol _pmap_zero_page referenced from text segment vm_page.o: Undefined symbol _pmap_copy_page referenced from text segment vm_pageout.o: Undefined symbol _pmap_update referenced from text segment vm_pageout.o: Undefined symbol _pmap_is_referenced referenced from text segment vm_pageout.o: Undefined symbol _pmap_page_protect referenced from text segment vm_pageout.o: Undefined symbol _pmap_page_protect referenced from text segment vm_pageout.o: Undefined symbol _pmap_clear_modify referenced from text segment vm_pageout.o: Undefined symbol _pmap_clear_reference referenced from text segment vm_pager.o: Undefined symbol _pmap_enter referenced from text segment vm_pager.o: Undefined symbol _pmap_remove referenced from text segment device_pager.o: Undefined symbol _pmap_phys_address referenced from text segment swap_pager.o: Undefined symbol _pmap_clear_modify referenced from text segment swap_pager.o: Undefined symbol _pmap_clear_modify referenced from text segment vnode_pager.o: Undefined symbol _pmap_clear_modify referenced from text segment ufs_inode.o: Undefined symbol __insque referenced from text segment ufs_inode.o: Undefined symbol __remque referenced from text segment ufs_inode.o: Undefined symbol __insque referenced from text segment ufs_inode.o: Undefined symbol __remque referenced from text segment ufs_vfsops.o: Undefined symbol _copystr referenced from text segment ufs_vfsops.o: Undefined symbol _inittodr referenced from text segment ufs_vfsops.o: Undefined symbol _copyinstr referenced from text segment ufs_vfsops.o: Undefined symbol _copyinstr referenced from text segment nfs_node.o: Undefined symbol __insque referenced from text segment nfs_node.o: Undefined symbol __remque referenced from text segment nfs_srvcache.o: Undefined symbol __remque referenced from text segment nfs_srvcache.o: Undefined symbol __insque referenced from text segment nfs_subs.o: Undefined symbol __insque referenced from text segment nfs_vfsops.o: Undefined symbol _inittodr referenced from text segment nfs_vfsops.o: Undefined symbol _copyinstr referenced from text segment nfs_vfsops.o: Undefined symbol _copyinstr referenced from text segment raw_cb.o: Undefined symbol __insque referenced from text segment raw_cb.o: Undefined symbol __remque referenced from text segment in_pcb.o: Undefined symbol __insque referenced from text segment in_pcb.o: Undefined symbol __remque referenced from text segment ip_icmp.o: Undefined symbol _in_cksum referenced from text segment ip_icmp.o: Undefined symbol _in_cksum referenced from text segment ip_icmp.o: Undefined symbol _microtime referenced from text segment ip_input.o: Undefined symbol _in_cksum referenced from text segment ip_input.o: Undefined symbol __insque referenced from text segment ip_input.o: More undefined symbol __remque refs follow ip_output.o: Undefined symbol _in_cksum referenced from text segment ip_output.o: Undefined symbol _in_cksum referenced from text segment ip_output.o: Undefined symbol _in_cksum referenced from text segment tcp_input.o: More undefined symbol __insque refs follow tcp_input.o: Undefined symbol _in_cksum referenced from text segment tcp_output.o: Undefined symbol _in_cksum referenced from text segment tcp_subr.o: Undefined symbol _in_cksum referenced from text segment udp_usrreq.o: More undefined symbol _in_cksum refs follow isofs_vfsops.o: Undefined symbol _copystr referenced from text segment isofs_vfsops.o: Undefined symbol _copyinstr referenced from text segment isofs_vfsops.o: More undefined symbol _copyinstr refs follow lpt.o: Undefined symbol _DELAY referenced from text segment lpt.o: Undefined symbol _DELAY referenced from text segment pccons_vga.o: Undefined symbol _cpu_reset referenced from text segment pccons_out.o: Undefined symbol _sysbeep referenced from text segment pccons_kbd.o: Undefined symbol _kbc_8042cmd referenced from text segment pccons_kbd.o: Undefined symbol _cpu_reset referenced from text segment ioconf.o: Undefined symbol _wddriver referenced from data segment ioconf.o: Undefined symbol _fddriver referenced from data segment ioconf.o: Undefined symbol _asdriver referenced from data segment ioconf.o: Undefined symbol _wtdriver referenced from data segment ioconf.o: Undefined symbol _comdriver referenced from data segment ioconf.o: Undefined symbol _comdriver referenced from data segment ioconf.o: Undefined symbol _wedriver referenced from data segment ioconf.o: Undefined symbol _nedriver referenced from data segment ioconf.o: Undefined symbol _ecdriver referenced from data segment ioconf.o: Undefined symbol _isdriver referenced from data segment ioconf.o: Undefined symbol _npxdriver referenced from data segment conf.o: Undefined symbol _wdopen referenced from data segment conf.o: Undefined symbol _wdclose referenced from data segment conf.o: Undefined symbol _wdstrategy referenced from data segment conf.o: Undefined symbol _wdioctl referenced from data segment conf.o: Undefined symbol _wddump referenced from data segment conf.o: Undefined symbol _wdsize referenced from data segment conf.o: Undefined symbol _Fdopen referenced from data segment conf.o: Undefined symbol _fdclose referenced from data segment conf.o: Undefined symbol _fdstrategy referenced from data segment conf.o: Undefined symbol _wtopen referenced from data segment conf.o: Undefined symbol _wtclose referenced from data segment conf.o: Undefined symbol _wtstrategy referenced from data segment conf.o: Undefined symbol _wtioctl referenced from data segment conf.o: Undefined symbol _wtdump referenced from data segment conf.o: Undefined symbol _wtsize referenced from data segment conf.o: Undefined symbol _asopen referenced from data segment conf.o: Undefined symbol _asclose referenced from data segment conf.o: Undefined symbol _asstrategy referenced from data segment conf.o: Undefined symbol _asioctl referenced from data segment conf.o: Undefined symbol _assize referenced from data segment conf.o: Undefined symbol _cnopen referenced from data segment conf.o: Undefined symbol _cnclose referenced from data segment conf.o: Undefined symbol _cnread referenced from data segment conf.o: Undefined symbol _cnwrite referenced from data segment conf.o: Undefined symbol _cnioctl referenced from data segment conf.o: Undefined symbol _cnselect referenced from data segment conf.o: Undefined symbol _mmrw referenced from data segment conf.o: Undefined symbol _mmrw referenced from data segment conf.o: Undefined symbol _wdopen referenced from data segment conf.o: Undefined symbol _wdclose referenced from data segment conf.o: Undefined symbol _wdioctl referenced from data segment conf.o: Undefined symbol _wdstrategy referenced from data segment conf.o: Undefined symbol _comopen referenced from data segment conf.o: Undefined symbol _comclose referenced from data segment conf.o: Undefined symbol _comread referenced from data segment conf.o: Undefined symbol _comwrite referenced from data segment conf.o: Undefined symbol _comioctl referenced from data segment conf.o: Undefined symbol _com_tty referenced from data segment conf.o: Undefined symbol _Fdopen referenced from data segment conf.o: Undefined symbol _fdclose referenced from data segment conf.o: Undefined symbol _fdstrategy referenced from data segment conf.o: Undefined symbol _wtopen referenced from data segment conf.o: Undefined symbol _wtclose referenced from data segment conf.o: Undefined symbol _wtioctl referenced from data segment conf.o: Undefined symbol _wtstrategy referenced from data segment conf.o: Undefined symbol _asopen referenced from data segment conf.o: Undefined symbol _asclose referenced from data segment conf.o: Undefined symbol _asioctl referenced from data segment conf.o: Undefined symbol _asstrategy referenced from data segment *** Error code 1 Stop. -- David Fox (bbs.barfeau@tsoft.sf-bay.org)