home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / minix / 5019 < prev    next >
Encoding:
Text File  |  1992-12-31  |  4.1 KB  |  101 lines

  1. Newsgroups: comp.os.minix
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!Sirius.dfn.de!news.belwue.de!news.uni-tuebingen.de!nova!flebbe
  3. From: flebbe@nova.tat.physik.uni-tuebingen.de (Olaf Flebbe)
  4. Subject: Re: more problems building ST Minix 1.6.23
  5. Message-ID: <flebbe.725792357@nova>
  6. Sender: news@softserv.zdv.uni-tuebingen.de (News Operator)
  7. Organization: TAT (Theoretical Astrophysics Tuebingen), U. of Tuebingen, FRG
  8. References: <1992Dec30.124438.17622@nntpd.lkg.dec.com>
  9. Date: Thu, 31 Dec 1992 08:59:17 GMT
  10. Lines: 89
  11.  
  12. powers@asd.enet.dec.com (Bill Powers) writes:
  13.  
  14.  
  15.  
  16. >  I am having difficulty building ST Minix 1.6.23.  Maybe someone
  17. >could enlighten me as to what I might be doing wrong.  Here are
  18. >the steps I took to try to get it to work.
  19.  
  20. >1) I loaded my 1.5.10 sources into a source tree.
  21.  
  22. >2) I applied Andy's 1.6.23 diffs & patches from an ftp site.
  23.  
  24. >3) I applied Frans's patches he posted on comp.os.minix.
  25.  
  26. >At this point all source CRC's looked fine except for the few in
  27. >the libraries that I had mentioned in a previous post.  But that
  28. >turned out to be a non issue.
  29.  
  30. >4) I modified config.h to match my system.
  31.  
  32. >5) I built the library files that Frans calls out in his install
  33. >   doc.  The only thing I had to do here which wasn't called out
  34. >   was to edit 68000/setjmp.s.  The assembler wouldn't assemble
  35. >   this file due to syntax errors.  I had to add a '.' in front
  36. >   of the first 11 lines of source directives.  Then it assembled.
  37. Strange. I guess you have a corrupt version of lib files. The file I
  38. got was correct. I don't have any idea what went wrong. 
  39.  
  40. >6) I replaced the specified files in libc.a that Frans calls out
  41. >   in his install doc.
  42.  
  43. >7) Although it wasn't listed in the install doc, there have been
  44. >   several posts which seem to indicate that one must build cv
  45. >   before building the kernel.  So I built cv, and coppied it to
  46. >   /usr/lib.
  47. You should place your old head.o end.o and cv at a secure place, so
  48. that you can quickly change back, when an error occurs. I had to copy
  49. the files many times until I finally did the upgrade.
  50.  
  51. >8) I went into src/fs and did a make.  It compiled everything, and
  52. >   seemed to do the ld then it went to do the 'cv tmp fs' & make 
  53. >   aborted with an error -256.  I tried to do the cv by hand and
  54. >   it did nothing.  I then just entered cv with no parameters, and
  55. >   it did nothing, not even print out a usage line, and from looking
  56. >   at the source, it should do.
  57. Any more error messages?
  58.  
  59. >Questions:
  60.  
  61. >A) When building cv do you use the new libc.a or the old one?
  62. cv is only needed if you want to have a minix executable. i.e. it is
  63. not needed for makeing a lib.
  64.  
  65. >B) When building cv do you use the new include files or the old
  66. >   ones?
  67. First step: Making a cross-cv: i.e. Using the *old* lib, the *old*
  68. includes to making a cross-cv (a 1.5.10 executable to generate a
  69. 1.6.23 executable). I used it to generate a new kernel. And
  70. remember: You need a *old* lib, and an *old* include to make a *new*
  71. build. After 1.6.23 was running I made a new cv (*new* header *new*
  72. lib.
  73.  
  74. >C) When building cv do you have to copy the new head.o end.o
  75. >   & crtso.o to /usr/lib?
  76. No. see above. But when you are makeing a *new* kernel, fs, mm, init
  77. you need a new lib, new header new end, head.
  78.  
  79. >D) If not, when must this be done if at all?
  80. It works, but it is very puzzling.
  81.  
  82. >E) I also can't find a crtso.s in the source tree, there is
  83. >   a ncrtso.s.  Is this what I should use instead of crtso.s?
  84. >   After assembly, do you need to rename it to crtso.o?
  85. I didn't touch my /usr/lib/crtso.o
  86.  
  87. >F) I seem to get the impression the new command binconv is to
  88. >   convert the 1.5.10 binaries to 1.6.23.  Is that correct?
  89. >   At what point in the process do you need to compile this?
  90. It is correct. You will need it if you wan't to deal with 
  91. commands form 1.6.23  like chmem. These commands look at the file
  92. header and don't recognize 1.5 execs as an valid a.out file. binconv
  93. can help you patching this header. You will need it (perhaps) after
  94. you have changed to the new 1.6.23 kernel. So compile it with the new
  95. lib include etc.
  96.  
  97.  
  98. --
  99.   Olaf Flebbe,  Theoretische Astrophysik Tuebingen
  100.   Internet:     flebbe@tat.physik.uni-tuebingen.de
  101.