home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 4830 < prev    next >
Encoding:
Text File  |  1992-08-29  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!gatech!news.ans.net!cmcl2!sbcs.sunysb.edu!sbcs!stark
  3. From: stark@cs.sunysb.edu (Gene Stark)
  4. Subject: Re: Kernel rebuild - load error?
  5. In-Reply-To: vikki@e40-008-9.MIT.EDU's message of Sat, 29 Aug 1992 10: 58:53 GMT
  6. Message-ID: <STARK.92Aug29073021@sbstark.cs.sunysb.edu>
  7. Sender: usenet@sbcs.sunysb.edu (Usenet poster)
  8. Nntp-Posting-Host: sbstark
  9. Organization: SUNY at Stony Brook Computer Science Dept.
  10. References: <1992Aug29.105853.10261@ctr.columbia.edu>
  11. Date: Sat, 29 Aug 1992 12:30:21 GMT
  12. Lines: 22
  13.  
  14. >     I am trying to rebuild my kernel to change it so that my 3c503 ethernet
  15. >adapter talks out its AUI port instead of the thinnet port.  (Thanks for the
  16. ...
  17. >shortly, I get the error:
  18. >
  19. >  init_main.o: undefined symbol _version refrenced from text segment
  20. >  *** error code 1
  21.  
  22. I got this, too, on my first attempt to recompile the kernel.
  23. The problem is that "init_main.c" references the "version" string, but
  24. the "config" program does not set up the file "vers.c" in your
  25. compile directory.  If you look at the GENERICISA compile directory,
  26. you will find files "version" and "vers.c", and you will see that the
  27. Makefile includes "vers.o" at the end of the list of files to be loaded.
  28.  
  29. Since I was just hacking anyway, I just copied "vers.c" from the GENERICISA
  30. directory and edited my Makefile.  This is undoubtedly not the correct
  31. solution, because if I re"config" the changes to the Makefile are reverted.
  32. However, it enables me to load the system.  I'd be happy to hear about
  33. the correct fix.
  34.  
  35.                             - Gene Stark
  36.