home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 4843 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  2.6 KB

  1. Path: sparky!uunet!dtix!mimsy!mojo.eng.umd.edu!darwin.sura.net!wupost!cs.utexas.edu!sun-barr!ames!agate!tfs.com!tfs.com!julian
  2. From: julian@tfs.com (Julian Elischer)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Makefile change to run newvers.sh
  5. Message-ID: <1992Aug29.201850.8713@tfs.com>
  6. Date: 29 Aug 92 20:18:50 GMT
  7. Distribution: comp
  8. Organization: TRW Financial Systems
  9. Lines: 59
  10.  
  11. Many people who have made their own kernel configurations
  12. have discovered that their kernel won't build until they
  13. change their Makefile to include a reference to vers.o
  14. (missing symbol _version)
  15.  
  16. I include the following patch to the default makefile
  17. so that the built makefiles are correct
  18.  
  19. +----------------------------------+       ______ _  __
  20. |   __--_|\  Julian Elischer       |       \     U \/ / On assignment
  21. |  /       \ julian@tfs.com        +------>x   USA    \ in a very strange
  22. | (   OZ    ) 2118 Milvia st. Berkeley CA. \___   ___ | country !
  23. +- X_.---._/  USA+(510) 704-3137(wk)           \_/   \\            
  24.           v
  25.  
  26. ---------8X--------8X---------8X----------
  27. *** /usr/src/syschanges/sys.originals/i386/conf/Makefile.i386    Mon Feb 24 14:52:46 1992
  28. --- /usr/src/sys.386bsd/i386/conf/Makefile.i386    Mon Aug 24 13:02:30 1992
  29. ***************
  30. *** 38,44 ****
  31.   SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o
  32.   SYSTEM_DEP=Makefile symbols.sort ${SYSTEM_OBJS}
  33.   SYSTEM_LD_HEAD=     @echo loading $@; rm -f $@
  34. ! SYSTEM_LD= @${LD} -z -T FE000000 -o $@ -X ${SYSTEM_OBJS}
  35.   SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; size $@; chmod 755 $@
  36.   
  37.   %OBJS
  38. --- 38,44 ----
  39.   SYSTEM_OBJS=locore.o ${OBJS} param.o ioconf.o conf.o
  40.   SYSTEM_DEP=Makefile symbols.sort ${SYSTEM_OBJS}
  41.   SYSTEM_LD_HEAD=     @echo loading $@; rm -f $@
  42. ! SYSTEM_LD= @${LD} -z -T FE000000 -o $@ -X vers.o ${SYSTEM_OBJS}
  43.   SYSTEM_LD_TAIL= @echo rearranging symbols; symorder symbols.sort $@; size $@; chmod 755 $@
  44.   
  45.   %OBJS
  46. ***************
  47. *** 63,71 ****
  48.   
  49.   locore.o: assym.s ${I386}/i386/locore.s machine/trap.h machine/psl.h \
  50.       machine/pte.h vector.s ${I386}/isa/icu.s ${I386}/isa/isa.h \
  51. !     ${I386}/isa/icu.h
  52.       ${CPP} -I. -DLOCORE ${COPTS} ${I386}/i386/locore.s | \
  53.           ${AS} ${ASFLAGS} -o locore.o
  54.   
  55.   # the following is necessary because autoconf.o depends on #if GENERIC
  56.   autoconf.o: Makefile
  57. --- 63,74 ----
  58.   
  59.   locore.o: assym.s ${I386}/i386/locore.s machine/trap.h machine/psl.h \
  60.       machine/pte.h vector.s ${I386}/isa/icu.s ${I386}/isa/isa.h \
  61. !     ${I386}/isa/icu.h vers.o
  62.       ${CPP} -I. -DLOCORE ${COPTS} ${I386}/i386/locore.s | \
  63.           ${AS} ${ASFLAGS} -o locore.o
  64. + vers.c:    Makefile
  65. +     sh ../../conf/newvers.sh
  66.   
  67.   # the following is necessary because autoconf.o depends on #if GENERIC
  68.   autoconf.o: Makefile
  69.