*BSD News Article 5373


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!miamiu!ai4cphyw
Newsgroups: comp.unix.bsd
Subject: 386bsd Problem with vers.o on Recompile
Message-ID: <92261.230114AI4CPHYW@MIAMIU.BITNET>
From: <AI4CPHYW@MIAMIU.BITNET>
Date: Thursday, 17 Sep 1992 23:01:14 EDT
Organization: Miami University - Academic Computer Service
Lines: 41

I was having problems with the system grinding to a halt while
recompiling the kernel.  To fix the problem I added some more RAM
(going from 4MB to 10MB), now I get a really funny error.  I saw that
some of you have been getting errors about version being undefined, I
have been getting errors that seem to suggest version is defined too
many times.
 
Specifically:
 
 vers.o: Definition of symbol _version (multiply defined)
 vers.o: Definition of symbol _version (multiply defined)
 *** Error Code 1
 
 Stop
 
The error displays just as shown above.
 
To recompile I config'ed (machine name), a lightly changed copy of
GENERICISA, and then copied ../GENERICISA/vers.c and version into the
(machine name) directory.  I then issued make newvers (to create
vers.o) and then issued make depend and make.  (The copying of the
vers.c and version files and the make newvers were prompted by some
instructions I saw posted to the net to get around the version
undefined error).  The entire recompile worked, but when the kernel
tried to load, the above error message was given.
 
My system has had the patchkit software applied (including the
patched Makefile.i386) but due to disk constraints, the only sources
on the disk are the /usr/src/sys.386bsd/* (the kernel sources).
 
Do I need more source files on the disk?  Or have I screwed up some
other way?  Any help or pointers to help would be greatly
appreciated.
 
                      -Alec D. Isaacson
                       AI4CPHYW @ miamiu.acs.muohio.edu
                       isaacson @ rogue.acs.muohio.edu (NeXt Mail)
                       Miami University, Oxford, OH
-------------------------------------------------------------------------
Only a barbarian would eat chive cream cheese and blackberry jam on the
same bagel.                          -Spenser