🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189231

Re: Emacs 18.57 on a Convex with V8.1 "Unsatisfied external"

#189231
From: Mike McNamara
Date: Mon, 15 Apr 1991 18:20
48 lines
2797 bytes
In article <9104082240.AA22964@hpnmd.hp.com> darrylo@HPNMXX.HP.COM responds to
what some poor unfortuante writes:  
>  > I'm now trying to compile emacs 18.57
>  > following the suggestions in etc/MACHINES (use cc -pcc and s-bsd4-2.h,
>  > m-convex.h) and it barphs at ld time claiming that there is an
>  > unsatisfied external (mcount).  Grep shows NO reference to mcount in
>  > any of the code nor any of the included files!
>  
>       This may not be your problem, but "mcount" is typically a variable
>  used specifically when you tell the compiler to *add* code to profile
>  your program.  Look for a compiler option that turns on profiling (I
>  hope it's not on by default).
>  
>       You'll have to remove all .o and .a files and recompile.
>  
	A useful trick is the following shell script:
-------8<--- cut here and save as findo --------------
#! /bin/csh -f
foreach f(*.o)
	set g = `nm $f | grep $1`
	if ( "x$g" != "x") then
		echo $f :\t $g
	else
		echo $f 
	endif
end
-------8<--- cut here and save as findo --------------

cd to your build directory and type 
% findo mcount 		
and it will tell you which .o references mcount. You need only delete that
.o (or examine it to see what inline/weird stuff it brought in)

>       -- Darryl Okahata
>  	UUCP: {hplabs!, hpcea!, hpfcla!} hpnmd!darrylo
>  	Internet: darrylo%hpnmd@relay.hp.com
>  
>  DISCLAIMER: this message is the author's personal opinion and does not
>  constitute the support, opinion or policy of Hewlett-Packard or of the
>  little green men that have been following him all day.
>  

--
+-----------+-------------------------------------------------------------------+
|mac@kpc.com| Increasing Software complexity lets us sell Mainframes as         |
|           | personal computers. Carry on, X windows/Postscript/emacs/CASE!!   |
+-----------+-------------------------------------------------------------------+
Technical Details
Message-ID: <MAC.91Apr15112026@gold.kpc.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!sdd.hp.com!mips!kpc.com!ardent!mac
References: <RUSSO.91Apr6133800@cs.cs.columbia.edu> <9104082240.AA22964@hpnmd.hp.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,487c3463a8b20ea7
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-04-15 23:24:39 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!sdd.hp.com!mips!kpc.com!ardent!mac
From: mac@gold.kpc.com (Mike McNamara)
Newsgroups: gnu.emacs.help
Subject: Re: Emacs 18.57 on a Convex with V8.1 "Unsatisfied external"
Message-ID: <MAC.91Apr15112026@gold.kpc.com>
Date: 15 Apr 91 18:20:26 GMT
References: <RUSSO.91Apr6133800@cs.cs.columbia.edu>
 <9104082240.AA22964@hpnmd.hp.com>
Sender: uucp@kpc.com (UNIX-to-UNIX Copy)
Reply-To: mac@kpc.com
Followup-To: gnu.emacs.help
Organization: Kubota Pacific Computer Incoporated, Sanata Clara, CA
Lines: 48
In-Reply-To: darrylo@HPNMXX.HP.COM's message of 8 Apr 91 22:33:06 GMT
Nntp-Posting-Host: gold