Subject: Trouble building current shells!
To: current <current-users@sun-lamp.cs.berkeley.edu>
From: D. Jay Newman <jay@qabalah.cac.psu.edu>
List: current-users
Date: 06/17/1994 11:03:37
I have been working to build a current system, and things are still
going wonky.

After building the new libs, I'm trying to build the new /usr/src/sys
files.  Everything builds until it gets to the sh.  Then it can't
seem to find any library symbols.  I get output such as:

===> sh
cc -O -DSHELL -I. -I/usr/src/sys/arch/i386/floppy/sh/../../../../../bin/sh -DNO_HISTORY   -N -static /usr/src/sys/arch/i386/floppy/sh/../../../../../bin/sh/mkinit.c -o mkinit -ll 
cc -O -DSHELL -I. -I/usr/src/sys/arch/i386/floppy/sh/../../../../../bin/sh -DNO_HISTORY    -N -o /usr/src/sys/arch/i386/floppy/sh/../../../../../bin/sh/builtins /usr/src/sys/arch/i386/floppy/sh/../../../../../bin/sh/builtins.c 
/usr/lib/crt0.o: Undefined symbol _main referenced from text segment
/usr/tmp/cc0247101.o: Undefined symbol _bltincmd referenced from text segment
/usr/tmp/cc0247101.o: Undefined symbol _bgcmd referenced from text segment
/usr/tmp/cc0247101.o: Undefined symbol _breakcmd referenced from text segment
/usr/tmp/cc0247101.o: Undefined symbol _cdcmd referenced from text segment

   ... Many similar lines deleted.

*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

I can build other programs fine.  I believe the same thing happens to me
when I try to build /usr/src/bin/sh (at least it did a few days ago, I
haven't tried to rebuild yet).

Any hints?  I'd like to build a new kernel sometime.
-- 
D. Jay Newman           ! I'm now on the World Wide Web.  To see more
dn5@psu.edu             ! about me (and trade MtG cards), check out URL
jay@qabalah.cac.psu.edu ! http://qabalah.cac.psu.edu/~jay/

------------------------------------------------------------------------------