From xemacs-m  Tue Jul 29 07:04:20 1997
Received: from bcarsde4.localhost (mailgate.nortel.ca [192.58.194.74])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id HAA29133
	for <xemacs-beta@xemacs.org>; Tue, 29 Jul 1997 07:04:16 -0500 (CDT)
Received: from bcarsde5.ott.bnr.ca (actually 47.80.6.26) by bcarsde4.localhost;
          Tue, 29 Jul 1997 07:54:28 -0400
Received: from nquah6f (actually nquah6f.ott.bnr.ca) by bcarsde5.ott.bnr.ca;
          Tue, 29 Jul 1997 08:02:39 -0400
Received: by nquah6f (1.38.193.4/16.2 BNR V4.2 P1) id AA24348;
          Tue, 29 Jul 1997 08:01:37 -0400
From: "Barry Friedman" <friedman@nortel.ca>
Message-Id: <9707291201.AA24348@nquah6f>
Subject: Re: XEmacs + HP + cc + alloca broken.
To: cognot@ensg.u-nancy.fr
Date: Tue, 29 Jul 1997 08:01:37 -0400 (EDT)
Cc: xemacs-beta@xemacs.org
Reply-To: "Barry Friedman" <friedman@nortel.ca>
In-Reply-To: <9707291148.AA24271@nquah6f> from "Richard Cognot" at Jul 29, 97 07:47:30 am
X-Mailer: ELM [version 2.4.1 PL23]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Just to clarify -- the problem which started all of this was 
that compiles on hpux 9 with cc have failed since the new 
configure was implemented.  The make would croak in lib-src
due to undefined symbol "xmalloc".  I found that adding -lPW
in the makefile for *lib-src only* made the build succeed.  
Martin's patch added -lPW into the makefile for *all directories*

Barry

Richard Cognot wrote:
> 
> 
> >>>>> "Barry" == Barry Friedman <friedman@nortel.ca> writes:
> 
>     Barry> The problem is only with hpux 9.0x with the c89 compiler
>     Barry> (cc) and -lPW is only necessary in the lib-src directory.
>     Barry> Can a fix be made which addresses this?
> 
> It's a bit worse than that actually: if I link with -lPW on 10.20, I
> get an unresolved symbol (Error, I think).
> 
> So, -lPW should *not* be used on 10.20. Don't know about the others
> though...
> 
> BTW, how was this solved before? -lPW wasn't in the link line until
> very recently...
> 
> Richard.
> 
> -- 
> |-------------------------------------------------------------|
> | Richard Cognot           | Proceed, with fingers crossed... |
> |                          |           /\^^/\                 |
> | <cognot@ensg.u-nancy.fr> |             `'                   |
> |-------------------------------------------------------------|
> | http://www.ensg.u-nancy.fr/~cognot                          |
> |-------------------------------------------------------------|
> 


