[comp.unix.aix] Problems building GNU Emacs 18.55

gsh7w@astsun.astro.Virginia.EDU (Greg Hennessy) (11/15/90)

I have been trying to build GNU emacs 18.55 on a RS/6000 model 540
running AIX 3.1. I started with the version on prep.ai.mit.edu, and
also used the files on byron.u.washington.edu. However, when the
linking is tone to product the temacs file, the loader gives the
following error messages, which I do not understand. Can anyone
provide some help?

Thank you in advance.
Greg Hennessy


	make    -f xmakefile  all
	ld   -o temacs  dispnew.o scroll.o xdisp.o window.o 	term.o cm.o x11term.o x11fns.o 	emacs.o keyboard.o macros.o keymap.o sysdep.o 	buffer.o filelock.o insdel.o marker.o 	minibuf.o fileio.o dired.o filemode.o 	cmds.o casefiddle.o indent.o search.o regex.o undo.o 	alloc.o data.o doc.o editfns.o callint.o 	eval.o fns.o print.o lread.o 	abbrev.o syntax.o unexaix.o mocklisp.o bytecode.o 	process.o callproc.o  	doprnt.o terminfo.o lastfile.o   hftctl.o -lrts -lcurses -lX11    -lc
0706-221 WARNING:  Import version of 'PC' replaced by local definition.
0706-221 WARNING:  Import version of 'ospeed' replaced by local definition.
0706-221 WARNING:  Import version of 'setpriority' replaced by local definition.
0706-221 WARNING:  Import version of '.setpriority' replaced by local definition.
0706-221 WARNING:  Import version of 'rename' replaced by local definition.
0706-221 WARNING:  Import version of '.rename' replaced by local definition.
0706-221 WARNING:  Import version of 'sys_siglist' replaced by local definition.
0706-222 WARNING:  Import version of 'readv' replaced by import definition.
0706-222 WARNING:  Import version of '.readv' replaced by import definition.
0706-222 WARNING:  Import version of 'writev' replaced by import definition.
0706-222 WARNING:  Import version of '.writev' replaced by import definition.
0706-221 WARNING:  Import version of 'srandom' replaced by local definition.
0706-221 WARNING:  Import version of '.srandom' replaced by local definition.
0706-221 WARNING:  Import version of 'random' replaced by local definition.
0706-221 WARNING:  Import version of '.random' replaced by local definition.
0706-221 WARNING:  Import version of '_sobuf' replaced by local definition.
0706-244 ERROR: No entry point or export symbols were found
	 following garbage collection.
1254-004  The error code from the last failed command is 8.

Make Quitting.
1254-004  The error code from the last failed command is 1.

Make Quitting.
--
-Greg Hennessy, University of Virginia
 USPS Mail:     Astronomy Department, Charlottesville, VA 22903-2475 USA
 Internet:      gsh7w@virginia.edu  
 UUCP:		...!uunet!virginia!gsh7w

gsh7w@astsun.astro.Virginia.EDU (Greg Hennessy) (11/16/90)

Following up my own posting:
#I have been trying to build GNU emacs 18.55 on a RS/6000 model 540
#running AIX 3.1. I started with the version on prep.ai.mit.edu, and
#also used the files on byron.u.washington.edu. However, when the
#linking is tone to product the temacs file, the loader gives the
#following error messages, which I do not understand. Can anyone
#provide some help?

Brian Glendenning at NRAO pointed out that there was not a crt0.o file
in the files being linked. The m-aix-3.1.h file from
byron.u.washington.edu that I used had a "#define START_FILES" which
I changed to "#define START_FILES /lib/crt0.o". I also had to comment
out the line of "#define SYSTEM_MALLOC" becasue what seems to be a
logig bug in the GNU Makefile, which gave alloca as undefined symbol.
By making these two tweaks, I was able to get a running GNU emacs.

--
-Greg Hennessy, University of Virginia
 USPS Mail:     Astronomy Department, Charlottesville, VA 22903-2475 USA
 Internet:      gsh7w@virginia.edu  
 UUCP:		...!uunet!virginia!gsh7w

cs122ae@ux1.cso.uiuc.edu (11/16/90)

The easy way to get around the loader problem is to change 'ld' to 'cc'...
works like a charm.

Marc


Marc Andreessen___University of Illinois Materials Research Laboratory
__________________andreessen@uimrl7.mrl.uiuc.edu______________________

lusgr@vax1.cc.lehigh.edu (Steve Roseman) (11/19/90)

In article <1990Nov15.153841.8125@murdoch.acc.Virginia.EDU>, gsh7w@astsun.astro.Virginia.EDU (Greg Hennessy) writes:
> I have been trying to build GNU emacs 18.55 on a RS/6000 model 540
> running AIX 3.1. I started with the version on prep.ai.mit.edu, and
> also used the files on byron.u.washington.edu. However, when the
> linking is tone to product the temacs file, the loader gives the
> following error messages, which I do not understand. Can anyone
> provide some help?
> 
>......
>
> -Greg Hennessy, University of Virginia
>  USPS Mail:     Astronomy Department, Charlottesville, VA 22903-2475 USA
>  Internet:      gsh7w@virginia.edu  
>  UUCP:		...!uunet!virginia!gsh7w
-- 

I would like to clarify the situation about the files at byron.  Several people
in the past have said basically the same as the above - "I got the files but
it doesn't work."  The problem is that currently the files there are not
complete, YOU MUST READ AND FOLLOW "README-18.55".  The proper s- and m- files
are in there, as is a (backwards...) patch to Makefile.  I will accept part of
the blame since 1) I produced the Makfile.diff, and 2) I knew of the situation 
for a while and didn't get it corrected.  

I have sent Eliot Lim at Washington a replacement 'shar' file which he will
put up as individual files or as a shar file, but is complete and not confusing.
I have built GNU Emacs from this and a fresh 18.55 distribution.  (That's how
I found out the Makefile patch was wrong.)  The new files should be available
in a few days, when the system administrator for byron gets back to town.  Note
that there are no code changes to these files; if you have Emacs running you
don't need them.  If you are having troubles, get the README-18.55 and follow
it.  This is not meant to be a personal flame - I don't always read the READMEs
carefully either.

For some good news, I have working unexaix.c, revised by someone who will 
remain nameless until he is satisfied with its quality.  When he is done,
it will be made available, and his name published, so that the thanks may be
directed to the gentleman who put in a lot of work to make our RS/6000s run
a bit faster.  However, don't ask for it yet, wait a few more days.  If IBM can
preannounce things, why can't we?

Now, has anyone done the work on X-Windows?

Steve

-------------------------------------------------------------------------
Steve Roseman
Lehigh University Computing Center
LUSGR@VAX1.CC.Lehigh.EDU