home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin
- Path: sparky!uunet!elroy.jpl.nasa.gov!hanauma.jpl.nasa.gov!joanne
- From: joanne@hanauma.jpl.nasa.gov (Joanne Shimada)
- Subject: Re: kernel build problem revisited
- Message-ID: <1993Jan4.050040.8282@elroy.jpl.nasa.gov>
- Summary: problem building a kernel on ipx 4.1.3
- Keywords: kernel, build
- Sender: news@elroy.jpl.nasa.gov (Usenet)
- Nntp-Posting-Host: hanauma.jpl.nasa.gov
- Organization: SAR Systems Development and Processing, Jet Propulsion Laboratory, Pasadena, CA
- References: <carr.725601886@tera>
- Date: Mon, 4 Jan 1993 05:00:40 GMT
- Lines: 50
-
- In article <carr.725601886@tera> carr@tera.cs.umn.edu (Christopher L. Carr) writes:
- >Here is some more info on my problem.
- >
- >I ran ranlib, and still ld cannot seem to
- >find libprom.a????
- >
- >here is the output from the make and some
- >other stuff.
- >
- >Any help is appreciated.
- >
- >[... deleted ...]
- >
- >loading vmunix
- >ld: Undefined symbol
- > _prom_get_boot_dev_name
- >[... deleted ...]
- >make: *** [vmunix] Error 2
- >
- >Chris Carr
- >****************************************************************************
- >carr@cs.umn.edu
-
- One of my coworkers had a similar problem on a 670 running 4.1.2.
- It turned out that he was (mistakenly) invoking gcc instead of the
- bundled C compiler; using /bin/cc fixed the problem.
-
- If you're not able to build the kernel with /bin/cc, you can try
- editing the Makefile in your build directory. It should contain
- lines similar to the following:
-
- LIBPROMDIR= $(SYSDIR)/$(ARCH)
- LIBPROM= $(LIBPROMDIR)/libprom.a
-
- OBJS= ../OBJ/des_crypt.o ../OBJ/des_soft.o \
- [....]
-
- OBJS += $(LIBPROM)
-
- The problem is that the last line shown above is not being evaluated
- correctly. Comment out the last line shown above and explicitly add
- $(LIBPROM) to the end of the original definition of OBJS; then retry
- the make.
-
- Joanne
- --
- --------------------------------------------------------------------------------
- Joanne G. Shimada joanne@malibu.jpl.nasa.gov; SPAN: kahuna::joanne
- Jet Propulsion Laboratory, M/S 300-235, 4800 Oak Grove Drive, Pasadena, CA 91109
- These are my opinions, not JPL's. Go BEARS! (sigh)
-