emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Recent changes to regex.c break bootstrapping


From: Jan D.
Subject: Re: Recent changes to regex.c break bootstrapping
Date: Mon, 20 Feb 2006 08:47:00 +0100
User-agent: Thunderbird 1.5 (X11/20051201)



Luc Teirlinck wrote:
After bootstrapping failed due to an undefined reference to xalloc, I
made the obvious correction to xmalloc and installed in CVS, but after
that bootstrapping still fails with:

regex.o: In function `extend_range_table_work_area':
/home/teirllm/emacscvsdir/emacs/lib-src/../src/regex.c:2069: undefined
reference to `xrealloc'
/home/teirllm/emacscvsdir/emacs/lib-src/../src/regex.c:2072: undefined
reference to `xmalloc'
regex.o: In function `regcomp':
/home/teirllm/emacscvsdir/emacs/lib-src/../src/regex.c:6295: undefined
reference to `xmalloc'
/home/teirllm/emacscvsdir/emacs/lib-src/../src/regex.c:6301: undefined
reference to `xmalloc'
collect2: ld returned 1 exit status
make[3]: *** [etags] Error 1
make[3]: Leaving directory `/home/teirllm/emacscvsdir/emacs/lib-src'
make[2]: *** [lib-src] Error 2
make[2]: Leaving directory `/home/teirllm/emacscvsdir/emacs'
make[1]: *** [bootstrap-build] Error 2
make[1]: Leaving directory `/home/teirllm/emacscvsdir/emacs'
make: *** [bootstrap] Error 2

lisp.h is, at least conditionally, already included in regex.c

No, it is only included if emacs is #define:d (-Demacs), and it is not when compiling from lib-src. But what are we trying to do, use xrealloc or define xrealloc as realloc?

In the first case alloc.c needs to be linked in also, or perhaps xrealloc/xmalloc defined in regex.c also (as it is in termcap.s for example).

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]