[comp.emacs] Problem building GNU emacs 18.51.

rgr@m10ux.UUCP (Duke Robillard) (11/13/88)

I'm not sure that this is an emacs problem or not, but when
I try to build GNU emacs 18.51 on some of our suns here, I
get 

Undefined:
f68881_used
*** Error code 1

Stop.
*** Error code 1

Stop.

Could somebody tell me what I've messed up?  thanks.

-- 
|       Duke Robillard           UUCP:     {backbone!}att!m10ux!rgr  |
|       AT&T Bell Labs           ARPA:     rgr@m10ux.att.com         |
|       Murray Hill, NJ          or maybe: m10ux!rgr@att.att.com     |
|                                BITNET:   rgr%m10ux.att.com@cunyvm  |

aslam@m.cs.uiuc.edu (11/14/88)

You may compiled the sources with the cc -f68881 option set either via
CFLAGS or `setenv FLOAT_OPTION f68881'. The `ld' command in GNU's
makefile does not load the libraries needed for the 68881 chip. You
can either compile without the f68881 option or find out the libraries
loaded via `cc -v -f688881 foo.c'. I think the -v option tells to cc prints
out the commands it executes. foo.c is any old junk file.

Sohail Aslam
Department of Computer Science
University of Illinois
arpa		aslam@cs.uiuc.edu
usenet		uiucdcs!aslam
bitnet		aslam@uiucdcs.BITNET

steiner@topaz.rutgers.edu (Dave Steiner) (11/17/88)

If you just moved to 4.0, f68881_used used to be defined but is no
more.  When I had this problem, it was becuase NeWS wanted it, not
emacs itself.  I added the following when I used NeWS:

----------
	.proc
	.globl	f68881_used
f68881_used:
	.data
----------

Ie, put this in f68881_used.s and use it when you use the NeWS
support.

ds
-- 

arpa: Steiner@TOPAZ.RUTGERS.EDU
uucp: ...{ames, cbosgd, harvard, moss}!rutgers!topaz.rutgers.edu!steiner

rgr@m10ux.UUCP (Duke Robillard) (11/18/88)

Thanks to everyone who helped with my f68881_used: problem.  I've tried
to answer all you guys through mail, but you know how that is.

In case anyone else is waiting for the correct answer:
the problem was that I had FLOAT_OPTION set to f68881, and Emacs's
ld does include the correct library for that.  To fix this, one can
either make FLOAT_OPTION equal fsoft or change the STARTFILES macro
in Emacs makefile to be STARTFILES = crt0.1 /usr/lib/Mcrt1.o.  I did
the first cause it's so much easier.

-- 
|  Duke Robillard                  |                                     |
|                                                                        |
|  ARPA:     rgr@m10ux.att.com     |  UUCP:     {backbone!}att!m10ux!rgr |
|  or maybe: m10ux!rgr@att.att.com | BITNET:   rgr%m10ux.att.com@cunyvm  |