On 1/24/14, 4:16 PM, Linda Walsh wrote:
> Trying to build,
> 
> Get undefined reference to `sh_xfree' In function `write_helpfiles'.
> 
> Anyone run into this... was it a mistake to try for separate help
> files?

Thanks for the report.  It's a simple patch, so I've attached it.

> Also of note, a parallel make often fails ...
> 
> Should I assume that the bash-make isn't multi-process safe? Or
> is that unintentional?

It's just a missing dependency.  I wonder why I haven't run into this
before; I run `gmake -j 4' to build bash on every system I use.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/
*** ../bash-4.3-rc1/builtins/gen-helpfiles.c	2012-02-05 16:26:23.000000000 -0500
--- builtins/gen-helpfiles.c	2014-01-25 16:26:36.000000000 -0500
***************
*** 60,63 ****
--- 60,71 ----
  #include "tmpbuiltins.h"
  
+ #if defined (USING_BASH_MALLOC)
+ #undef xmalloc
+ #undef xrealloc
+ #undef xfree
+ 
+ #undef free		/* defined in xmalloc.h */
+ #endif
+ 
  #ifndef errno
  extern int errno;

Reply via email to