home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / editors / 2064 < prev    next >
Encoding:
Text File  |  1992-08-22  |  3.1 KB  |  84 lines

  1. Newsgroups: comp.editors
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!news.UVic.CA!sol.UVic.CA!lux
  3. From: lux@sol.UVic.CA (Michael O'Henly)
  4. Subject: SUMMARY: Compiling Elvis 1.4 on Sun
  5. Message-ID: <lux.714504025@sol.UVic.CA>
  6. Summary: How to compile Elvis under SunOs
  7. Keywords: Elvis Sun
  8. Sender: news@sol.UVic.CA
  9. Nntp-Posting-Host: sol.uvic.ca
  10. Organization: University of Victoria
  11. Date: 22 Aug 92 17:20:25 GMT
  12. Lines: 70
  13.  
  14.     The latest version of Elvis that Archie knows about is 1.4.
  15. When I tried compiling this under SunOs, I got some linker errors that
  16. I didn't know how to fix.
  17.  
  18. >cc -Dbsd -O -oelvis blk.o cmd1.o cmd2.o curses.o cut.o ex.o input.o
  19. >main.o misc.o modify.o move1.o move2.o move3.o move4.o move5.o opts.o
  20. >recycle.o redraw.o r egexp.o regsub.o system.o tio.o tmp.o vars.o
  21. >vcmd.o vi.o -ltermcap 
  22. >ld: Undefined symbol
  23. >   _hdr
  24. >   _blkinit
  25. >   _blkget
  26. >   _blkdirty
  27. >   _abortdo
  28. >   _undo
  29. >   _afterdo
  30. >   _beforedo
  31. >   _blkadd
  32. >   _blksync
  33. >*** Error code 2
  34. >make: Fatal error: Command failed for target `elvis'
  35.  
  36. -----
  37. Chet Creider (creider@taptet.sscl.uwo.ca) said...
  38.  
  39. > If you check the functions that the linker says are missing, you will
  40. > see that they are all from blk.c, which is therefore not being
  41. > compiled.  The problem is a well-known one with Sun's make. A simple
  42. > solution is to edit the makefile so that some other file which is
  43. > already compiled precedes blk.o in the list of object files. This will
  44. > force blk.c to be compiled. You will then end up with an executable
  45. > with the name of the file which comes first after -oelvis if I
  46. > remember correctly.
  47.  
  48. > Steve Kirkendall has an elegant solution in the Makefiles to 1.5 and
  49. > 1.6. Version 1.6 is available at m2xenix.psg.com in pub/elvis (this is
  50. > the site with the most current version always). It has also been
  51. > uploaded to Simtel, most conveniently accessed as oak.oakland.edu in
  52. > pub/msdos/editor -- elv16src.zip and elv16exe.zip (I would suggest
  53. > getting the executable as well as it may have documentation files).
  54. > You can use unzip -am to decompress the files on your Sun. The m2xenix
  55. > site is a sharfile. prep.ai.mit.edu in pub/gnu also normally has a
  56. > version of elvis. It may still be 1.5, however.
  57.  
  58. > Version 1.7 is about to come out, so you might want to either do my
  59. > quick and dirty suggestion or get the 1.6 and just look at the
  60. > Makefile and adapt it to 1.4. The major changes from 1.4 to 1.6 that I
  61. > remember are (1) a ruler option which gives columns, (2) an
  62. > implementation of elvrec and elvprsv which really works.
  63.  
  64. -----
  65. Bill Mitchell (mitchell@mdd.comm.mot.com) said...
  66.  
  67. > Try adding the -dryrun option to that command line and observing the
  68. > results.  They try it with "-o elvis" instead of "-oelvis".
  69.  
  70. -----
  71.     I downloaded Elvis 1.6 from m2xenix.psg.com ~/pub/elvis and it
  72. does indeed compile without problems. Thanks a lot for the help!
  73.  
  74.     Michael.
  75. --
  76. Michael O'Henly                 
  77. McPherson Library                Internet:  lux@sol.uvic.ca
  78. University of Victoria                      lux@uvvm.uvic.ca
  79. Victoria, B.C., Canada             BITNET:  lux@uvvm
  80.  
  81.  
  82.  
  83.  
  84.