home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.editors
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!news.UVic.CA!sol.UVic.CA!lux
- From: lux@sol.UVic.CA (Michael O'Henly)
- Subject: SUMMARY: Compiling Elvis 1.4 on Sun
- Message-ID: <lux.714504025@sol.UVic.CA>
- Summary: How to compile Elvis under SunOs
- Keywords: Elvis Sun
- Sender: news@sol.UVic.CA
- Nntp-Posting-Host: sol.uvic.ca
- Organization: University of Victoria
- Date: 22 Aug 92 17:20:25 GMT
- Lines: 70
-
- The latest version of Elvis that Archie knows about is 1.4.
- When I tried compiling this under SunOs, I got some linker errors that
- I didn't know how to fix.
-
- >cc -Dbsd -O -oelvis blk.o cmd1.o cmd2.o curses.o cut.o ex.o input.o
- >main.o misc.o modify.o move1.o move2.o move3.o move4.o move5.o opts.o
- >recycle.o redraw.o r egexp.o regsub.o system.o tio.o tmp.o vars.o
- >vcmd.o vi.o -ltermcap
- >ld: Undefined symbol
- > _hdr
- > _blkinit
- > _blkget
- > _blkdirty
- > _abortdo
- > _undo
- > _afterdo
- > _beforedo
- > _blkadd
- > _blksync
- >*** Error code 2
- >make: Fatal error: Command failed for target `elvis'
-
- -----
- Chet Creider (creider@taptet.sscl.uwo.ca) said...
-
- > If you check the functions that the linker says are missing, you will
- > see that they are all from blk.c, which is therefore not being
- > compiled. The problem is a well-known one with Sun's make. A simple
- > solution is to edit the makefile so that some other file which is
- > already compiled precedes blk.o in the list of object files. This will
- > force blk.c to be compiled. You will then end up with an executable
- > with the name of the file which comes first after -oelvis if I
- > remember correctly.
-
- > Steve Kirkendall has an elegant solution in the Makefiles to 1.5 and
- > 1.6. Version 1.6 is available at m2xenix.psg.com in pub/elvis (this is
- > the site with the most current version always). It has also been
- > uploaded to Simtel, most conveniently accessed as oak.oakland.edu in
- > pub/msdos/editor -- elv16src.zip and elv16exe.zip (I would suggest
- > getting the executable as well as it may have documentation files).
- > You can use unzip -am to decompress the files on your Sun. The m2xenix
- > site is a sharfile. prep.ai.mit.edu in pub/gnu also normally has a
- > version of elvis. It may still be 1.5, however.
-
- > Version 1.7 is about to come out, so you might want to either do my
- > quick and dirty suggestion or get the 1.6 and just look at the
- > Makefile and adapt it to 1.4. The major changes from 1.4 to 1.6 that I
- > remember are (1) a ruler option which gives columns, (2) an
- > implementation of elvrec and elvprsv which really works.
-
- -----
- Bill Mitchell (mitchell@mdd.comm.mot.com) said...
-
- > Try adding the -dryrun option to that command line and observing the
- > results. They try it with "-o elvis" instead of "-oelvis".
-
- -----
- I downloaded Elvis 1.6 from m2xenix.psg.com ~/pub/elvis and it
- does indeed compile without problems. Thanks a lot for the help!
-
- Michael.
- --
- Michael O'Henly
- McPherson Library Internet: lux@sol.uvic.ca
- University of Victoria lux@uvvm.uvic.ca
- Victoria, B.C., Canada BITNET: lux@uvvm
-
-
-
-
-