Article View: gnu.epoch.misc
Article #276Re: Problems building Epoch V4.2 on Sun4 (SunOS 4.1.1) with gcc 2.1
From: Mr. A.D. McGregor
Date: Tue, 29 Sep 1992 22:02
Date: Tue, 29 Sep 1992 22:02
44 lines
2771 bytes
2771 bytes
In article <9209291007.PN02275@LL.MIT.EDU>, lebrun@ll.mit.edu (Steven F. LeBrun) writes: > I am attempting to build epoch 4.2 (patch level 0) on a SUN 4/370, running > SunOS 4.1.1, using gcc verions 2.1. Everything appears to run find during > the make until I reach the point where make runs temacs. At this point, > temacs aborts and the make fails. The following is the output from make > at the point where it fails: > > ./temacs -batch -l ../epoch-lisp/inc-vers > *** Segmentation fault - core dumped > make: Fatal error: Command failed for target `epoch' > Current working directory /temp/gnu/epoch-4.2/src > *** Error code 1 > make: Fatal error: Command failed for target `doall' > Current working directory /temp/gnu/epoch-4.2/src > *** Error code 1 > make: Fatal error: Command failed for target `src' > > I would appreciate any suggestions on how to get Epoch running on a > Sun 4/370. Are there patches that I should have applied? > > An example of the options used for gcc: > > gcc -O -traditional -g -Demacs -I/usr/openwin/include > -target sun4 -c malloc.c > This problem seems to be related to gcc versions later than about 2.0. If you look at the link command for temacs it will probably end with -lc -lgcc. That should read -lgcc -lc, and you may need a -L option to point ld at the gcc libraries. Maybe the distribution should be sorted out for gcc 2.x ? > +--------------------------------------------------------------------------+ > | Steven F. LeBrun | MIT Lincoln Laboratory, Group 91 | > | | 244 Wood Street, Room LI-136 | > | lebrun@ll.mit.edu (Internet) | Lexington, MA 02173-9108 | > | lebruns@merlin (internal) | Phone:(617)-981-5742, FAX:(617)-981-0991 | > +--------------------------------------------------------------------------+ > |"Hard as lightning, soft as candlelight; | > | Dare you trust the Music of the Night?" - The Phantom | > +--------------------------------------------------------------------------+ Andrew McGregor Physics, University of Canterbury, Christchurch, New Zealand
Technical Details
Message-ID:
<BvD17p.3sw@cantua.canterbury.ac.nz>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!wupost!waikato.ac.nz!canterbury.ac.nz!cantua!phys229References:
<9209291007.PN02275@LL.MIT.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!wupost!waikato.ac.nz!canterbury.ac.nz!cantua!phys229 Newsgroups: gnu.epoch.misc Subject: Re: Problems building Epoch V4.2 on Sun4 (SunOS 4.1.1) with gcc 2.1 Message-ID: <BvD17p.3sw@cantua.canterbury.ac.nz> From: phys229@cantua.canterbury.ac.nz (Mr. A.D. McGregor) Date: Tue, 29 Sep 1992 22:02:13 GMT References: <9209291007.PN02275@LL.MIT.EDU> Distribution: gnu Organization: University of Canterbury, Christchurch, New Zealand. Nntp-Posting-Host: cantua.canterbury.ac.nz Lines: 45