home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.admin:4814 comp.sys.sun.admin:6019
- Newsgroups: comp.unix.admin,comp.sys.sun.admin
- Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!sun-barr!ames!haven.umd.edu!darwin.sura.net!europa.asd.contel.com!pascoe
- From: pascoe@rocky.gte.com (Dave Pascoe)
- Subject: Problem building new kernel
- Message-ID: <1992Sep1.181837.28455@europa.asd.contel.com>
- Sender: news@europa.asd.contel.com (News)
- Nntp-Posting-Host: 100.14.40.6
- Organization: GTE/SCSD - Needham Heights, MA
- X-Newsreader: Tin 1.1 PL5
- Date: Tue, 1 Sep 1992 18:18:37 GMT
- Lines: 48
-
-
- It's been abou 6 months since I rebuilt the kernel on my machine.....I'm
- having problems with makedep on a SPARC-2 running SunOS 4.1.1.
-
- I modified all the configuration files I needed and tried to do a
- 'config SYS_NAME' where SYS_NAME here is GENERIC_PPP. The result is
- shown below:
- ------------------
- rocky:/usr/kvm/sys/sun4c/conf # config GENERIC_PPP
- Doing a "make depend"
- *** Error code 1
- make: Fatal error: Command failed for target `makedep'
- -------------------
- Now the Makefile in /usr/kvm/sys/sun4c/conf is Makefile.src, which has the
- following for the depend definition:
-
- depend: makedep
- echo '$$r makedep' >>eddep
- rm eddep makedep makedep1 makedeperrs
-
- And makedep says:
-
- makedep: ${CONFFILES} FRC
- @cat /dev/null >makedep
- -(for i in ${CFILES} ${SFILES} ; do \
- ${CPP} -M ${CPPOPTS} ${SYSDIR}/$$i >> makedep; done) \
- 2>makedeperrs
- sed \
- -e 's,^.*genassym\.o:,assym.s assym.L:,' \
- -e 's,^\(.*\)\.o:,\1.o \1.L:,' makedep > makedep1
- -(for i in ${CONFFILES} ; do \
- ${CPP} -M ${CPPOPTS} $$i | sed \
- -e 's,^\(.*\)\.o:,\1.o \1.L:,' >>makedep1; done) \
- 2>>makedeperrs
- ${AWK} ' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
- else { if (length(rec $$3) > 78) { print rec; rec = $$0; } \
- else rec = rec " " $$3 } } \
- END { print rec } ' makedep1 > makedep
- @cat makedeperrs
- @(if [ -s makedeperrs ]; then false; fi)
-
- Any idea why the config fails? I don't ever remember having a problem
- with this. E-mail replied preferred....
-
- --
- Dave Pascoe | Amateur Radio: KM3T
- Internet: pascoe@rocky.gte.com | Packet Radio: km3t @ w2xo.pa
- GTE/SCSD - Needham Heights, MA | (617) 455-5704
-