> The first compilation of ghc-4.01 succeded - but I had given
> a wrong installation prefix directory.
>
> I ran configure again with the corrected prefix switch,
> followed by "gmake boot ; gmake all".
>
> Since the I get this error:
[..]
> GC.c:609: `DATA_SECTION_END_MARKER' undeclared (first use this function)
> GC.c:609: (Each undeclared identifier is reported only once
> GC.c:609: for each function it appears in.)
> GC.c:1102: `TEXT_SECTION_END_MARKER' undeclared (first use this function)
> GC.c:1320: warning: unused variable `info'
Aha! Me too... I've been getting this for a while, and thought I was the only one. I
too changed the prefix at some stage in the distant past, although I hadn't considered
that that could be the problem. Actually, for me those two are defined but the
corresponding DATA_SECTION_END_MARKER_DECL etc is not set up correctly, so I get `end'
undeclared and `etext' undeclared.
The generated mk/config.h contains:
/* Define as the symbol which marks the end of the data section */
#define DATA_SECTION_END_MARKER end
/* Define as the decl which terminates the data section */
/* #undef DATA_SECTION_END_MARKER_DECL */
which seems curious.
--KW 8-)
--KW 8-)
--
: Keith Wansbrough, MSc, BSc(Hons) (Auckland) ------------------------:
: PhD Student, Computer Laboratory, University of Cambridge, England. :
: (and recently of the University of Glasgow, Scotland. [><] ) :
: Native of Antipodean Auckland, New Zealand: 174d47' E, 36d55' S. :
: http://www.cl.cam.ac.uk/users/kw217/ mailto:[EMAIL PROTECTED] :
:---------------------------------------------------------------------: