[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile problem with gmake
From: |
Paul Smith |
Subject: |
Re: compile problem with gmake |
Date: |
Tue, 09 Dec 2014 14:04:38 -0500 |
On Tue, 2014-12-09 at 07:51 -0800, Paul Zhou wrote:
> I am working on install the gmake on HP tandem OSS system, and after I
> run make I got this error.
> names = alloca (state.n * sizeof (const char *));
> ^
> "/users/pauls/make-4.1/ar.c", line 311: error(611): a value of type "char *"
> cannot be assigned to an entity of type "const char **"
Hm. That's not good. This means that the return type of the alloca()
function on your system is defined to be "char*", when GNU make code
expects it to return type "void*".
Hm.
Can you try editing the makeint.h header file in the make source
directory and changing the line:
char *alloca ();
to say:
void *alloca ();
and see if that helps?