home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sun / admin / 9886 < prev    next >
Encoding:
Text File  |  1993-01-04  |  2.1 KB  |  65 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!hanauma.jpl.nasa.gov!joanne
  3. From: joanne@hanauma.jpl.nasa.gov (Joanne Shimada)
  4. Subject: Re: kernel build problem revisited
  5. Message-ID: <1993Jan4.050040.8282@elroy.jpl.nasa.gov>
  6. Summary: problem building a kernel on ipx 4.1.3
  7. Keywords: kernel, build
  8. Sender: news@elroy.jpl.nasa.gov (Usenet)
  9. Nntp-Posting-Host: hanauma.jpl.nasa.gov
  10. Organization: SAR Systems Development and Processing, Jet Propulsion Laboratory, Pasadena, CA
  11. References: <carr.725601886@tera>
  12. Date: Mon, 4 Jan 1993 05:00:40 GMT
  13. Lines: 50
  14.  
  15. In article <carr.725601886@tera> carr@tera.cs.umn.edu (Christopher L. Carr) writes:
  16. >Here is some more info on my problem.
  17. >
  18. >I ran ranlib, and still ld cannot seem to 
  19. >find libprom.a????
  20. >
  21. >here is the output from the make and some
  22. >other stuff.
  23. >
  24. >Any help is appreciated.
  25. >
  26. >[... deleted ...]
  27. >
  28. >loading vmunix
  29. >ld: Undefined symbol
  30. >   _prom_get_boot_dev_name
  31. >[... deleted ...]
  32. >make: *** [vmunix] Error 2
  33. >
  34. >Chris Carr
  35. >****************************************************************************
  36. >carr@cs.umn.edu
  37.  
  38. One of my coworkers had a similar problem on a 670 running 4.1.2.
  39. It turned out that he was (mistakenly) invoking gcc instead of the
  40. bundled C compiler; using /bin/cc fixed the problem.
  41.  
  42. If you're not able to build the kernel with /bin/cc, you can try
  43. editing the Makefile in your build directory.  It should contain
  44. lines similar to the following:
  45.  
  46. LIBPROMDIR=    $(SYSDIR)/$(ARCH)
  47. LIBPROM=    $(LIBPROMDIR)/libprom.a
  48.  
  49. OBJS=    ../OBJ/des_crypt.o ../OBJ/des_soft.o \
  50.         [....]
  51.  
  52. OBJS += $(LIBPROM)
  53.  
  54. The problem is that the last line shown above is not being evaluated
  55. correctly.  Comment out the last line shown above and explicitly add
  56. $(LIBPROM) to the end of the original definition of OBJS; then retry 
  57. the make.
  58.  
  59. Joanne
  60. -- 
  61. --------------------------------------------------------------------------------
  62. Joanne G. Shimada              joanne@malibu.jpl.nasa.gov; SPAN:  kahuna::joanne
  63. Jet Propulsion Laboratory, M/S 300-235, 4800 Oak Grove Drive, Pasadena, CA 91109
  64. These are my opinions, not JPL's.                               Go BEARS! (sigh)
  65.