[comp.unix.aix] Problem getting GNU Emacs compiled on RS/6000

mroz@eplrx7.uucp (Peter Mroz) (09/02/90)

I'm having a problem trying to compile gnu emacs on an IBM 530 RISC/6000.
I got the proper config files and version of unexaix, but when I make it
I get the following errors.  Any hints?  Thanks greatly.  I'm in desperate
need of an emacs fix on this beast.  I'm even (gasp) getting into vi...

$ 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.



-- 
    Peter Mroz                    |    E.I. Du Pont de Nemours & Co.
    eplrx7!mroz@uunet.uu.net      |    Consultant, Scicon
    mrozpa%wmvx@dupont.com        |    DuPont Building, D4078
                                  |    Wilmington, DE 19898
--
The UUCP Mailer

garnett@cs.utexas.edu (John William Garnett) (09/04/90)

In article <1990Sep2.040738.10188@eplrx7.uucp> mroz@eplrx7.uucp (Peter Mroz) writes:
>I'm having a problem trying to compile gnu emacs on an IBM 530 RISC/6000.
[some comments deleted]
>$ make -f xmakefile all
>ld -o temacs dispnew.o scroll.o xdisp.o window.o term.o cm.o
[several lines of object module names removed here]
>0706-221 WARNING:  Import version of 'PC' replaced by local definition.
>0706-221 WARNING:  Import version of 'ospeed' replaced by local definition.
[numerous warnings removed here]


The solution to this problem is to use cc instead of ld.  I'm not sure why
this is so, but it did solve the problem for me.  Just replace all instances
of ld in the makefile with cc.




-- 
John Garnett
                              University of Texas at Austin
garnett@cs.utexas.edu         Department of Computer Science
                              Austin, Texas