*BSD News Article 81675


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news2.acs.oakland.edu!news.tacom.army.mil!ulowell.uml.edu!umassd.edu!umass.edu!cam-news-feed5.bbnplanet.com!cass.ma02.bull.com!spool.mu.edu!howland.erols.net!newsfeed.internetmci.com!uuneo.neosoft.com!not-for-mail
From: conrads@neosoft.com (Conrad Sabatier)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: link errors in kernel build
Date: 25 Oct 1996 23:06:27 GMT
Organization: What?  Me, organize?
Lines: 37
Message-ID: <54rh5j$a1@uuneo.neosoft.com>
References: <54ei66$1s0@uuneo.neosoft.com> <54puko$897@uriah.heep.sax.de>
Reply-To: conrads@neosoft.com (Conrad Sabatier)
NNTP-Posting-Host: 206.27.165.144

In article <54puko$897@uriah.heep.sax.de>,
J Wunsch <joerg_wunsch@uriah.heep.sax.de> wrote:
>conrads@neosoft.com (Conrad Sabatier) wrote:
>
>> 
>> I'm getting the following output at the end of a kernel build:
>> 
>> loading kernel
>> sys_process.o: Undefined symbol `_vm_object_reference' referenced from
>> text segment
>> sys_process.o: Undefined symbol `_vm_object_reference' referenced from
>> text segment
>
>Do you perchance suffer from an empty .o file around?  This can happen
>if the machine crashes while you were compiling.  Its timestamp is
>then ``recent'', so make won't rebuild it.  (That's why make normally
>deletes the target under work if you hit ^C, unless you've marked it
>as .PRECIOUS in the Makefile.)

No, I've got a bunch of vm_*.o files in my compile dir.  vm_object.o,
however, is only 93 bytes in size, which seems a little low to me.

>j@uriah 691% grep ^vm_object_reference /sys/vm/*.c
>/sys/vm/vm_object.c:vm_object_reference(object)
>
>So watch out for vm_object.o.

I'm wondering if something in my kernel config is triggering some
conditional compilation thing somewhere.  Man, this one's like the
proverbial needle in the haystack!

I'll let you know if I discover anything.  :-)
-- 
Conrad Sabatier                  | 
conrads@neosoft.com              |  Eschew obfuscation.
http://www.neosoft.com/~conrads  |